Lines Matching refs:buf_len
85 unsigned int buf_len) in cxl_pmem_get_config_size() argument
87 if (sizeof(*cmd) > buf_len) in cxl_pmem_get_config_size()
100 unsigned int buf_len) in cxl_pmem_get_config_data() argument
105 if (sizeof(*cmd) > buf_len) in cxl_pmem_get_config_data()
107 if (struct_size(cmd, out_buf, cmd->in_length) > buf_len) in cxl_pmem_get_config_data()
125 unsigned int buf_len) in cxl_pmem_set_config_data() argument
130 if (sizeof(*cmd) > buf_len) in cxl_pmem_set_config_data()
134 if (struct_size(cmd, in_buf, cmd->in_length) + 4 > buf_len) in cxl_pmem_set_config_data()
162 void *buf, unsigned int buf_len) in cxl_pmem_nvdimm_ctl() argument
174 return cxl_pmem_get_config_size(cxlm, buf, buf_len); in cxl_pmem_nvdimm_ctl()
176 return cxl_pmem_get_config_data(cxlm, buf, buf_len); in cxl_pmem_nvdimm_ctl()
178 return cxl_pmem_set_config_data(cxlm, buf, buf_len); in cxl_pmem_nvdimm_ctl()
186 unsigned int buf_len, int *cmd_rc) in cxl_pmem_ctl() argument
196 return cxl_pmem_nvdimm_ctl(nvdimm, cmd, buf, buf_len); in cxl_pmem_ctl()