Lines Matching defs:count
79 /* maximum retry count for injected failure */
187 unsigned char compress_ext_cnt; /* extension count */
188 unsigned char nocompress_ext_cnt; /* nocompress extension count */
335 /* minimum discard granularity, unit: block count */
337 /* default discard granularity of inner discard thread, unit: block count */
339 /* default maximum discard granularity of ordered discard, unit: block count */
366 unsigned short ref; /* reference count */
371 unsigned short bio_ref; /* bio reference count */
418 atomic_t discard_cmd_cnt; /* # of cached cmd count */
581 #define DEFAULT_RETRY_IO_COUNT 8 /* maximum retry read IO or flush count */
586 /* maximum retry quota flush count */
592 #define F2FS_LINK_MAX 0xffffffff /* maximum link count per file */
676 atomic_t total_ext_tree; /* extent tree count */
678 atomic_t total_zombie_tree; /* extent zombie tree count */
679 atomic_t total_ext_node; /* extent info count */
942 unsigned short *free_nid_count; /* free nid count of NAT block */
1272 unsigned int victim_count; /* victim count in rb-tree */
1274 unsigned int max_candidate_count; /* max candidate count */
1462 unsigned int cluster_size; /* page count in cluster */
1483 atomic_t pending_pages; /* in-flight compressed page count */
1491 unsigned int cluster_size; /* page count in cluster */
1567 int page_eio_cnt[NR_PAGE_TYPE]; /* EIO count */
1619 unsigned int total_sections; /* total section count */
1620 unsigned int total_node_count; /* total node block count */
1621 unsigned int total_valid_node_count; /* valid node block count */
1647 atomic_t wb_sync_req[META]; /* count # of WB_SYNC threads */
1649 /* valid inode count */
1665 /* remaining trial count for GC_URGENT_* and GC_IDLE_* */
1792 atomic_t compress_page_hit; /* cache hit count */
2252 struct inode *inode, blkcnt_t *count, bool partial)
2258 ret = dquot_reserve_block(inode, *count);
2263 release = *count;
2268 * let's increase this in prior to actual block count change in order
2271 percpu_counter_add(&sbi->alloc_valid_block_count, (*count));
2274 sbi->total_valid_block_count += (block_t)(*count);
2298 if (diff > *count)
2299 diff = *count;
2300 *count -= diff;
2303 if (!*count) {
2314 f2fs_i_blocks_write(inode, *count, true, true);
2414 block_t count)
2416 blkcnt_t sectors = count << F2FS_LOG_SECTORS_PER_BLOCK;
2419 f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count);
2420 sbi->total_valid_block_count -= (block_t)count;
2424 sbi->current_reserved_blocks + count);
2434 f2fs_i_blocks_write(inode, count, false, true);
3118 unsigned int count)
3120 F2FS_I(inode)->i_gc_failures[GC_FAILURE_PIN] = count;
3493 void f2fs_truncate_data_blocks_range(struct dnode_of_data *dn, int count);
3828 int f2fs_reserve_new_blocks(struct dnode_of_data *dn, blkcnt_t count);
3903 /* to count memory footprint */