Lines Matching defs:host
13 #include "../host/nvme.h"
45 * which depends on the host's memory fragementation. To solve this,
72 /* don't support host memory buffer */
92 * the nvme/host/core.c in the nvme_init_subsystem()->nvme_active_ctrl()
293 * We need to emulate set host behaviour to ensure that any requested
294 * behaviour of the target's host matches the requested behaviour
295 * of the device's host and fail otherwise.
300 struct nvme_feat_host_behavior *host;
304 host = kzalloc(sizeof(*host) * 2, GFP_KERNEL);
305 if (!host)
309 host, sizeof(*host), NULL);
313 status = nvmet_copy_from_sgl(req, 0, &host[1], sizeof(*host));
317 if (memcmp(&host[0], &host[1], sizeof(host[0]))) {
318 pr_warn("target host has requested different behaviour from the local host\n");
323 kfree(host);