Searched refs:cfs_size_round (Results 1 – 14 of 14) sorted by relevance
43 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()
49 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()
2198 cl_object_header(clob)->coh_page_bufsize += cfs_size_round(size); in cl_object_page_init()
125 __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()
809 #define CR_MAXSIZE cfs_size_round(2 * NAME_MAX + 2 + \1251 static inline int cfs_size_round(int val) in cfs_size_round() function1263 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()
319 static inline size_t cfs_size_round(int val) in cfs_size_round() function346 return cfs_size_round((int)strlen(fset) + 1); in cfs_round_strlen()353 ptr += cfs_size_round(len); \360 ptr += cfs_size_round(len); \
130 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()
55 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()
2096 size += cfs_size_round(fmt->rf_fields[loc].d[i]-> in req_capsule_fmt_size()
293 hdr->coh_page_bufsize = cfs_size_round(sizeof(struct cl_page)); in vvp_object_alloc()
207 cfs_size_round(sizeof(struct lov_page)); in lov_page_slice_fixup()
1531 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()
491 hdr->coh_page_bufsize = cfs_size_round(sizeof(struct cl_page)); in echo_object_alloc()
2288 return cfs_size_round(sizeof(*oap)); in osc_prep_async_page()