Searched refs:total_blocks (Results 1 – 13 of 13) sorted by relevance
| /linux/drivers/mtd/ |
| H A D | rfd_ftl.c | 75 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 = kzalloc_objs(struct block, part->total_blocks); in scan_header() 200 for (i=0, blocks_found=0; i<part->total_blocks; i++) { in scan_header() 421 for (block=0; block<part->total_blocks; block++) { in reclaim_block() 483 jiffies % part->total_blocks : part->current_block; in find_free_block() 494 if (++block >= part->total_blocks) in find_free_block() 797 for (i=0; i<part->total_blocks; i++) { in rfd_ftl_remove_dev()
|
| /linux/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
| H A D | ia_css_xnr3.host.c | 188 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/drivers/net/wireless/ti/wlcore/ |
| H A D | tx.c | 193 u32 total_blocks; in wl1271_tx_allocate() local 207 total_blocks = wlcore_hw_calc_tx_blocks(wl, total_len, spare_blocks); in wl1271_tx_allocate() 209 if (total_blocks <= wl->tx_blocks_available) { in wl1271_tx_allocate() 217 wlcore_hw_set_tx_desc_blocks(wl, desc, total_blocks, in wl1271_tx_allocate() 222 wl->tx_blocks_available -= total_blocks; in wl1271_tx_allocate() 223 wl->tx_allocated_blocks += total_blocks; in wl1271_tx_allocate() 230 if (wl->tx_allocated_blocks == total_blocks || in wl1271_tx_allocate() 244 total_len, total_blocks, id); in wl1271_tx_allocate()
|
| /linux/include/uapi/linux/ |
| H A D | efs_fs_sb.h | 54 __u32 total_blocks; /* total number of blocks in filesystem */ member
|
| /linux/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
| H A D | ia_css_eed1_8.host.c | 86 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/platform/mellanox/ |
| H A D | mlxbf-pmc.c | 157 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/fs/hfsplus/ |
| H A D | bitmap.c | 179 if ((offset + count) > sbi->total_blocks) in hfsplus_block_free()
|
| /linux/fs/efs/ |
| H A D | super.c | 229 sb->total_blocks = be32_to_cpu(super->fs_size); in efs_validate_super()
|
| /linux/fs/erofs/ |
| H A D | super.c | 184 sbi->total_blocks += dif->blocks; in erofs_init_device() 199 sbi->total_blocks = sbi->dif0.blocks; in erofs_scan_devices() 1069 buf->f_blocks = sbi->total_blocks; in erofs_statfs()
|
| H A D | internal.h | 126 u64 total_blocks; member
|
| /linux/drivers/scsi/ |
| H A D | hpsa_cmd.h | 725 __le32 total_blocks; /* number for sectors on drive */ member
|
| /linux/drivers/scsi/smartpqi/ |
| H A D | smartpqi.h | 1523 __le32 total_blocks; /* number for sectors on drive */ member
|
| /linux/drivers/scsi/aacraid/ |
| H A D | aacraid.h | 336 u32 total_blocks; /* number for sectors on drive */ member
|