Searched defs:part (Results 1 - 13 of 13) sorted by relevance

/block/partitions/
H A Datari.h30 struct partition_info part[4]; member in struct:rootsector
H A Dmac.c15 extern void note_bootable_part(dev_t dev, int part, int goodness);
40 struct mac_partition *part; local
56 part = (struct mac_partition *) (data + secsize%512);
57 if (be16_to_cpu(part->signature) != MAC_PARTITION_MAGIC) {
61 blocks_in_map = be32_to_cpu(part->map_count);
77 part = (struct mac_partition *) (data + pos%512);
78 if (be16_to_cpu(part->signature) != MAC_PARTITION_MAGIC)
81 be32_to_cpu(part->start_block) * (secsize/512),
82 be32_to_cpu(part->block_count) * (secsize/512));
84 if (!strncasecmp(part
[all...]
H A Damiga.c34 int start_sect, nr_sects, blk, part, res = 0; local
83 for (part = 1; blk>0 && part<=16; part++, put_dev_sector(sect)) {
H A Dacorn.c71 struct riscix_part part[8]; member in struct:riscix_record
92 int part; local
97 for (part = 0; part < 8; part++) {
98 if (rr->part[part].one &&
99 memcmp(rr->part[part].name, "All\0", 4)) {
101 le32_to_cpu(rr->part[par
[all...]
H A Defi.c145 * the part[0] entry for this disk, and is the number of
156 static inline int pmbr_part_valid(gpt_mbr_record *part) argument
158 if (part->os_type != EFI_PMBR_OSTYPE_EFI_GPT)
162 if (le32_to_cpu(part->starting_lba) != GPT_PRIMARY_PARTITION_TABLE_LBA)
191 int i, part = 0, ret = 0; /* invalid by default */ local
199 part = i;
231 sz = le32_to_cpu(mbr->partition_record[part].size_in_lba);
H A Dldm.h195 struct vblk_part part; member in union:vblk::__anon9
H A Dldm.c82 /* high part */
87 /* low part */
642 struct vblk_part *part; local
658 part = &vb->vblk.part;
660 if (part->disk_id != disk->obj_id)
664 part->start, part->size);
1000 struct vblk_part *part; local
1049 part
[all...]
/block/
H A Dblk-merge.c51 * never considered part of another segment, since
462 struct hd_struct *part; local
466 part = req->part;
468 part_round_stats(cpu, part);
469 part_dec_in_flight(part, rq_data_dir(req));
471 hd_struct_put(part);
H A Dioctl.c16 struct hd_struct *part, *lpart; local
53 while ((part = disk_part_iter_next(&piter))) {
54 if (!(start + length <= part->start_sect ||
55 start >= part->start_sect + part->nr_sects)) {
64 part = add_partition(disk, partno, start, length,
67 return PTR_ERR_OR_ZERO(part);
69 part = disk_get_part(disk, partno);
70 if (!part)
73 bdevp = bdget(part_devt(part));
[all...]
H A Dpartition-generic.c222 struct hd_struct *part = dev_to_part(dev); local
224 add_uevent_var(env, "PARTN=%u", part->partno);
225 if (part->info && part->info->volname[0])
226 add_uevent_var(env, "PARTNAME=%s", part->info->volname);
239 struct hd_struct *part = container_of(head, struct hd_struct, rcu_head); local
241 part->start_sect = 0;
242 part->nr_sects = 0;
243 part_stat_set_all(part, 0);
244 put_device(part_to_dev(part));
247 __delete_partition(struct hd_struct *part) argument
255 struct hd_struct *part; local
408 struct hd_struct *part; local
428 struct hd_struct *part; local
[all...]
H A Dblk-cgroup.c75 /* alloc and init base part */
713 int part, ret; local
718 disk = get_gendisk(MKDEV(major, minor), &part);
719 if (!disk || part)
847 * blkcg_init_queue - initialize blkcg part of request queue
851 * part of new request_queue @q.
864 * blkcg_drain_queue - drain blkcg part of request_queue
867 * Called from blk_drain_queue(). Responsible for draining blkcg part.
884 * blkcg_exit_queue - exit and release blkcg part of request_queue
887 * Called from blk_release_queue(). Responsible for exiting blkcg part
[all...]
H A Dblk-core.c113 rq->part = NULL;
130 /* don't actually finish bio if it's part of flush sequence */
1285 static void part_round_stats_single(int cpu, struct hd_struct *part, argument
1290 if (now == part->stamp)
1293 inflight = part_in_flight(part);
1295 __part_stat_add(cpu, part, time_in_queue,
1296 inflight * (now - part->stamp));
1297 __part_stat_add(cpu, part, io_ticks, (now - part->stamp));
1299 part
1318 part_round_stats(int cpu, struct hd_struct *part) argument
1697 should_fail_request(struct hd_struct *part, unsigned int bytes) argument
1714 should_fail_request(struct hd_struct *part, unsigned int bytes) argument
1758 struct hd_struct *part; local
2101 struct hd_struct *part; local
2121 struct hd_struct *part; local
2161 struct hd_struct *part; local
[all...]
H A Dgenhd.c62 struct hd_struct *part = NULL; local
72 part = rcu_dereference(ptbl->part[partno]);
73 if (part)
74 get_device(part_to_dev(part));
79 return part;
103 piter->part = NULL;
133 disk_put_part(piter->part);
134 piter->part = NULL;
155 struct hd_struct *part; local
194 sector_in_part(struct hd_struct *part, sector_t sector) argument
218 struct hd_struct *part; local
411 blk_alloc_devt(struct hd_struct *part, dev_t *devt) argument
512 struct hd_struct *part; local
638 struct hd_struct *part; local
692 struct hd_struct *part; local
722 struct hd_struct *part; local
748 struct hd_struct *part; local
849 struct hd_struct *part; local
1117 struct hd_struct *part; local
1238 struct hd_struct *part; local
1359 struct hd_struct *part; local
[all...]

Completed in 2636 milliseconds