Searched refs:sector (Results 1 - 25 of 131) sorted by path

123456

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dpsxstr.c70 uint8_t *sector= p->buf; local
79 sector += RIFF_HEADER_SIZE;
83 if (memcmp(sector,sync_header,sizeof(sync_header)))
86 if(sector[0x11] >= 32)
88 if( (sector[0x12] & CDXA_TYPE_MASK) != CDXA_TYPE_VIDEO
89 && (sector[0x12] & CDXA_TYPE_MASK) != CDXA_TYPE_AUDIO
90 && (sector[0x12] & CDXA_TYPE_MASK) != CDXA_TYPE_DATA)
103 unsigned char sector[RAW_CD_SECTOR_SIZE]; local
108 if (get_buffer(pb, sector, RIFF_HEADER_SIZE) != RIFF_HEADER_SIZE)
110 if (AV_RL32(&sector[
132 unsigned char sector[RAW_CD_SECTOR_SIZE]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Ddevices.h95 int sector))
97 request->cmd[4] = sector;
98 request->cmd[6] = sector-1;
94 UNUSED(static __inline__ void RR_SETSECTOR(struct floppy_raw_cmd *request, int sector)) argument
H A Dfat.c100 static __inline__ int fatReadSector(Fs_t *This, int sector, int slot, argument
118 fat_start+sector,
124 /* if we got less than one sector's worth, insist to get at
125 * least one sector */
129 fat_start+sector, 1);
139 static int fatWriteSector(Fs_t *This, int sector, int slot, int bit, int dupe) argument
152 fat_start+sector, 1);
156 unsigned int sector, fatAccessMode_t mode,
161 if(locate(This,sector, &slot, &bit) < 0)
168 fprintf(stderr, "sector
155 loadSector(Fs_t *This, unsigned int sector, fatAccessMode_t mode, int recurs) argument
234 int sector; local
[all...]
H A Dmpartition.c44 (sector(x)-1+(head(x)+cyl(x)*used_dev->heads)*used_dev->sectors)
50 head(*h), sector(*h), cyl(*h));
55 int head, sector, cyl; local
58 head = sector = cyl = 0; /* linear mode */
60 sector = offset % sectors;
69 h->sector = ((sector+1) & 0x3f) | ((cyl & 0x300)>>2);
116 used_dev->sectors != sector(partTable[i].end))) ||
117 sector(partTable[i].start) != 1){
201 * head-cylinder-sector requirement
[all...]
H A Dmtools.h117 int track, int head, int sector, int size, /* address */
H A Dpartition.h21 unsigned char sector; /* starting sector */ member in struct:hsc
26 #define sector(x) ((unsigned int)((x).sector & 0x3f)) macro
27 #define cyl(x) ((unsigned int)((x).cyl | (((x).sector & 0xc0)<<2)))
36 unsigned char start_sect[4]; /* starting sector counting from 0 */
49 int heads, int sector, int activate, int type);
H A Dplain_io.c328 /* 512,1024,2048,... bytes/sector supported */
354 * sector size is (hopefully!) equal to the physical one
696 /* read the first sector, or part of it */
726 dev->sectors = sector(partTable[dev->partition].end);
732 sector(partTable[dev->partition].start)-1;
H A Dxdf_io.c76 unsigned char sector; member in struct:__anon1217
117 unsigned char sector; member in struct:__anon1218
189 REC.head, REC.sector, REC.sizecode,
205 compactify->sector +1 == REC.sector) {
217 RR_SETSECTOR(request+(*nr), REC.sector);
226 compactify->sector = REC.sector;
373 static int fill_t0(Xdf_t *This, int ptr, int size, int *sector, int *head) argument
379 REC.sector
440 int sector, head; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v10/boot/rescue/
H A Dhead.S5 * table at the first sector after the rescue sector.
69 ;; The partitiontable is looked for at the first sector after the boot
70 ;; sector. Sector size is 65536 bytes in all flashes we use.
132 ;; without erasing/reflashing the sector. we put a longword of -1 here and if
134 ;; change 1's to 0's without erasing the sector, it is possible to add new
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/boot/
H A Dedd.S108 # Read the first sector of each BIOS disk device and store the 4-byte signature
117 movb $1, %al # read 1 sector
119 movw $1, %cx # cylinder 0, sector 0
210 andb $0x3F, %al # sector number
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/drivers/
H A Dubd_kern.c995 __u64 sector = io_offset >> 9; local
1001 if(ubd_test_bit(sector + i, (unsigned char *) bitmap))
1005 ubd_set_bit(sector + i, (unsigned char *) bitmap);
1011 *cow_offset = sector / (sizeof(unsigned long) * 8);
1032 __u64 sector = req->offset >> 9; local
1040 if(ubd_test_bit(sector + i, (unsigned char *) bitmap))
1112 (unsigned long long) req->sector << 9,
1126 req->sector += sg->length >> 9;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/block/
H A Das-iosched.c296 s1 = rq1->sector;
297 s2 = rq2->sector;
553 if (aic->last_request_pos < rq->sector)
554 seek_dist = rq->sector - aic->last_request_pos;
556 seek_dist = aic->last_request_pos - rq->sector;
559 aic->last_request_pos = rq->sector + rq->nr_sectors;
574 sector_t next = rq->sector;
943 ad->last_sector[data_dir] = rq->sector + rq->nr_sectors;
H A Dblktrace.c79 static int act_log_check(struct blk_trace *bt, u32 what, sector_t sector, argument
84 if (sector < bt->start_lba || sector > bt->end_lba)
119 void __blk_add_trace(struct blk_trace *bt, sector_t sector, int bytes, argument
139 if (unlikely(act_log_check(bt, what, sector, pid)))
163 t->sector = sector;
H A Dcfq-iosched.c316 s1 = rq1->sector;
317 s2 = rq2->sector;
617 sector_t sector = bio->bi_sector + bio_sectors(bio); local
619 return elv_rb_find(&cfqq->sort_list, sector);
839 if (rq->sector >= cfqd->last_position)
840 return rq->sector - cfqd->last_position;
842 return cfqd->last_position - rq->sector;
1571 if (cic->last_request_pos < rq->sector)
1572 sdist = rq->sector - cic->last_request_pos;
1574 sdist = cic->last_request_pos - rq->sector;
[all...]
H A Ddeadline-iosched.c128 sector_t sector = bio->bi_sector + bio_sectors(bio); local
130 __rq = elv_rb_find(&dd->sort_list[bio_data_dir(bio)], sector);
132 BUG_ON(sector != __rq->sector);
209 dd->last_sector = rq->sector + rq->nr_sectors;
258 if (dd->last_sector != rq->sector)
H A Delevator.c50 #define rq_hash_key(rq) ((rq)->sector + (rq)->nr_sectors)
103 if (__rq->sector + __rq->nr_sectors == bio->bi_sector)
105 else if (__rq->sector - bio_sectors(bio) == bio->bi_sector)
349 if (rq->sector < __rq->sector)
351 else if (rq->sector > __rq->sector)
373 struct request *elv_rb_find(struct rb_root *root, sector_t sector) argument
381 if (sector < rq->sector)
[all...]
H A Dll_rw_blk.c719 * blk_queue_hardsect_size - set hardware sector size for the queue
721 * @size: the hardware sector size, in bytes
724 * This should typically be set to the lowest possible sector size
1197 printk("\nsector %llu, nr/cnr %lu/%u\n", (unsigned long long)rq->sector,
2655 * @error_sector: error sector
2823 if (req->sector + req->nr_sectors != next->sector)
2834 * will have updated segment counts, update sector
2909 req->hard_sector = req->sector = bio->bi_sector;
2987 req->sector
3145 sector_t sector = bio->bi_sector; local
3214 sector_t sector = bio->bi_sector; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acorn/block/
H A Dfd1772.c58 * 13/ 1/96 - Well I think its read a single sector; but there is a problem
632 /* read next sector */
638 req->sector += req->current_nr_sectors;
789 /*DPRINT(("fd_rwsec() before start sector \n")); */
790 /* Start sector of this operation */
815 set_dma_count(FLOPPY_DMA, 512); /* Block/sector size - going to have to change */
847 * search for the first non-existant sector and need 1 sec to
950 * searched for a non-existant sector!
981 printk("fd%d: sector %d not found (side %d, track %d)\n",
986 printk("fd%d: CRC error (side %d, track %d, sector
[all...]
H A Dmfmhd.c198 static int Copy_Sector; /* The 256 byte sector we are currently at - fragments need to know
222 unsigned int sector; member in struct:rawcmd
477 DBG("mfm: end_request for CURRENT=0x%p CURRENT(sector=%d current_nr_sectors=%d nr_sectors=%d)\n",
478 CURRENT, CURRENT->sector, CURRENT->current_nr_sectors, CURRENT->nr_sectors);
481 CURRENT->sector += CURRENT->current_nr_sectors;
490 /* These should match the present calculations of the next logical sector
492 Copy_Sector=CURRENT->sector*2; */
494 if (Copy_Sector != CURRENT->sector * 2)
496 /*console_printf*/printk("mfm: Copy_Sector mismatch. Copy_Sector=%d CURRENT->sector*2=%d\n",
497 Copy_Sector, CURRENT->sector *
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/
H A DDAC960.c3334 Command->BlockNumber = Request->sector;
3421 * Resubmitting the request sector at a time is really tedious.
3427 Command->BlockNumber = Request->sector;
H A Dacsi.c84 #define MAX_ERRORS 8 /* Max read/write errors/sector */
707 printk( " for sector %d",
912 CURRENT->sector += CurrentNSect;
921 CURRENT->sector += n;
974 block = CURRENT->sector;
H A Damiflop.c16 * - currently only 9 and 18 sector disks
732 printk (KERN_INFO "can't find sync for sector %d\n", scnt);
1049 "track %d, unit %d for sector %d\n",
1086 printk(KERN_INFO "dos_read: unknown sector len "
1095 "%d, unit %d for sector%d, disk sector %d\n",
1337 unsigned int cnt, block, track, sector; local
1355 printk("fd: sector %ld + %d requested for %s\n",
1356 CURRENT->sector,cnt,
1359 block = CURRENT->sector
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/aoe/
H A Daoe.h111 sector_t sector; member in struct:buf
H A Daoeblk.c149 buf->sector = bio->bi_sector;
H A Daoecmd.c107 register sector_t sector; local
115 sector = buf->sector;
131 f->lba = sector;
135 put_lba(ah, sector);
162 buf->sector += bcnt >> 9;

Completed in 198 milliseconds

123456