val_spec 249 drivers/infiniband/core/uverbs_ioctl.c const struct uverbs_attr_spec *val_spec = spec; val_spec 260 drivers/infiniband/core/uverbs_ioctl.c val_spec = &spec->u2.enum_def.ids[uattr->attr_data.enum_data.elem_id]; val_spec 263 drivers/infiniband/core/uverbs_ioctl.c if (val_spec->type != UVERBS_ATTR_TYPE_PTR_IN) val_spec 274 drivers/infiniband/core/uverbs_ioctl.c if (uattr->len > val_spec->u.ptr.len && val_spec 275 drivers/infiniband/core/uverbs_ioctl.c val_spec->zero_trailing && val_spec 276 drivers/infiniband/core/uverbs_ioctl.c !uverbs_is_attr_cleared(uattr, val_spec->u.ptr.len)) val_spec 281 drivers/infiniband/core/uverbs_ioctl.c if (uattr->len < val_spec->u.ptr.min_len || val_spec 282 drivers/infiniband/core/uverbs_ioctl.c (!val_spec->zero_trailing && val_spec 283 drivers/infiniband/core/uverbs_ioctl.c uattr->len > val_spec->u.ptr.len)) val_spec 293 drivers/infiniband/core/uverbs_ioctl.c if (val_spec->alloc_and_copy && !uverbs_attr_ptr_is_inline(e)) {