Home
last modified time | relevance | path

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

/fs/partitions/
Damiga.c32 struct PartitionBlock *pb; in amiga_partition() local
86 pb = (struct PartitionBlock *)data; in amiga_partition()
87 blk = be32_to_cpu(pb->pb_Next); in amiga_partition()
88 if (pb->pb_ID != cpu_to_be32(IDNAME_PARTITION)) in amiga_partition()
90 if (checksum_block((__be32 *)pb, be32_to_cpu(pb->pb_SummedLongs) & 0x7F) != 0 ) in amiga_partition()
95 nr_sects = (be32_to_cpu(pb->pb_Environment[10]) + 1 - in amiga_partition()
96 be32_to_cpu(pb->pb_Environment[9])) * in amiga_partition()
97 be32_to_cpu(pb->pb_Environment[3]) * in amiga_partition()
98 be32_to_cpu(pb->pb_Environment[5]) * in amiga_partition()
102 start_sect = be32_to_cpu(pb->pb_Environment[9]) * in amiga_partition()
[all …]
/fs/yaffs2/
Dyaffs_qsort.c86 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; in yaffs_qsort() local
112 pa = pb = (char *)a + es; in yaffs_qsort()
116 while (pb <= pc && (r = cmp(pb, a)) <= 0) { in yaffs_qsort()
119 yswap(pa, pb); in yaffs_qsort()
122 pb += es; in yaffs_qsort()
124 while (pb <= pc && (r = cmp(pc, a)) >= 0) { in yaffs_qsort()
132 if (pb > pc) in yaffs_qsort()
134 yswap(pb, pc); in yaffs_qsort()
136 pb += es; in yaffs_qsort()
148 r = min(pa - (char *)a, pb - pa); in yaffs_qsort()
[all …]
/fs/ext4/
Dextents.c79 void ext4_ext_store_pblock(struct ext4_extent *ex, ext4_fsblk_t pb) in ext4_ext_store_pblock() argument
81 ex->ee_start_lo = cpu_to_le32((unsigned long) (pb & 0xffffffff)); in ext4_ext_store_pblock()
82 ex->ee_start_hi = cpu_to_le16((unsigned long) ((pb >> 31) >> 1) & 0xffff); in ext4_ext_store_pblock()
90 static void ext4_idx_store_pblock(struct ext4_extent_idx *ix, ext4_fsblk_t pb) in ext4_idx_store_pblock() argument
92 ix->ei_leaf_lo = cpu_to_le32((unsigned long) (pb & 0xffffffff)); in ext4_idx_store_pblock()
93 ix->ei_leaf_hi = cpu_to_le16((unsigned long) ((pb >> 31) >> 1) & 0xffff); in ext4_idx_store_pblock()