Home
last modified time | relevance | path

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

/linux-4.4.14/fs/hfsplus/
Dextents.c391 u32 total_blocks, blocks, start; in hfsplus_free_fork() local
394 total_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_free_fork()
395 if (!total_blocks) in hfsplus_free_fork()
405 if (total_blocks == blocks) in hfsplus_free_fork()
413 total_blocks, type); in hfsplus_free_fork()
418 total_blocks - start, in hfsplus_free_fork()
419 total_blocks); in hfsplus_free_fork()
421 total_blocks = start; in hfsplus_free_fork()
422 } while (total_blocks > blocks); in hfsplus_free_fork()
437 sbi->total_blocks - sbi->free_blocks + 8) { in hfsplus_file_extend()
[all …]
Dsuper.c314 buf->f_blocks = sbi->total_blocks << sbi->fs_shift; in hfsplus_statfs()
424 sbi->total_blocks = be32_to_cpu(vhdr->total_blocks); in hfsplus_fill_super()
439 last_fs_block = sbi->total_blocks - 1; in hfsplus_fill_super()
481 if (vhdr->attr_file.total_blocks != 0) { in hfsplus_fill_super()
Dhfsplus_raw.h98 __be32 total_blocks; member
119 __be32 total_blocks; member
Dbitmap.c178 if ((offset + count) > sbi->total_blocks) in hfsplus_block_free()
Dinode.c455 hip->alloc_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_inode_read_fork()
475 fork->total_blocks = cpu_to_be32(HFSPLUS_I(inode)->alloc_blocks); in hfsplus_inode_write_fork()
Dhfsplus_fs.h166 u32 total_blocks; member
/linux-4.4.14/fs/hfs/
Dextent.c286 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-4.4.14/drivers/mtd/
Drfd_ftl.c74 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()
202 for (i=0, blocks_found=0; i<part->total_blocks; i++) { in scan_header()
279 if (i >= part->total_blocks || part->blocks[i].offset != erase->addr || in erase_callback()
460 for (block=0; block<part->total_blocks; block++) { in reclaim_block()
522 jiffies % part->total_blocks : part->current_block; in find_free_block()
533 if (++block >= part->total_blocks) in find_free_block()
[all …]
/linux-4.4.14/include/uapi/linux/
Defs_fs_sb.h53 __u32 total_blocks; /* total number of blocks in filesystem */ member
Dncp.h50 __u32 total_blocks; member
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dtx.c209 u32 total_blocks; in wl1271_tx_allocate() local
223 total_blocks = wlcore_hw_calc_tx_blocks(wl, total_len, spare_blocks); in wl1271_tx_allocate()
225 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-4.4.14/drivers/staging/rdma/hfi1/
Dpio.c224 int total_blocks = (dd->chip_pio_mem_size / PIO_BLOCK_SIZE) - 1; in init_sc_pools_and_sizes() local
285 if (ab_total > total_blocks) { in init_sc_pools_and_sizes()
289 ab_total, total_blocks); in init_sc_pools_and_sizes()
352 if (fixed_blocks > total_blocks) { in init_sc_pools_and_sizes()
356 fixed_blocks, total_blocks); in init_sc_pools_and_sizes()
361 pool_blocks = total_blocks - fixed_blocks; in init_sc_pools_and_sizes()
416 extra = total_blocks - used_blocks; in init_sc_pools_and_sizes()
/linux-4.4.14/drivers/lightnvm/
Drrpc.h97 unsigned long total_blocks; member
Dcore.c235 dev->total_blocks = dev->nr_planes * in nvm_core_init()
239 dev->total_pages = dev->total_blocks * dev->pgs_per_blk; in nvm_core_init()
Drrpc.c1117 rrpc->total_blocks += dev->blks_per_lun; in rrpc_luns_init()
/linux-4.4.14/fs/efs/
Dsuper.c244 sb->total_blocks = be32_to_cpu(super->fs_size); in efs_validate_super()
/linux-4.4.14/include/linux/
Dlightnvm.h272 unsigned long total_blocks; member
/linux-4.4.14/drivers/scsi/
Dhpsa_cmd.h704 __le32 total_blocks; /* number for sectors on drive */ member
/linux-4.4.14/fs/ncpfs/
Dncplib_kernel.c215 target->total_blocks = ncp_reply_dword_lh(server, 0); in ncp_get_volume_info_with_number()
249 target->total_blocks = ncp_reply_dword_lh(server, 0); in ncp_get_directory_info()
Dinode.c842 buf->f_blocks = vi.total_blocks; in ncp_statfs()
/linux-4.4.14/fs/ocfs2/
Dsuper.c2060 u64 total_blocks; in ocfs2_initialize_super() local
2278 total_blocks = ocfs2_clusters_to_blocks(osb->sb, in ocfs2_initialize_super()
2282 total_blocks); in ocfs2_initialize_super()