Home
last modified time | relevance | path

Searched refs:total_blocks (Results 1 – 16 of 16) sorted by relevance

/linux/fs/hfsplus/
H A Dextents.c396 u32 total_blocks, blocks, start; in hfsplus_free_fork() local
399 total_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_free_fork()
400 if (!total_blocks) in hfsplus_free_fork()
410 if (total_blocks == blocks) in hfsplus_free_fork()
418 total_blocks, type); in hfsplus_free_fork()
425 hfsplus_free_extents(sb, ext_entry, total_blocks - start, in hfsplus_free_fork()
426 total_blocks); in hfsplus_free_fork()
427 total_blocks = start; in hfsplus_free_fork()
430 } while (total_blocks > blocks); in hfsplus_free_fork()
445 sbi->total_blocks - sbi->free_blocks + 8) { in hfsplus_file_extend()
[all …]
H A Dbitmap.c179 if ((offset + count) > sbi->total_blocks) in hfsplus_block_free()
/linux/fs/hfs/
H A Dextent.c290 u32 total_blocks, blocks, start; in hfs_free_fork() local
296 total_blocks = be32_to_cpu(file->PyLen); in hfs_free_fork()
299 total_blocks = be32_to_cpu(file->RPyLen); in hfs_free_fork()
302 total_blocks /= HFS_SB(sb)->alloc_blksz; in hfs_free_fork()
303 if (!total_blocks) in hfs_free_fork()
313 if (total_blocks == blocks) in hfs_free_fork()
320 res = __hfs_ext_read_extent(&fd, extent, cnid, total_blocks, type); in hfs_free_fork()
324 hfs_free_extents(sb, extent, total_blocks - start, total_blocks); in hfs_free_fork()
326 total_blocks = start; in hfs_free_fork()
327 } while (total_blocks > blocks); in hfs_free_fork()
/linux/fs/xfs/libxfs/
H A Dxfs_btree_staging.c688 uint64_t total_blocks = 0; in xfs_btree_bload() local
737 total_blocks += blocks; in xfs_btree_bload()
782 total_blocks += blocks; in xfs_btree_bload()
795 cur->bc_ino.ifake->if_blocks = total_blocks - 1; in xfs_btree_bload()
799 cur->bc_ag.afake->af_blocks = total_blocks; in xfs_btree_bload()
/linux/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
H A Dia_css_xnr3.host.c188 const unsigned int total_blocks = 4; in ia_css_xnr3_vmem_encode() local
220 for (i = 0; i < total_blocks; i++) { in ia_css_xnr3_vmem_encode()
/linux/include/uapi/linux/
H A Defs_fs_sb.h54 __u32 total_blocks; /* total number of blocks in filesystem */ member
/linux/drivers/md/dm-vdo/indexer/
H A Dindex-layout.c200 u64 total_blocks; member
212 u64 total_blocks; member
246 sls->total_blocks = 3 + sls->sub_index_blocks; in compute_sizes()
247 sls->total_size = sls->total_blocks * sls->block_size; in compute_sizes()
406 layout->total_blocks = sls->total_blocks; in initialize_layout()
672 .region_blocks = layout->total_blocks, in make_layout_region_table()
1319 layout->total_blocks = table->header.region_blocks; in reconstitute_layout()
1345 if (++next_block != (first_block + layout->total_blocks)) { in reconstitute_layout()
/linux/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
H A Dia_css_eed1_8.host.c86 const unsigned int total_blocks = 4; in ia_css_eed1_8_vmem_encode() local
162 for (i = 0; i < total_blocks; i++) { in ia_css_eed1_8_vmem_encode()
/linux/drivers/infiniband/hw/hfi1/
H A Dpio.c184 int total_blocks = (chip_pio_mem_size(dd) / PIO_BLOCK_SIZE) - 1; in init_sc_pools_and_sizes() local
261 if (ab_total > total_blocks) { in init_sc_pools_and_sizes()
265 ab_total, total_blocks); in init_sc_pools_and_sizes()
328 if (fixed_blocks > total_blocks) { in init_sc_pools_and_sizes()
332 fixed_blocks, total_blocks); in init_sc_pools_and_sizes()
337 pool_blocks = total_blocks - fixed_blocks; in init_sc_pools_and_sizes()
392 extra = total_blocks - used_blocks; in init_sc_pools_and_sizes()
/linux/drivers/platform/mellanox/
H A Dmlxbf-pmc.c157 u32 total_blocks; member
2159 for (i = 0; i < pmc->total_blocks; ++i) { in mlxbf_pmc_map_counters()
2314 ret = device_property_read_u32(dev, "block_num", &pmc->total_blocks); in mlxbf_pmc_probe()
2320 pmc->total_blocks); in mlxbf_pmc_probe()
2321 if (ret != pmc->total_blocks) in mlxbf_pmc_probe()
/linux/drivers/usb/gadget/function/
H A Df_midi2.c146 unsigned int total_blocks; /* total number of blocks of all EPs */ member
1359 len = sizeof(gtb_header_desc) + sizeof(gtb_desc) * midi2->total_blocks; in assign_block_descriptors()
1955 midi2->total_blocks + 1); in f_midi2_bind()
2854 bp->gtb_id = ++midi2->total_blocks; in f_midi2_alloc()
2858 midi2->string_defs = kcalloc(midi2->total_blocks + 1, in f_midi2_alloc()
/linux/fs/erofs/
H A Dinternal.h130 u64 total_blocks; member
/linux/drivers/scsi/
H A Dhpsa_cmd.h725 __le32 total_blocks; /* number for sectors on drive */ member
/linux/fs/ocfs2/
H A Dsuper.c1954 u64 total_blocks; in ocfs2_initialize_super() local
2154 total_blocks = ocfs2_clusters_to_blocks(osb->sb, in ocfs2_initialize_super()
2158 total_blocks); in ocfs2_initialize_super()
/linux/drivers/scsi/smartpqi/
H A Dsmartpqi.h1523 __le32 total_blocks; /* number for sectors on drive */ member
/linux/drivers/scsi/aacraid/
H A Daacraid.h336 u32 total_blocks; /* number for sectors on drive */ member