Searched refs:used_blocks (Results 1 – 14 of 14) sorted by relevance
/linux-6.3-rc2/drivers/mtd/ubi/ |
A D | fastmap.c | 924 used_blocks = be32_to_cpu(fmsb->used_blocks); in ubi_scan_fastmap() 925 if (used_blocks > UBI_FM_MAX_BLOCKS || used_blocks < 1) { in ubi_scan_fastmap() 927 used_blocks); in ubi_scan_fastmap() 932 fm_size = ubi->leb_size * used_blocks; in ubi_scan_fastmap() 954 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap() 1050 fm->used_blocks = used_blocks; in ubi_scan_fastmap() 1059 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap() 1187 fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); in ubi_write_fastmap() 1491 fm->used_blocks = 1; in invalidate_fastmap() 1615 if (old_fm && new_fm->used_blocks < old_fm->used_blocks) { in ubi_update_fastmap() [all …]
|
A D | ubi-media.h | 412 __be32 used_blocks; member
|
A D | ubi.h | 243 int used_blocks; member 1219 for (i = 0; i < ubi->fm->used_blocks; i++) { in ubi_find_fm_block()
|
A D | fastmap-wl.c | 467 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close()
|
/linux-6.3-rc2/fs/befs/ |
A D | super.c | 37 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks); in befs_load_sb()
|
A D | befs.h | 38 befs_off_t used_blocks; member
|
A D | befs_fs_types.h | 122 fs64 used_blocks; member
|
A D | debug.c | 173 befs_debug(sb, " used_blocks %llu", fs64_to_cpu(sb, sup->used_blocks)); in befs_dump_super_block()
|
A D | linuxvfs.c | 961 buf->f_bfree = BEFS_SB(sb)->num_blocks - BEFS_SB(sb)->used_blocks; in befs_statfs()
|
/linux-6.3-rc2/fs/gfs2/ |
A D | log.c | 1038 unsigned int reserved_blocks = 0, used_blocks = 0; in gfs2_log_flush() local 1144 used_blocks = log_distance(sdp, sdp->sd_log_flush_head, first_log_head); in gfs2_log_flush() 1151 if (used_blocks != reserved_blocks) { in gfs2_log_flush() 1152 gfs2_assert_withdraw_delayed(sdp, used_blocks < reserved_blocks); in gfs2_log_flush() 1153 gfs2_log_release(sdp, reserved_blocks - used_blocks); in gfs2_log_flush() 1286 unsigned int used_blocks = sdp->sd_jdesc->jd_blocks - atomic_read(&sdp->sd_log_blks_free); in gfs2_ail_flush_reqd() local 1291 return used_blocks + atomic_read(&sdp->sd_log_blks_needed) >= in gfs2_ail_flush_reqd()
|
/linux-6.3-rc2/include/linux/ |
A D | shmem_fs.h | 39 struct percpu_counter used_blocks; /* How many are allocated */ member
|
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/ |
A D | pio.c | 188 int used_blocks; in init_sc_pools_and_sizes() local 376 used_blocks = 0; in init_sc_pools_and_sizes() 390 used_blocks += dd->sc_sizes[i].size * dd->sc_sizes[i].count; in init_sc_pools_and_sizes() 392 extra = total_blocks - used_blocks; in init_sc_pools_and_sizes()
|
/linux-6.3-rc2/mm/ |
A D | shmem.c | 210 if (percpu_counter_compare(&sbinfo->used_blocks, in shmem_inode_acct_block() 213 percpu_counter_add(&sbinfo->used_blocks, pages); in shmem_inode_acct_block() 229 percpu_counter_sub(&sbinfo->used_blocks, pages); in shmem_inode_unacct_blocks() 2907 percpu_counter_sum(&sbinfo->used_blocks); in shmem_statfs() 3646 if (percpu_counter_compare(&sbinfo->used_blocks, in shmem_reconfigure() 3752 percpu_counter_destroy(&sbinfo->used_blocks); in shmem_put_super() 3809 if (percpu_counter_init(&sbinfo->used_blocks, 0, GFP_KERNEL)) in shmem_fill_super()
|
/linux-6.3-rc2/include/trace/events/ |
A D | ext4.h | 1210 TP_PROTO(struct inode *inode, int used_blocks, int quota_claim), 1212 TP_ARGS(inode, used_blocks, quota_claim), 1218 __field( int, used_blocks ) 1228 __entry->used_blocks = used_blocks; 1240 __entry->used_blocks, __entry->reserved_data_blocks,
|
Completed in 36 milliseconds