Searched refs:alloc_hint (Results 1 – 10 of 10) sorted by relevance
/linux/lib/ |
A D | sbitmap.c | 17 if (!sb->alloc_hint) in init_alloc_hint() 85 bool alloc_hint) in sbitmap_init_node() argument 107 if (alloc_hint) { in sbitmap_init_node() 111 sb->alloc_hint = NULL; in sbitmap_init_node() 116 free_percpu(sb->alloc_hint); in sbitmap_init_node() 181 unsigned int alloc_hint) in sbitmap_find_bit_in_index() argument 211 alloc_hint = SB_NR_TO_BIT(sb, alloc_hint); in __sbitmap_get() 213 alloc_hint = 0; in __sbitmap_get() 223 alloc_hint = 0; in __sbitmap_get() 249 unsigned int alloc_hint, in __sbitmap_get_shallow() argument [all …]
|
/linux/include/linux/ |
A D | sbitmap.h | 84 unsigned int __percpu *alloc_hint; member 165 gfp_t flags, int node, bool round_robin, bool alloc_hint); 173 free_percpu(sb->alloc_hint); in sbitmap_free() 335 if (likely(sb->alloc_hint && !sb->round_robin && bitnr < sb->depth)) in sbitmap_put() 336 *raw_cpu_ptr(sb->alloc_hint) = bitnr; in sbitmap_put()
|
/linux/fs/btrfs/ |
A D | inode.c | 924 u64 *alloc_hint) in submit_one_async_extent() argument 956 0, *alloc_hint, &ins, 1, 1); in submit_one_async_extent() 1046 u64 alloc_hint = 0; in submit_compressed_extents() local 1060 &alloc_hint); in submit_compressed_extents() 1073 u64 alloc_hint = 0; in get_extent_allocation_hint() local 1087 alloc_hint = em->block_start; in get_extent_allocation_hint() 1091 alloc_hint = em->block_start; in get_extent_allocation_hint() 1097 return alloc_hint; in get_extent_allocation_hint() 1120 u64 alloc_hint = 0; in cow_file_range() local 7431 u64 alloc_hint; in btrfs_new_extent_direct() local [all …]
|
A D | file.c | 3216 u64 alloc_hint = 0; in btrfs_zero_range() local 3263 alloc_hint = em->block_start + em->len; in btrfs_zero_range() 3368 offset + len, &alloc_hint); in btrfs_zero_range() 3400 u64 alloc_hint = 0; in btrfs_fallocate() local 3567 offset + len, &alloc_hint); in btrfs_fallocate()
|
A D | block-group.c | 2695 u64 alloc_hint = 0; in cache_save_setup() local 2823 &alloc_hint); in cache_save_setup()
|
A D | ctree.h | 3264 loff_t actual_len, u64 *alloc_hint); 3268 loff_t actual_len, u64 *alloc_hint);
|
A D | relocation.c | 2783 u64 alloc_hint = 0; in prealloc_file_extent_cluster() local 2872 end + 1, &alloc_hint); in prealloc_file_extent_cluster()
|
/linux/include/linux/ceph/ |
A D | rados.h | 534 } __attribute__ ((packed)) alloc_hint; member
|
A D | osd_client.h | 140 } alloc_hint; member
|
/linux/net/ceph/ |
A D | osd_client.c | 943 op->alloc_hint.expected_object_size = expected_object_size; in osd_req_op_alloc_hint_init() 944 op->alloc_hint.expected_write_size = expected_write_size; in osd_req_op_alloc_hint_init() 945 op->alloc_hint.flags = flags; in osd_req_op_alloc_hint_init() 1017 dst->alloc_hint.expected_object_size = in osd_req_encode_op() 1018 cpu_to_le64(src->alloc_hint.expected_object_size); in osd_req_encode_op() 1019 dst->alloc_hint.expected_write_size = in osd_req_encode_op() 1020 cpu_to_le64(src->alloc_hint.expected_write_size); in osd_req_encode_op() 1021 dst->alloc_hint.flags = cpu_to_le32(src->alloc_hint.flags); in osd_req_encode_op()
|
Completed in 82 milliseconds