Searched refs:calc_pages_for (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/include/linux/ceph/ |
D | libceph.h | 180 static inline int calc_pages_for(u64 off, u64 len) in calc_pages_for() function
|
/linux-6.6.21/fs/ceph/ |
D | addr.c | 283 calc_pages_for(osd_data->alignment, in finish_netfs_read() 873 num_pages = calc_pages_for((u64)osd_data->alignment, in writepages_finish() 1120 max_pages = calc_pages_for(0, (u64)len); in ceph_writepages_start()
|
D | file.c | 1028 num_pages = calc_pages_for(read_off, read_len); in __ceph_sync_read() 1681 num_pages = calc_pages_for(write_pos, write_len); in ceph_sync_write()
|
/linux-6.6.21/net/ceph/ |
D | messenger.c | 843 page_count = calc_pages_for(data->alignment, (u64)data->length); in ceph_msg_data_pages_cursor_init() 1876 int num_pages = calc_pages_for(data->alignment, data->length); in ceph_msg_data_destroy()
|
D | messenger_v2.c | 1029 sg_cnt += calc_pages_for(dpos, dlen); in setup_message_sgs() 1697 enc_page_cnt = calc_pages_for(0, tail_len); in prepare_message_secure() 2115 enc_page_cnt = calc_pages_for(0, tail_len); in prepare_read_tail_secure()
|
D | osd_client.c | 385 num_pages = calc_pages_for((u64)osd_data->alignment, in ceph_osd_data_release() 5538 pages = ceph_alloc_page_vector(calc_pages_for(0, data_len), in alloc_msg_with_page_vector()
|
/linux-6.6.21/drivers/block/ |
D | rbd.c | 1844 num_pages = calc_pages_for(0, object_map_bytes) + 1; in __rbd_object_map_load() 3080 obj_req->copyup_bvec_count = calc_pages_for(0, obj_overlap); in setup_copyup_bvecs() 3818 ceph_release_page_vector(reply_pages, calc_pages_for(0, reply_len)); in rbd_request_lock() 4831 int num_pages = calc_pages_for(0, buf_len); in rbd_obj_read_sync()
|