Searched refs:part0 (Results 1 - 9 of 9) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | genhd.h | 19 #define dev_to_disk(device) container_of((device), struct gendisk, part0.__dev) 21 #define disk_to_dev(disk) (&(disk)->part0.__dev) 153 struct hd_struct part0; member in struct:gendisk 315 __part_stat_add((cpu), &part_to_disk((part))->part0, \ 330 part_to_disk(part)->part0.in_flight[rw]++; 337 part_to_disk(part)->part0.in_flight[rw]--; 360 return disk->part0.policy; 373 return disk->part0.nr_sects; 377 disk->part0.nr_sects = size;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/block/ |
H A D | genhd.c | 207 * Found partition on success, part0 is returned if no partition matches 229 return &disk->part0; 513 /* minors == 0 indicates to use ext devt from part0 and should 522 retval = blk_alloc_devt(&disk->part0, &devt); 654 bool is_part0 = part == &disk->part0; 999 free_part_stats(&disk->part0); 1164 if (!init_part_stats(&disk->part0)) { 1170 free_part_stats(&disk->part0); 1174 disk->part_tbl->part[0] = &disk->part0; 1239 if (disk->part0 [all...] |
H A D | blk-core.c | 1091 part_round_stats_single(cpu, &part_to_disk(part)->part0, now); 1372 if (part_to_disk(part)->part0.make_it_fail || part->make_it_fail) 1688 if (rq->rq_disk && rq->rq_disk->part0.make_it_fail &&
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/partitions/ |
H A D | check.c | 524 disk->part0.holder_dir = kobject_create_and_add("holders", &ddev->kobj); 734 part_stat_set_all(&disk->part0, 0); 735 disk->part0.stamp = 0; 737 kobject_put(disk->part0.holder_dir);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/block/drbd/ |
H A D | drbd_req.c | 40 part_stat_inc(cpu, &mdev->vdisk->part0, ios[rw]); 41 part_stat_add(cpu, &mdev->vdisk->part0, sectors[rw], bio_sectors(bio)); 42 part_inc_in_flight(&mdev->vdisk->part0, rw); 53 part_stat_add(cpu, &mdev->vdisk->part0, ticks[rw], duration); 54 part_round_stats(cpu, &mdev->vdisk->part0); 55 part_dec_in_flight(&mdev->vdisk->part0, rw);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/ |
H A D | dm.c | 495 part_round_stats(cpu, &dm_disk(md)->part0); 497 dm_disk(md)->part0.in_flight[rw] = atomic_inc_return(&md->pending[rw]); 509 part_round_stats(cpu, &dm_disk(md)->part0); 510 part_stat_add(cpu, &dm_disk(md)->part0, ticks[rw], duration); 517 dm_disk(md)->part0.in_flight[rw] = pending = 1490 part_stat_inc(cpu, &dm_disk(md)->part0, ios[rw]); 1491 part_stat_add(cpu, &dm_disk(md)->part0, sectors[rw], bio_sectors(bio));
|
H A D | md.c | 256 part_stat_inc(cpu, &mddev->gendisk->part0, ios[rw]); 257 part_stat_add(cpu, &mddev->gendisk->part0, sectors[rw], sectors); 6510 curr_events = (int)part_stat_read(&disk->part0, sectors[0]) + 6511 (int)part_stat_read(&disk->part0, sectors[1]) -
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb4vf/ |
H A D | sge.c | 927 unsigned int part0 = (u8 *)tq->stat - (u8 *)sgl->sge, part1; local 929 if (likely(part0)) 930 memcpy(sgl->sge, buf, part0); 932 memcpy(tq->desc, (u8 *)buf + part0, part1);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb4/ |
H A D | sge.c | 743 unsigned int part0 = (u8 *)q->stat - (u8 *)sgl->sge, part1; local 745 if (likely(part0)) 746 memcpy(sgl->sge, buf, part0); 748 memcpy(q->desc, (u8 *)buf + part0, part1);
|
Completed in 203 milliseconds