Home
last modified time | relevance | path

Searched refs:alloc_hint (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/lib/
Dsbitmap.c140 unsigned int alloc_hint, bool round_robin) in sbitmap_find_bit_in_index() argument
146 sb->map[index].depth, alloc_hint, in sbitmap_find_bit_in_index()
157 int sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint, bool round_robin) in sbitmap_get() argument
162 index = SB_NR_TO_INDEX(sb, alloc_hint); in sbitmap_get()
170 alloc_hint = SB_NR_TO_BIT(sb, alloc_hint); in sbitmap_get()
172 alloc_hint = 0; in sbitmap_get()
175 nr = sbitmap_find_bit_in_index(sb, index, alloc_hint, in sbitmap_get()
183 alloc_hint = 0; in sbitmap_get()
192 int sbitmap_get_shallow(struct sbitmap *sb, unsigned int alloc_hint, in sbitmap_get_shallow() argument
198 index = SB_NR_TO_INDEX(sb, alloc_hint); in sbitmap_get_shallow()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dsbitmap.h109 unsigned int __percpu *alloc_hint; member
190 int sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint, bool round_robin);
208 int sbitmap_get_shallow(struct sbitmap *sb, unsigned int alloc_hint,
377 free_percpu(sbq->alloc_hint); in sbitmap_queue_free()
/kernel/linux/linux-5.10/fs/btrfs/
Dinode-map.c407 u64 alloc_hint = 0; in btrfs_save_ino_cache() local
504 prealloc, prealloc, &alloc_hint); in btrfs_save_ino_cache()
Dinode.c771 u64 alloc_hint = 0; in submit_compressed_extents() local
823 0, alloc_hint, &ins, 1, 1); in submit_compressed_extents()
909 alloc_hint = ins.objectid + ins.offset; in submit_compressed_extents()
937 u64 alloc_hint = 0; in get_extent_allocation_hint() local
951 alloc_hint = em->block_start; in get_extent_allocation_hint()
955 alloc_hint = em->block_start; in get_extent_allocation_hint()
961 return alloc_hint; in get_extent_allocation_hint()
984 u64 alloc_hint = 0; in cow_file_range() local
1035 alloc_hint = get_extent_allocation_hint(inode, start, num_bytes); in cow_file_range()
1057 min_alloc_size, 0, alloc_hint, in cow_file_range()
[all …]
Dfile.c3105 u64 alloc_hint = 0; in btrfs_zero_range() local
3152 alloc_hint = em->block_start + em->len; in btrfs_zero_range()
3255 offset + len, &alloc_hint); in btrfs_zero_range()
3287 u64 alloc_hint = 0; in btrfs_fallocate() local
3450 offset + len, &alloc_hint); in btrfs_fallocate()
Dblock-group.c2371 u64 alloc_hint = 0; in cache_save_setup() local
2496 &alloc_hint); in cache_save_setup()
Dctree.h3062 loff_t actual_len, u64 *alloc_hint);
3066 loff_t actual_len, u64 *alloc_hint);
Drelocation.c2609 u64 alloc_hint = 0; in prealloc_file_extent_cluster() local
2638 end + 1, &alloc_hint); in prealloc_file_extent_cluster()
/kernel/linux/linux-5.10/include/linux/ceph/
Drados.h534 } __attribute__ ((packed)) alloc_hint; member
Dosd_client.h140 } alloc_hint; member
/kernel/linux/linux-5.10/net/ceph/
Dosd_client.c943 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()