Home
last modified time | relevance | path

Searched refs:total_blocks (Results 1 - 25 of 52) sorted by relevance

123

/kernel/linux/linux-5.10/fs/hfsplus/
H A Dextents.c401 u32 total_blocks, blocks, start; in hfsplus_free_fork() local
404 total_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_free_fork()
405 if (!total_blocks) in hfsplus_free_fork()
415 if (total_blocks == blocks) in hfsplus_free_fork()
423 total_blocks, type); in hfsplus_free_fork()
430 hfsplus_free_extents(sb, ext_entry, total_blocks - start, in hfsplus_free_fork()
431 total_blocks); in hfsplus_free_fork()
432 total_blocks = start; in hfsplus_free_fork()
434 } while (total_blocks > block in hfsplus_free_fork()
[all...]
H A Dsuper.c318 buf->f_blocks = sbi->total_blocks << sbi->fs_shift; in hfsplus_statfs()
427 sbi->total_blocks = be32_to_cpu(vhdr->total_blocks); in hfsplus_fill_super()
442 last_fs_block = sbi->total_blocks - 1; in hfsplus_fill_super()
484 if (vhdr->attr_file.total_blocks != 0) { in hfsplus_fill_super()
H A Dhfsplus_raw.h99 __be32 total_blocks; member
120 __be32 total_blocks; member
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dextents.c401 u32 total_blocks, blocks, start; in hfsplus_free_fork() local
404 total_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_free_fork()
405 if (!total_blocks) in hfsplus_free_fork()
415 if (total_blocks == blocks) in hfsplus_free_fork()
423 total_blocks, type); in hfsplus_free_fork()
430 hfsplus_free_extents(sb, ext_entry, total_blocks - start, in hfsplus_free_fork()
431 total_blocks); in hfsplus_free_fork()
432 total_blocks = start; in hfsplus_free_fork()
434 } while (total_blocks > block in hfsplus_free_fork()
[all...]
H A Dsuper.c318 buf->f_blocks = sbi->total_blocks << sbi->fs_shift; in hfsplus_statfs()
427 sbi->total_blocks = be32_to_cpu(vhdr->total_blocks); in hfsplus_fill_super()
442 last_fs_block = sbi->total_blocks - 1; in hfsplus_fill_super()
484 if (vhdr->attr_file.total_blocks != 0) { in hfsplus_fill_super()
H A Dhfsplus_raw.h99 __be32 total_blocks; member
120 __be32 total_blocks; member
/kernel/linux/linux-5.10/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 in hfs_free_fork()
[all...]
/kernel/linux/linux-6.6/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 in hfs_free_fork()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
H A Dia_css_bnlm.host.c50 const u32 total_blocks = ISP_VEC_NELEMS / block_size; in bnlm_lut_encode() local
70 for (i = 0; i < total_blocks * block_size; i++) { in bnlm_lut_encode()
83 for (blk = 1; blk < total_blocks; blk++) { in bnlm_lut_encode()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
H A Dia_css_bnlm.host.c50 const u32 total_blocks = ISP_VEC_NELEMS / block_size; in bnlm_lut_encode() local
70 for (i = 0; i < total_blocks * block_size; i++) { in bnlm_lut_encode()
83 for (blk = 1; blk < total_blocks; blk++) { in bnlm_lut_encode()
/kernel/linux/linux-5.10/drivers/mtd/
H A Drfd_ftl.c75 u_int total_blocks; /* number of erase units */ member
159 part->total_blocks = (u32)part->mbd.mtd->size / part->block_size; in scan_header()
161 if (part->total_blocks < 2) in scan_header()
176 (part->total_blocks - 1) - 1) / SECTORS_PER_TRACK; in scan_header()
188 part->blocks = kcalloc(part->total_blocks, sizeof(struct block), in scan_header()
204 for (i=0, blocks_found=0; i<part->total_blocks; i++) { in scan_header()
425 for (block=0; block<part->total_blocks; block++) { in reclaim_block()
487 jiffies % part->total_blocks : part->current_block; in find_free_block()
498 if (++block >= part->total_blocks) in find_free_block()
772 for (i=0; i<part->total_blocks; in rfd_ftl_remove_dev()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/
H A Drfd_ftl.c75 u_int total_blocks; /* number of erase units */ member
159 part->total_blocks = (u32)part->mbd.mtd->size / part->block_size; in scan_header()
161 if (part->total_blocks < 2) in scan_header()
176 (part->total_blocks - 1) - 1) / SECTORS_PER_TRACK; in scan_header()
188 part->blocks = kcalloc(part->total_blocks, sizeof(struct block), in scan_header()
201 for (i=0, blocks_found=0; i<part->total_blocks; i++) { in scan_header()
422 for (block=0; block<part->total_blocks; block++) { in reclaim_block()
484 jiffies % part->total_blocks : part->current_block; in find_free_block()
495 if (++block >= part->total_blocks) in find_free_block()
798 for (i=0; i<part->total_blocks; in rfd_ftl_remove_dev()
[all...]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_btree_staging.c755 uint64_t total_blocks = 0; in xfs_btree_bload() local
803 total_blocks += blocks; in xfs_btree_bload()
845 total_blocks += blocks; in xfs_btree_bload()
854 cur->bc_ino.ifake->if_blocks = total_blocks - 1; in xfs_btree_bload()
858 cur->bc_ag.afake->af_blocks = total_blocks; in xfs_btree_bload()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_btree_staging.c756 uint64_t total_blocks = 0; in xfs_btree_bload() local
804 total_blocks += blocks; in xfs_btree_bload()
846 total_blocks += blocks; in xfs_btree_bload()
855 cur->bc_ino.ifake->if_blocks = total_blocks - 1; in xfs_btree_bload()
859 cur->bc_ag.afake->af_blocks = total_blocks; in xfs_btree_bload()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Defs_fs_sb.h54 __u32 total_blocks; /* total number of blocks in filesystem */ member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Defs_fs_sb.h54 __u32 total_blocks; /* total number of blocks in filesystem */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Defs_fs_sb.h54 __u32 total_blocks; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Defs_fs_sb.h54 __u32 total_blocks; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Defs_fs_sb.h41 __u32 total_blocks; member
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
H A Dia_css_xnr3.host.c197 const unsigned int total_blocks = 4; in ia_css_xnr3_vmem_encode() local
229 for (i = 0; i < total_blocks; i++) { in ia_css_xnr3_vmem_encode()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
H A Dia_css_xnr3.host.c197 const unsigned int total_blocks = 4; in ia_css_xnr3_vmem_encode() local
229 for (i = 0; i < total_blocks; i++) { in ia_css_xnr3_vmem_encode()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
H A Dtx.c196 u32 total_blocks; in wl1271_tx_allocate() local
210 total_blocks = wlcore_hw_calc_tx_blocks(wl, total_len, spare_blocks); in wl1271_tx_allocate()
212 if (total_blocks <= wl->tx_blocks_available) { in wl1271_tx_allocate()
215 wlcore_hw_set_tx_desc_blocks(wl, desc, total_blocks, in wl1271_tx_allocate()
220 wl->tx_blocks_available -= total_blocks; in wl1271_tx_allocate()
221 wl->tx_allocated_blocks += total_blocks; in wl1271_tx_allocate()
228 if (wl->tx_allocated_blocks == total_blocks || in wl1271_tx_allocate()
242 total_len, total_blocks, id); in wl1271_tx_allocate()
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/
H A Dtx.c196 u32 total_blocks; in wl1271_tx_allocate() local
210 total_blocks = wlcore_hw_calc_tx_blocks(wl, total_len, spare_blocks); in wl1271_tx_allocate()
212 if (total_blocks <= wl->tx_blocks_available) { in wl1271_tx_allocate()
215 wlcore_hw_set_tx_desc_blocks(wl, desc, total_blocks, in wl1271_tx_allocate()
220 wl->tx_blocks_available -= total_blocks; in wl1271_tx_allocate()
221 wl->tx_allocated_blocks += total_blocks; in wl1271_tx_allocate()
228 if (wl->tx_allocated_blocks == total_blocks || in wl1271_tx_allocate()
242 total_len, total_blocks, id); in wl1271_tx_allocate()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
H A Dia_css_eed1_8.host.c95 const unsigned int total_blocks = 4; in ia_css_eed1_8_vmem_encode() local
171 for (i = 0; i < total_blocks; i++) { in ia_css_eed1_8_vmem_encode()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
H A Dia_css_eed1_8.host.c95 const unsigned int total_blocks = 4; in ia_css_eed1_8_vmem_encode() local
171 for (i = 0; i < total_blocks; i++) { in ia_css_eed1_8_vmem_encode()

Completed in 18 milliseconds

123