Searched refs:val_spec (Results 1 – 1 of 1) sorted by relevance
244 const struct uverbs_attr_spec *val_spec = spec; in uverbs_process_attr() local255 val_spec = &spec->u2.enum_def.ids[uattr->attr_data.enum_data.elem_id]; in uverbs_process_attr()258 if (val_spec->type != UVERBS_ATTR_TYPE_PTR_IN) in uverbs_process_attr()269 if (uattr->len > val_spec->u.ptr.len && in uverbs_process_attr()270 val_spec->zero_trailing && in uverbs_process_attr()271 !uverbs_is_attr_cleared(uattr, val_spec->u.ptr.len)) in uverbs_process_attr()276 if (uattr->len < val_spec->u.ptr.min_len || in uverbs_process_attr()277 (!val_spec->zero_trailing && in uverbs_process_attr()278 uattr->len > val_spec->u.ptr.len)) in uverbs_process_attr()288 if (val_spec->alloc_and_copy && !uverbs_attr_ptr_is_inline(e)) { in uverbs_process_attr()
Completed in 4 milliseconds