Home
last modified time | relevance | path

Searched refs:pb (Results 1 – 2 of 2) sorted by relevance

/block/partitions/
Damiga.c41 struct PartitionBlock *pb; in amiga_partition() local
108 pb = (struct PartitionBlock *)data; in amiga_partition()
109 blk = be32_to_cpu(pb->pb_Next); in amiga_partition()
110 if (pb->pb_ID != cpu_to_be32(IDNAME_PARTITION)) in amiga_partition()
112 if (checksum_block((__be32 *)pb, be32_to_cpu(pb->pb_SummedLongs) & 0x7F) != 0 ) in amiga_partition()
122 nr_hd = be32_to_cpu(pb->pb_Environment[NR_HD]); in amiga_partition()
123 nr_sect = be32_to_cpu(pb->pb_Environment[NR_SECT]); in amiga_partition()
153 lo_cyl = be32_to_cpu(pb->pb_Environment[LO_CYL]); in amiga_partition()
156 hi_cyl = be32_to_cpu(pb->pb_Environment[HI_CYL]); in amiga_partition()
186 *dt = pb->pb_Environment[16]; in amiga_partition()
[all …]
/block/
Dblk-merge.c22 struct bio_vec pb, nb; in bio_will_gap() local
33 bio_get_first_bvec(prev_rq->bio, &pb); in bio_will_gap()
35 bio_get_first_bvec(prev, &pb); in bio_will_gap()
36 if (pb.bv_offset & queue_virt_boundary(q)) in bio_will_gap()
48 bio_get_last_bvec(prev, &pb); in bio_will_gap()
50 if (biovec_phys_mergeable(q, &pb, &nb)) in bio_will_gap()
52 return __bvec_gap_to_prev(q, &pb, nb.bv_offset); in bio_will_gap()