Searched refs:ctl (Results 1 - 8 of 8) sorted by relevance

/fs/btrfs/
H A Dfree-space-cache.c34 static int link_free_space(struct btrfs_free_space_ctl *ctl,
36 static void unlink_free_space(struct btrfs_free_space_ctl *ctl,
609 static void merge_space_tree(struct btrfs_free_space_ctl *ctl) argument
615 spin_lock(&ctl->tree_lock);
616 for (n = rb_first(&ctl->free_space_offset); n; n = rb_next(n)) {
623 unlink_free_space(ctl, prev);
624 unlink_free_space(ctl, e);
627 link_free_space(ctl, prev);
629 spin_unlock(&ctl->tree_lock);
635 spin_unlock(&ctl
638 __load_free_space_cache(struct btrfs_root *root, struct inode *inode, struct btrfs_free_space_ctl *ctl, struct btrfs_path *path, u64 offset) argument
801 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
875 write_cache_extent_entries(struct io_ctl *io_ctl, struct btrfs_free_space_ctl *ctl, struct btrfs_block_group_cache *block_group, int *entries, int *bitmaps, struct list_head *bitmap_list) argument
1096 __btrfs_write_out_cache(struct btrfs_root *root, struct inode *inode, struct btrfs_free_space_ctl *ctl, struct btrfs_block_group_cache *block_group, struct btrfs_trans_handle *trans, struct btrfs_path *path, u64 offset) argument
1210 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
1264 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, u64 offset) argument
1338 tree_search_offset(struct btrfs_free_space_ctl *ctl, u64 offset, int bitmap_only, int fuzzy) argument
1454 __unlink_free_space(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info) argument
1461 unlink_free_space(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info) argument
1468 link_free_space(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info) argument
1484 recalculate_thresholds(struct btrfs_free_space_ctl *ctl) argument
1532 __bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, u64 offset, u64 bytes) argument
1547 bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, u64 offset, u64 bytes) argument
1555 bitmap_set_bits(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, u64 offset, u64 bytes) argument
1575 search_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *bitmap_info, u64 *offset, u64 *bytes) argument
1614 find_free_space(struct btrfs_free_space_ctl *ctl, u64 *offset, u64 *bytes, unsigned long align, u64 *max_extent_size) argument
1679 add_new_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, u64 offset) argument
1691 free_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *bitmap_info) argument
1701 remove_from_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *bitmap_info, u64 *offset, u64 *bytes) argument
1777 add_bytes_to_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, u64 offset, u64 bytes) argument
1794 use_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info) argument
1838 insert_into_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info) argument
1954 try_merge_free_space(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, bool update_stat) argument
2000 steal_from_bitmap_to_end(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, bool update_stat) argument
2033 steal_from_bitmap_to_front(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, bool update_stat) argument
2097 steal_from_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, bool update_stat) argument
2122 __btrfs_add_free_space(struct btrfs_free_space_ctl *ctl, u64 offset, u64 bytes) argument
2179 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
2269 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
2291 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
2319 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
2356 __btrfs_remove_free_space_cache_locked( struct btrfs_free_space_ctl *ctl) argument
2378 __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) argument
2387 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
2414 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
2466 struct btrfs_free_space_ctl *ctl; local
2503 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
2534 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
2620 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
2687 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
2778 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
2826 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
2956 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
3029 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; local
3122 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; local
3198 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; local
3243 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; local
3272 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; local
3338 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; local
[all...]
H A Dinode-map.c33 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; local
107 __btrfs_add_free_space(ctl, last + 1,
118 __btrfs_add_free_space(ctl, last + 1,
139 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; local
173 __btrfs_add_free_space(ctl, objectid,
247 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; local
271 __btrfs_add_free_space(ctl, info->offset, count);
285 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) argument
292 n = rb_last(&ctl->free_space_offset);
294 ctl
320 use_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info) argument
335 pinned_recalc_thresholds(struct btrfs_free_space_ctl *ctl) argument
339 pinned_use_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info) argument
359 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; local
386 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; local
[all...]
H A Dfree-space-cache.h44 void (*recalc_thresholds)(struct btrfs_free_space_ctl *ctl);
45 bool (*use_bitmap)(struct btrfs_free_space_ctl *ctl,
82 int __btrfs_add_free_space(struct btrfs_free_space_ctl *ctl,
93 void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl);
H A Dextent-tree.c315 struct btrfs_caching_control *ctl; local
329 ctl = cache->caching_ctl;
330 atomic_inc(&ctl->count);
332 return ctl;
335 static void put_caching_control(struct btrfs_caching_control *ctl) argument
337 if (atomic_dec_and_test(&ctl->count))
338 kfree(ctl);
572 struct btrfs_caching_control *ctl; local
574 ctl = cache->caching_ctl;
575 atomic_inc(&ctl
[all...]
/fs/ncpfs/
H A Ddir.c445 struct ncp_cache_control ctl; local
449 ctl.page = NULL;
450 ctl.cache = NULL;
467 ctl.cache = cache = kmap(page);
468 ctl.head = cache->head;
470 if (!PageUptodate(page) || !ctl.head.eof)
474 if (jiffies - ctl.head.time >= NCP_MAX_AGE(server))
479 if ((!mtime) || (mtime != ctl.head.mtime))
483 if (ctx->pos > ctl.head.end)
486 ctl
583 struct ncp_cache_control ctl = *ctrl; local
685 ncp_read_volume_list(struct file *file, struct dir_context *ctx, struct ncp_cache_control *ctl) argument
721 ncp_do_readdir(struct file *file, struct dir_context *ctx, struct ncp_cache_control *ctl) argument
[all...]
/fs/xfs/
H A Dxfs_sysctl.c28 struct ctl_table *ctl,
34 int c, ret, *valp = ctl->data;
37 ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos);
58 struct ctl_table *ctl,
64 int ret, *valp = ctl->data;
66 ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos);
27 xfs_stats_clear_proc_handler( struct ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
57 xfs_panic_mask_proc_handler( struct ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/fs/btrfs/tests/
H A Dfree-space-tests.c369 static bool test_use_bitmap(struct btrfs_free_space_ctl *ctl, argument
372 return ctl->free_extents > 0;
/fs/ocfs2/
H A Ddlmglue.c3359 struct ocfs2_unblock_ctl *ctl)
3412 ctl->requeue = 1;
3502 ctl->unblock_action = lockres->l_ops->downconvert_worker(lockres, blocking);
3504 if (ctl->unblock_action == UNBLOCK_STOP_POST) {
3521 ctl->requeue = 0;
3549 ctl->requeue = 1;
3915 struct ocfs2_unblock_ctl ctl = {0, 0,}; local
3937 status = ocfs2_unblock_lock(osb, lockres, &ctl);
3943 if (lockres->l_flags & OCFS2_LOCK_FREEING || !ctl.requeue) {
3949 ctl
3357 ocfs2_unblock_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, struct ocfs2_unblock_ctl *ctl) argument
[all...]

Completed in 112 milliseconds