Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Dsbitmap.c114 int sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint, bool round_robin) in sbitmap_get() argument
119 index = SB_NR_TO_INDEX(sb, alloc_hint); in sbitmap_get()
124 SB_NR_TO_BIT(sb, alloc_hint), in sbitmap_get()
133 alloc_hint = index << sb->shift; in sbitmap_get()
137 alloc_hint = 0; in sbitmap_get()
145 int sbitmap_get_shallow(struct sbitmap *sb, unsigned int alloc_hint, in sbitmap_get_shallow() argument
151 index = SB_NR_TO_INDEX(sb, alloc_hint); in sbitmap_get_shallow()
156 SB_NR_TO_BIT(sb, alloc_hint), true); in sbitmap_get_shallow()
164 alloc_hint = index << sb->shift; in sbitmap_get_shallow()
168 alloc_hint = 0; in sbitmap_get_shallow()
[all …]
/Linux-v4.19/include/linux/
Dsbitmap.h110 unsigned int __percpu *alloc_hint; member
186 int sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint, bool round_robin);
204 int sbitmap_get_shallow(struct sbitmap *sb, unsigned int alloc_hint,
369 free_percpu(sbq->alloc_hint); in sbitmap_queue_free()
/Linux-v4.19/fs/btrfs/
Dinode-map.c388 u64 alloc_hint = 0; in btrfs_save_ino_cache() local
484 prealloc, prealloc, &alloc_hint); in btrfs_save_ino_cache()
Dinode.c712 u64 alloc_hint = 0; in submit_compressed_extents() local
774 0, alloc_hint, &ins, 1, 1); in submit_compressed_extents()
865 alloc_hint = ins.objectid + ins.offset; in submit_compressed_extents()
895 u64 alloc_hint = 0; in get_extent_allocation_hint() local
909 alloc_hint = em->block_start; in get_extent_allocation_hint()
913 alloc_hint = em->block_start; in get_extent_allocation_hint()
919 return alloc_hint; in get_extent_allocation_hint()
943 u64 alloc_hint = 0; in cow_file_range() local
994 alloc_hint = get_extent_allocation_hint(inode, start, num_bytes); in cow_file_range()
1001 fs_info->sectorsize, 0, alloc_hint, in cow_file_range()
[all …]
Dfile.c2789 u64 alloc_hint = 0; in btrfs_zero_range() local
2836 alloc_hint = em->block_start + em->len; in btrfs_zero_range()
2935 offset + len, &alloc_hint); in btrfs_zero_range()
2967 u64 alloc_hint = 0; in btrfs_fallocate() local
3126 offset + len, &alloc_hint); in btrfs_fallocate()
Dctree.h3198 loff_t actual_len, u64 *alloc_hint);
3202 loff_t actual_len, u64 *alloc_hint);
Drelocation.c3053 u64 alloc_hint = 0; in prealloc_file_extent_cluster() local
3088 end + 1, &alloc_hint); in prealloc_file_extent_cluster()
Dextent-tree.c3323 u64 alloc_hint = 0; in cache_save_setup() local
3448 &alloc_hint); in cache_save_setup()
/Linux-v4.19/include/linux/ceph/
Drados.h499 } __attribute__ ((packed)) alloc_hint; member
Dosd_client.h138 } alloc_hint; member
/Linux-v4.19/net/ceph/
Dosd_client.c864 op->alloc_hint.expected_object_size = expected_object_size; in osd_req_op_alloc_hint_init()
865 op->alloc_hint.expected_write_size = expected_write_size; in osd_req_op_alloc_hint_init()
943 dst->alloc_hint.expected_object_size = in osd_req_encode_op()
944 cpu_to_le64(src->alloc_hint.expected_object_size); in osd_req_encode_op()
945 dst->alloc_hint.expected_write_size = in osd_req_encode_op()
946 cpu_to_le64(src->alloc_hint.expected_write_size); in osd_req_encode_op()