Searched refs:used_blocks (Results 1 – 14 of 14) sorted by relevance
/linux-4.1.27/drivers/mtd/ubi/ |
D | fastmap.c | 825 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap() 862 int i, used_blocks, pnum, ret = 0; in ubi_scan_fastmap() local 903 used_blocks = be32_to_cpu(fmsb->used_blocks); in ubi_scan_fastmap() 904 if (used_blocks > UBI_FM_MAX_BLOCKS || used_blocks < 1) { in ubi_scan_fastmap() 906 used_blocks); in ubi_scan_fastmap() 911 fm_size = ubi->leb_size * used_blocks; in ubi_scan_fastmap() 931 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap() 1020 fm->used_blocks = used_blocks; in ubi_scan_fastmap() 1029 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap() 1134 fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); in ubi_write_fastmap() [all …]
|
D | ubi-media.h | 422 __be32 used_blocks; member
|
D | fastmap-wl.c | 339 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close()
|
D | ubi.h | 241 int used_blocks; member
|
D | wl.c | 1585 found_pebs + ubi->fm->used_blocks); 1587 for (i = 0; i < ubi->fm->used_blocks; i++) {
|
/linux-4.1.27/fs/befs/ |
D | super.c | 41 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks); in befs_load_sb()
|
D | befs.h | 37 befs_off_t used_blocks; member
|
D | befs_fs_types.h | 121 fs64 used_blocks; member
|
D | debug.c | 171 befs_debug(sb, " used_blocks %llu", fs64_to_cpu(sb, sup->used_blocks)); in befs_dump_super_block()
|
D | linuxvfs.c | 914 buf->f_bfree = BEFS_SB(sb)->num_blocks - BEFS_SB(sb)->used_blocks; in befs_statfs()
|
/linux-4.1.27/include/linux/ |
D | shmem_fs.h | 30 struct percpu_counter used_blocks; /* How many are allocated */ member
|
/linux-4.1.27/mm/ |
D | shmem.c | 243 percpu_counter_add(&sbinfo->used_blocks, -freed); in shmem_recalc_inode() 1161 if (percpu_counter_compare(&sbinfo->used_blocks, in shmem_getpage_gfp() 1166 percpu_counter_inc(&sbinfo->used_blocks); in shmem_getpage_gfp() 1249 percpu_counter_add(&sbinfo->used_blocks, -1); in shmem_getpage_gfp() 2190 percpu_counter_sum(&sbinfo->used_blocks); in shmem_statfs() 2855 if (percpu_counter_compare(&sbinfo->used_blocks, config.max_blocks) > 0) in shmem_remount_fs() 2983 percpu_counter_destroy(&sbinfo->used_blocks); in shmem_put_super() 3029 if (percpu_counter_init(&sbinfo->used_blocks, 0, GFP_KERNEL)) in shmem_fill_super()
|
/linux-4.1.27/fs/gfs2/ |
D | log.c | 896 unsigned int used_blocks = sdp->sd_jdesc->jd_blocks - atomic_read(&sdp->sd_log_blks_free); in gfs2_ail_flush_reqd() local 897 return used_blocks >= atomic_read(&sdp->sd_log_thresh2); in gfs2_ail_flush_reqd()
|
/linux-4.1.27/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 ) 1165 __entry->used_blocks = used_blocks; 1182 __entry->used_blocks, __entry->reserved_data_blocks,
|