Searched refs:used_blocks (Results 1 – 14 of 14) sorted by relevance
/Linux-v4.19/drivers/mtd/ubi/ |
D | fastmap.c | 790 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap() 868 int i, used_blocks, pnum, fm_anchor, ret = 0; in ubi_scan_fastmap() local 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() 1188 fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); in ubi_write_fastmap() [all …]
|
D | ubi-media.h | 412 __be32 used_blocks; member
|
D | ubi.h | 256 int used_blocks; member 1229 for (i = 0; i < ubi->fm->used_blocks; i++) { in ubi_find_fm_block()
|
D | fastmap-wl.c | 369 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close()
|
/Linux-v4.19/fs/befs/ |
D | super.c | 37 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks); in befs_load_sb()
|
D | befs.h | 38 befs_off_t used_blocks; member
|
D | befs_fs_types.h | 122 fs64 used_blocks; member
|
D | debug.c | 173 befs_debug(sb, " used_blocks %llu", fs64_to_cpu(sb, sup->used_blocks)); in befs_dump_super_block()
|
D | linuxvfs.c | 964 buf->f_bfree = BEFS_SB(sb)->num_blocks - BEFS_SB(sb)->used_blocks; in befs_statfs()
|
/Linux-v4.19/include/linux/ |
D | shmem_fs.h | 29 struct percpu_counter used_blocks; /* How many are allocated */ member
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | pio.c | 238 int used_blocks; in init_sc_pools_and_sizes() local 426 used_blocks = 0; in init_sc_pools_and_sizes() 440 used_blocks += dd->sc_sizes[i].size * dd->sc_sizes[i].count; in init_sc_pools_and_sizes() 442 extra = total_blocks - used_blocks; in init_sc_pools_and_sizes()
|
/Linux-v4.19/mm/ |
D | shmem.c | 202 if (percpu_counter_compare(&sbinfo->used_blocks, in shmem_inode_acct_block() 205 percpu_counter_add(&sbinfo->used_blocks, pages); in shmem_inode_acct_block() 221 percpu_counter_sub(&sbinfo->used_blocks, pages); in shmem_inode_unacct_blocks() 2781 percpu_counter_sum(&sbinfo->used_blocks); in shmem_statfs() 3412 if (percpu_counter_compare(&sbinfo->used_blocks, config.max_blocks) > 0) in shmem_remount_fs() 3476 percpu_counter_destroy(&sbinfo->used_blocks); in shmem_put_super() 3522 if (percpu_counter_init(&sbinfo->used_blocks, 0, GFP_KERNEL)) in shmem_fill_super()
|
/Linux-v4.19/fs/gfs2/ |
D | log.c | 970 unsigned int used_blocks = sdp->sd_jdesc->jd_blocks - atomic_read(&sdp->sd_log_blks_free); in gfs2_ail_flush_reqd() local 975 return used_blocks + atomic_read(&sdp->sd_log_blks_needed) >= in gfs2_ail_flush_reqd()
|
/Linux-v4.19/include/trace/events/ |
D | ext4.h | 1145 TP_PROTO(struct inode *inode, int used_blocks, int quota_claim), 1147 TP_ARGS(inode, used_blocks, quota_claim), 1153 __field( int, used_blocks ) 1163 __entry->used_blocks = used_blocks; 1175 __entry->used_blocks, __entry->reserved_data_blocks,
|