Fork me on GitHub
head              324 drivers/block/floppy.c static int fdc_seek(int track, int head)
head              345 drivers/block/floppy.c 	fdc_out((head << 2) | current_fdd);
head              440 drivers/block/floppy.c static int fdc_block2chs(__blk_t block, int blksize, int *cyl, int *head, int *sector)
head              445 drivers/block/floppy.c 	*head = ((block * spb) % (current_fdd_type->spt * current_fdd_type->heads)) / current_fdd_type->spt;
head              448 drivers/block/floppy.c 	if(*cyl >= current_fdd_type->tracks || *head >= current_fdd_type->heads || *sector > current_fdd_type->spt) {
head              528 drivers/block/floppy.c 	int cyl, head, sector;
head              549 drivers/block/floppy.c 	if(fdc_block2chs(block, blksize, &cyl, &head, &sector)) {
head              565 drivers/block/floppy.c 		if(fdc_seek(cyl, head)) {
head              575 drivers/block/floppy.c 		fdc_out((head << 2) | current_fdd);
head              577 drivers/block/floppy.c 		fdc_out(head);
head              611 drivers/block/floppy.c 		printk("\tblock=%d, sector=%d, cylinder/head=%d/%d\n", block, sector, cyl, head);
head              619 drivers/block/floppy.c 	sectors_read += (fdc_results[ST_HEAD] - head) * current_fdd_type->spt;
head              623 drivers/block/floppy.c 		printk("\tblock=%d, sector=%d, cylinder/head=%d/%d\n", block, sector, cyl, head);
head              639 drivers/block/floppy.c 	int cyl, head, sector;
head              660 drivers/block/floppy.c 	if(fdc_block2chs(block, blksize, &cyl, &head, &sector)) {
head              676 drivers/block/floppy.c 		if(fdc_seek(cyl, head)) {
head              687 drivers/block/floppy.c 		fdc_out((head << 2) | current_fdd);
head              689 drivers/block/floppy.c 		fdc_out(head);
head              728 drivers/block/floppy.c 		printk("\tblock=%d, sector=%d, cylinder/head=%d/%d\n", block, sector, cyl, head);
head              736 drivers/block/floppy.c 	sectors_written += (fdc_results[ST_HEAD] - head) * current_fdd_type->spt;
head              740 drivers/block/floppy.c 		printk("\tblock=%d, sector=%d, cylinder/head=%d/%d\n", block, sector, cyl, head);
head              108 drivers/block/ide_hd.c static void sector2chs(__off_t offset, int *cyl, int *head, int *sector, struct ide_drv_ident *ident)
head              111 drivers/block/ide_hd.c 	*head = (offset / ident->logic_spt) % ident->logic_heads;
head              132 drivers/block/ide_hd.c 	int cyl, head, sector;
head              181 drivers/block/ide_hd.c 			sector2chs(offset, &cyl, &head, &sector, ident);
head              185 drivers/block/ide_hd.c 			if(ide_drvsel(ide, drive, IDE_CHS_MODE, head)) {
head              260 drivers/block/ide_hd.c 	int cyl, head, sector;
head              309 drivers/block/ide_hd.c 			sector2chs(offset, &cyl, &head, &sector, ident);
head              313 drivers/block/ide_hd.c 			if(ide_drvsel(ide, drive, IDE_CHS_MODE, head)) {
head              946 drivers/char/console.c 	cb = tty->cooked_q.head;
head              210 drivers/char/serial.c 	cb = tty->cooked_q.head;
head              353 drivers/char/tty.c 				cb = tty->cooked_q.head;
head               65 drivers/char/tty_queue.c 	if(!q->head) {
head               66 drivers/char/tty_queue.c 		q->head = q->tail = cb;
head               69 drivers/char/tty_queue.c 		cb->next = q->head;
head               70 drivers/char/tty_queue.c 		q->head->prev = cb;
head               71 drivers/char/tty_queue.c 		q->head = cb;
head               94 drivers/char/tty_queue.c 		q->head = q->tail = cb;
head              108 drivers/char/tty_queue.c 	if(!q->head) {
head              112 drivers/char/tty_queue.c 	tmp = q->head;
head              113 drivers/char/tty_queue.c 	if(q->head == q->tail) {
head              114 drivers/char/tty_queue.c 		q->head = q->tail = NULL;
head              116 drivers/char/tty_queue.c 		q->head = q->head->next;
head              117 drivers/char/tty_queue.c 		q->head->prev = NULL;
head              134 drivers/char/tty_queue.c 	if(q->head == q->tail) {
head              135 drivers/char/tty_queue.c 		q->head = q->tail = NULL;
head              213 drivers/char/tty_queue.c 	cb = q->head;
head              235 drivers/char/tty_queue.c 	while(q->head != NULL) {
head               25 include/fiwix/part.h 	unsigned char head;
head               30 include/fiwix/tty.h 	struct cblock *head;