Home
last modified time | relevance | path

Searched refs:used_blocks (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/drivers/mtd/ubi/
Dfastmap.c825 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 …]
Dubi-media.h422 __be32 used_blocks; member
Dfastmap-wl.c339 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close()
Dubi.h241 int used_blocks; member
Dwl.c1585 found_pebs + ubi->fm->used_blocks);
1587 for (i = 0; i < ubi->fm->used_blocks; i++) {
/linux-4.1.27/fs/befs/
Dsuper.c41 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks); in befs_load_sb()
Dbefs.h37 befs_off_t used_blocks; member
Dbefs_fs_types.h121 fs64 used_blocks; member
Ddebug.c171 befs_debug(sb, " used_blocks %llu", fs64_to_cpu(sb, sup->used_blocks)); in befs_dump_super_block()
Dlinuxvfs.c914 buf->f_bfree = BEFS_SB(sb)->num_blocks - BEFS_SB(sb)->used_blocks; in befs_statfs()
/linux-4.1.27/include/linux/
Dshmem_fs.h30 struct percpu_counter used_blocks; /* How many are allocated */ member
/linux-4.1.27/mm/
Dshmem.c243 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/
Dlog.c896 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/
Dext4.h1145 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,