/Linux-v4.19/fs/hfsplus/ |
D | extents.c | 395 u32 total_blocks, blocks, start; in hfsplus_free_fork() local 398 total_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_free_fork() 399 if (!total_blocks) in hfsplus_free_fork() 409 if (total_blocks == blocks) in hfsplus_free_fork() 417 total_blocks, type); in hfsplus_free_fork() 424 hfsplus_free_extents(sb, ext_entry, total_blocks - start, in hfsplus_free_fork() 425 total_blocks); in hfsplus_free_fork() 426 total_blocks = start; in hfsplus_free_fork() 428 } while (total_blocks > blocks); in hfsplus_free_fork() 443 sbi->total_blocks - sbi->free_blocks + 8) { in hfsplus_file_extend() [all …]
|
D | super.c | 317 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()
|
D | hfsplus_raw.h | 99 __be32 total_blocks; member 120 __be32 total_blocks; member
|
D | bitmap.c | 179 if ((offset + count) > sbi->total_blocks) in hfsplus_block_free()
|
D | inode.c | 443 hip->alloc_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_inode_read_fork() 463 fork->total_blocks = cpu_to_be32(HFSPLUS_I(inode)->alloc_blocks); in hfsplus_inode_write_fork()
|
D | hfsplus_fs.h | 166 u32 total_blocks; member
|
/Linux-v4.19/fs/hfs/ |
D | extent.c | 286 u32 total_blocks, blocks, start; in hfs_free_fork() local 292 total_blocks = be32_to_cpu(file->PyLen); in hfs_free_fork() 295 total_blocks = be32_to_cpu(file->RPyLen); in hfs_free_fork() 298 total_blocks /= HFS_SB(sb)->alloc_blksz; in hfs_free_fork() 299 if (!total_blocks) in hfs_free_fork() 309 if (total_blocks == blocks) in hfs_free_fork() 316 res = __hfs_ext_read_extent(&fd, extent, cnid, total_blocks, type); in hfs_free_fork() 320 hfs_free_extents(sb, extent, total_blocks - start, total_blocks); in hfs_free_fork() 322 total_blocks = start; in hfs_free_fork() 323 } while (total_blocks > blocks); in hfs_free_fork()
|
/Linux-v4.19/drivers/mtd/ |
D | rfd_ftl.c | 74 u_int total_blocks; /* number of erase units */ member 158 part->total_blocks = (u32)part->mbd.mtd->size / part->block_size; in scan_header() 160 if (part->total_blocks < 2) in scan_header() 175 (part->total_blocks - 1) - 1) / SECTORS_PER_TRACK; in scan_header() 187 part->blocks = kcalloc(part->total_blocks, sizeof(struct block), in scan_header() 203 for (i=0, blocks_found=0; i<part->total_blocks; i++) { in scan_header() 424 for (block=0; block<part->total_blocks; block++) { in reclaim_block() 486 jiffies % part->total_blocks : part->current_block; in find_free_block() 497 if (++block >= part->total_blocks) in find_free_block() 771 for (i=0; i<part->total_blocks; i++) { in rfd_ftl_remove_dev()
|
/Linux-v4.19/include/uapi/linux/ |
D | efs_fs_sb.h | 54 __u32 total_blocks; /* total number of blocks in filesystem */ member
|
/Linux-v4.19/drivers/net/wireless/ti/wlcore/ |
D | tx.c | 210 u32 total_blocks; in wl1271_tx_allocate() local 224 total_blocks = wlcore_hw_calc_tx_blocks(wl, total_len, spare_blocks); in wl1271_tx_allocate() 226 if (total_blocks <= wl->tx_blocks_available) { in wl1271_tx_allocate() 229 wlcore_hw_set_tx_desc_blocks(wl, desc, total_blocks, in wl1271_tx_allocate() 234 wl->tx_blocks_available -= total_blocks; in wl1271_tx_allocate() 235 wl->tx_allocated_blocks += total_blocks; in wl1271_tx_allocate() 242 if (wl->tx_allocated_blocks == total_blocks || in wl1271_tx_allocate() 256 total_len, total_blocks, id); in wl1271_tx_allocate()
|
/Linux-v4.19/drivers/lightnvm/ |
D | pblk-sysfs.c | 52 int free_blocks, free_user_blocks, total_blocks; in pblk_sysfs_rate_limiter() local 65 total_blocks = pblk->rl.total_blocks; in pblk_sysfs_rate_limiter() 78 total_blocks, in pblk_sysfs_rate_limiter()
|
D | pblk.h | 298 unsigned long total_blocks; member
|
D | pblk-init.c | 689 pblk->rl.total_blocks = nr_free_blks; in pblk_set_provision()
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | pio.c | 234 int total_blocks = (chip_pio_mem_size(dd) / PIO_BLOCK_SIZE) - 1; in init_sc_pools_and_sizes() local 311 if (ab_total > total_blocks) { in init_sc_pools_and_sizes() 315 ab_total, total_blocks); in init_sc_pools_and_sizes() 378 if (fixed_blocks > total_blocks) { in init_sc_pools_and_sizes() 382 fixed_blocks, total_blocks); in init_sc_pools_and_sizes() 387 pool_blocks = total_blocks - fixed_blocks; in init_sc_pools_and_sizes() 442 extra = total_blocks - used_blocks; in init_sc_pools_and_sizes()
|
/Linux-v4.19/fs/efs/ |
D | super.c | 245 sb->total_blocks = be32_to_cpu(super->fs_size); in efs_validate_super()
|
/Linux-v4.19/drivers/scsi/ |
D | hpsa_cmd.h | 710 __le32 total_blocks; /* number for sectors on drive */ member
|
/Linux-v4.19/fs/ocfs2/ |
D | super.c | 2058 u64 total_blocks; in ocfs2_initialize_super() local 2274 total_blocks = ocfs2_clusters_to_blocks(osb->sb, in ocfs2_initialize_super() 2278 total_blocks); in ocfs2_initialize_super()
|
/Linux-v4.19/drivers/scsi/smartpqi/ |
D | smartpqi.h | 1116 __le32 total_blocks; /* number for sectors on drive */ member
|
/Linux-v4.19/drivers/scsi/aacraid/ |
D | aacraid.h | 347 u32 total_blocks; /* number for sectors on drive */ member
|