Home
last modified time | relevance | path

Searched refs:cfs_size_round (Results 1 – 14 of 14) sorted by relevance

/drivers/staging/lustre/lnet/libcfs/linux/
Dlinux-module.c43 len += cfs_size_round(data->ioc_inllen1); in libcfs_ioctl_packlen()
44 len += cfs_size_round(data->ioc_inllen2); in libcfs_ioctl_packlen()
96 data->ioc_bulk[cfs_size_round(data->ioc_inllen1) + in libcfs_ioctl_is_invalid()
116 cfs_size_round(data->ioc_inllen1); in libcfs_ioctl_data_adjust()
/drivers/staging/lustre/lustre/include/
Dlustre_cfg.h49 cfs_size_round(offsetof(struct lustre_cfg, lcfg_buflens[(count)]))
166 offset += cfs_size_round(lcfg->lcfg_buflens[i]); in lustre_cfg_buf()
199 cfs_size_round(lcfg->lcfg_buflens[index]) - 1); in lustre_cfg_string()
218 len += cfs_size_round(buflens[i]); in lustre_cfg_len()
220 return cfs_size_round(len); in lustre_cfg_len()
Dcl_object.h2198 cl_object_header(clob)->coh_page_bufsize += cfs_size_round(size); in cl_object_page_init()
/drivers/staging/lustre/lustre/include/lustre/
Dlustre_ioctl.h125 __u32 len = cfs_size_round(sizeof(*data)); in obd_ioctl_packlen()
127 len += cfs_size_round(data->ioc_inllen1); in obd_ioctl_packlen()
128 len += cfs_size_round(data->ioc_inllen2); in obd_ioctl_packlen()
129 len += cfs_size_round(data->ioc_inllen3); in obd_ioctl_packlen()
130 len += cfs_size_round(data->ioc_inllen4); in obd_ioctl_packlen()
Dlustre_user.h809 #define CR_MAXSIZE cfs_size_round(2 * NAME_MAX + 2 + \
1251 static inline int cfs_size_round(int val) in cfs_size_round() function
1263 cfs_size_round(strlen(hal-> \ in hai_first()
1272 cfs_size_round(hai->hai_len)); in hai_next()
1281 sz = sizeof(*hal) + cfs_size_round(strlen(hal->hal_fsname) + 1); in hal_size()
1284 sz += cfs_size_round(hai->hai_len); in hal_size()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h319 static inline size_t cfs_size_round(int val) in cfs_size_round() function
346 return cfs_size_round((int)strlen(fset) + 1); in cfs_round_strlen()
353 ptr += cfs_size_round(len); \
360 ptr += cfs_size_round(len); \
/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-module.c130 offset += cfs_size_round(data->ioc_inllen1); in obd_ioctl_getdata()
135 offset += cfs_size_round(data->ioc_inllen2); in obd_ioctl_getdata()
140 offset += cfs_size_round(data->ioc_inllen3); in obd_ioctl_getdata()
/drivers/staging/lustre/lustre/ptlrpc/
Dpack_generic.c55 return cfs_size_round(offsetof(struct lustre_msg_v2, in lustre_msg_hdr_size_v2()
118 size += cfs_size_round(lengths[i]); in lustre_msg_size_v2()
395 offset += cfs_size_round(m->lm_buflens[i]); in lustre_msg_buf_v2()
429 tail_len += cfs_size_round(msg->lm_buflens[n]); in lustre_shrink_msg_v2()
524 required_len += cfs_size_round(m->lm_buflens[i]); in lustre_unpack_msg_v2()
Dlayout.c2096 size += cfs_size_round(fmt->rf_fields[loc].d[i]-> in req_capsule_fmt_size()
/drivers/staging/lustre/lustre/llite/
Dvvp_object.c293 hdr->coh_page_bufsize = cfs_size_round(sizeof(struct cl_page)); in vvp_object_alloc()
/drivers/staging/lustre/lustre/lov/
Dlov_object.c207 cfs_size_round(sizeof(struct lov_page)); in lov_page_slice_fixup()
/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c1531 keylen = cfs_size_round(sizeof(KEY_FID2PATH)) + sizeof(*gf); in mdc_ioc_fid2path()
1536 memcpy(key + cfs_size_round(sizeof(KEY_FID2PATH)), gf, sizeof(*gf)); in mdc_ioc_fid2path()
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c491 hdr->coh_page_bufsize = cfs_size_round(sizeof(struct cl_page)); in echo_object_alloc()
/drivers/staging/lustre/lustre/osc/
Dosc_cache.c2288 return cfs_size_round(sizeof(*oap)); in osc_prep_async_page()