Home
last modified time | relevance | path

Searched refs:blocksize (Results 1 – 8 of 8) sorted by relevance

/busybox-1.35.0/util-linux/
Dmkfs_ext2.c117 static void allocate(uint8_t *bitmap, uint32_t blocksize, uint32_t start, uint32_t end) in allocate() argument
122 memset(bitmap, 0, blocksize); in allocate()
127 bitmap[blocksize - i - 1] |= 0x7F00 >> (end & 7); //0..7 => 00000000..11111110 in allocate()
128 memset(bitmap + blocksize - i, 0xFF, i); // N.B. no overflow here! in allocate()
225 unsigned blocksize, blocksize_log2; in mkfs_ext2_main() local
283 blocksize = 1024; in mkfs_ext2_main()
286 blocksize = 4096; in mkfs_ext2_main()
293 while ((kilobytes >> 22) >= blocksize) in mkfs_ext2_main()
294 blocksize *= 2; in mkfs_ext2_main()
297 blocksize = bs; in mkfs_ext2_main()
[all …]
Dmkfs_reiser.c152 unsigned blocksize = 4096; in mkfs_reiser_main() local
183 blocks = get_volume_size_in_bytes(fd, argv[1], blocksize, /*extend:*/ 1) / blocksize; in mkfs_reiser_main()
188 block = REISERFS_DISK_OFFSET_IN_BYTES / blocksize // boot area in mkfs_reiser_main()
195 bitmap_blocks = (blocks - 1) / (blocksize * 8) + 1; in mkfs_reiser_main()
199 if (MIN(blocksize * 8, blocks) < i) in mkfs_reiser_main()
210 sb = (struct reiserfs_super_block *)xzalloc(blocksize); in mkfs_reiser_main()
218 …STORE_LE(jp->jp_journal_1st_block, REISERFS_DISK_OFFSET_IN_BYTES / blocksize + 1/*sb*/ + 1/*bmp#0*… in mkfs_reiser_main()
227 STORE_LE(sb->sb_blocksize, blocksize); in mkfs_reiser_main()
228 STORE_LE(sb->sb_oid_maxsize, (blocksize - sizeof(*sb)) / sizeof(uint32_t) / 2 * 2); in mkfs_reiser_main()
255 xwrite(fd, sb, blocksize); in mkfs_reiser_main()
[all …]
/busybox-1.35.0/util-linux/volume_id/
Dudf.c83 goto blocksize; in volume_id_probe_udf()
85 goto blocksize; in volume_id_probe_udf()
87 goto blocksize; in volume_id_probe_udf()
89 goto blocksize; in volume_id_probe_udf()
91 goto blocksize; in volume_id_probe_udf()
93 goto blocksize; in volume_id_probe_udf()
95 goto blocksize; in volume_id_probe_udf()
98 blocksize: in volume_id_probe_udf()
Dhfs.c119 uint32_t blocksize; member
164 unsigned blocksize; in volume_id_probe_hfs_hfsplus() local
239 blocksize = be32_to_cpu(hfsplus->blocksize); in volume_id_probe_hfs_hfsplus()
240 dbg("blocksize %u", blocksize); in volume_id_probe_hfs_hfsplus()
246 buf = volume_id_get_buffer(id, off + (cat_block * blocksize), 0x2000); in volume_id_probe_hfs_hfsplus()
264 leaf_block = (leaf_node_head * leaf_node_size) / blocksize; in volume_id_probe_hfs_hfsplus()
285 leaf_off = (ext_block_start + leaf_block) * blocksize; in volume_id_probe_hfs_hfsplus()
Dxfs.c31 uint32_t blocksize; member
Dreiserfs.c38 uint16_t blocksize; member
/busybox-1.35.0/libbb/
Ddump.c37 int blocksize; member
305 && fs->bcnt < dumper->blocksize in rewrite()
309 fu->reps += (dumper->blocksize - fs->bcnt) / fu->bcnt; in rewrite()
380 int blocksize = dumper->blocksize; in get() local
384 dumper->get__curp = xmalloc(blocksize); in get()
385 dumper->get__savp = xzalloc(blocksize); /* need to be initialized */ in get()
390 dumper->savaddress += blocksize; in get()
393 need = blocksize; in get()
402 if (need == blocksize) { in get()
434 || memcmp(dumper->get__curp, dumper->get__savp, blocksize) != 0 /* not same data? */ in get()
[all …]
/busybox-1.35.0/shell/
Dash.c1613 size_t blocksize; in stalloc() local
1616 blocksize = aligned; in stalloc()
1617 if (blocksize < MINSIZE) in stalloc()
1618 blocksize = MINSIZE; in stalloc()
1619 len = sizeof(struct stack_block) - MINSIZE + blocksize; in stalloc()
1620 if (len < blocksize) in stalloc()
1626 g_stacknleft = blocksize; in stalloc()
1627 sstrend = g_stacknxt + blocksize; in stalloc()
9166 size_t blocksize; in copyfunc() local
9169 blocksize = offsetof(struct funcnode, n) + calcsize(0, n); in copyfunc()
[all …]