Searched refs:cfs_size_round (Results 1 – 14 of 14) sorted by relevance
53 cfs_size_round(offsetof (struct lustre_cfg, lcfg_buflens[(count)]))169 offset += cfs_size_round(lcfg->lcfg_buflens[i]); in lustre_cfg_buf()201 cfs_size_round(lcfg->lcfg_buflens[index]) - 1); in lustre_cfg_string()219 len += cfs_size_round(buflens[i]); in lustre_cfg_len()221 return cfs_size_round(len); in lustre_cfg_len()
180 int len = cfs_size_round(sizeof(struct obd_ioctl_data)); in obd_ioctl_packlen()181 len += cfs_size_round(data->ioc_inllen1); in obd_ioctl_packlen()182 len += cfs_size_round(data->ioc_inllen2); in obd_ioctl_packlen()183 len += cfs_size_round(data->ioc_inllen3); in obd_ioctl_packlen()184 len += cfs_size_round(data->ioc_inllen4); in obd_ioctl_packlen()
352 return cfs_size_round(len); in llog_data_len()
148 len += cfs_size_round(data->ioc_inllen1); in libcfs_ioctl_packlen()149 len += cfs_size_round(data->ioc_inllen2); in libcfs_ioctl_packlen()201 data->ioc_bulk[cfs_size_round(data->ioc_inllen1) + in libcfs_ioctl_is_invalid()
469 static inline int cfs_size_round(int val) in cfs_size_round() function496 return (size_t)cfs_size_round((int)strlen(fset) + 1); in cfs_round_strlen()516 ptr += cfs_size_round(len); \523 ptr += cfs_size_round(len); \532 ptr += cfs_size_round(len + 1); \
136 offset += cfs_size_round(data->ioc_inllen1); in obd_ioctl_getdata()141 offset += cfs_size_round(data->ioc_inllen2); in obd_ioctl_getdata()146 offset += cfs_size_round(data->ioc_inllen3); in obd_ioctl_getdata()
757 #define CR_MAXSIZE cfs_size_round(2*NAME_MAX + 1 + \1105 static inline int cfs_size_round (int val) in cfs_size_round() function1116 cfs_size_round(strlen(hal-> \ in hai_zero()1124 cfs_size_round(hai->hai_len)); in hai_next()1133 sz = sizeof(*hal) + cfs_size_round(strlen(hal->hal_fsname) + 1); in hal_size()1136 sz += cfs_size_round(hai->hai_len); in hal_size()
87 cfs_size_round(data->ioc_inllen1); in libcfs_ioctl_getdata()
107 /* for mockup below */ 2 * cfs_size_round(sizeof(*hai)); in mdc_kuc_write()
1203 keylen = cfs_size_round(sizeof(KEY_FID2PATH)) + sizeof(*gf); in mdc_ioc_fid2path()1208 memcpy(key + cfs_size_round(sizeof(KEY_FID2PATH)), gf, sizeof(*gf)); in mdc_ioc_fid2path()
57 return cfs_size_round(offsetof(struct lustre_msg_v2, in lustre_msg_hdr_size_v2()143 size += cfs_size_round(lengths[i]); in lustre_msg_size_v2()423 offset += cfs_size_round(m->lm_buflens[i]); in lustre_msg_buf_v2()456 tail_len += cfs_size_round(msg->lm_buflens[n]); in lustre_shrink_msg_v2()552 required_len += cfs_size_round(m->lm_buflens[i]); in lustre_unpack_msg_v2()
2246 size += cfs_size_round(fmt->rf_fields[loc].d[i]-> in req_capsule_fmt_size()2418 cfs_size_round(rs->rs_msg->lm_buflens[offset]) - from; in req_capsule_server_grow()
691 LASSERT(cfs_size_round(buflen) == buflen); in llog_write_rec()
2201 return cfs_size_round(sizeof(*oap)); in osc_prep_async_page()