Home
last modified time | relevance | path

Searched refs:hostid (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/nvme/target/
H A Dpr.c28 nvmet_pr_find_registrant(struct nvmet_pr *pr, uuid_t *hostid) in nvmet_pr_find_registrant() argument
33 if (uuid_equal(&reg->hostid, hostid)) in nvmet_pr_find_registrant()
166 static void nvmet_pr_resv_released(struct nvmet_pr *pr, uuid_t *hostid) in nvmet_pr_resv_released()
177 if (!uuid_equal(&ctrl->hostid, hostid) && in nvmet_pr_resv_released()
178 nvmet_pr_find_registrant(pr, &ctrl->hostid)) { in nvmet_pr_resv_released()
189 static void nvmet_pr_send_event_to_host(struct nvmet_pr *pr, uuid_t *hostid, in nvmet_pr_send_event_to_host()
198 if (uuid_equal(hostid, &ctrl->hostid)) { in nvmet_pr_send_event_to_host()
160 nvmet_pr_resv_released(struct nvmet_pr * pr,uuid_t * hostid) nvmet_pr_resv_released() argument
183 nvmet_pr_send_event_to_host(struct nvmet_pr * pr,uuid_t * hostid,u8 log_type) nvmet_pr_send_event_to_host() argument
202 nvmet_pr_resv_preempted(struct nvmet_pr * pr,uuid_t * hostid) nvmet_pr_resv_preempted() argument
212 nvmet_pr_registration_preempted(struct nvmet_pr * pr,uuid_t * hostid) nvmet_pr_registration_preempted() argument
471 nvmet_pr_set_ctrl_to_abort(struct nvmet_req * req,uuid_t * hostid) nvmet_pr_set_ctrl_to_abort() argument
493 uuid_t hostid; nvmet_pr_unreg_all_host_by_prkey() local
516 uuid_t hostid; nvmet_pr_unreg_all_others_by_prkey() local
536 uuid_t hostid; nvmet_pr_unreg_all_others() local
1038 nvmet_pr_alloc_and_insert_pc_ref(struct nvmet_ns * ns,unsigned long idx,uuid_t * hostid) nvmet_pr_alloc_and_insert_pc_ref() argument
[all...]
H A Ddebugfs.c220 &holder->hostid, holder->rkey); in nvmet_ns_pr_show()
228 &reg->hostid, reg->rkey); in nvmet_ns_pr_show()
H A Dnvmet.h71 uuid_t hostid;
98 uuid_t hostid;
274 uuid_t hostid;
633 uuid_t *hostid;
70 uuid_t hostid; global() member
97 uuid_t hostid; global() member
271 uuid_t hostid; global() member
616 uuid_t *hostid; global() member
H A Dfabrics-cmd.c320 args.hostid = &d->hostid; in nvmet_execute_admin_connect()
H A Dadmin-cmd.c159 return sizeof(req->sq->ctrl->hostid); in nvmet_feat_data_len()
1319 return nvmet_copy_from_sgl(req, 0, &req->sq->ctrl->hostid, in nvmet_set_feat_arbitration()
1320 sizeof(req->sq->ctrl->hostid)); in nvmet_set_feat_arbitration()
1599 status = nvmet_copy_to_sgl(req, 0, &req->sq->ctrl->hostid, in nvmet_execute_keep_alive()
1600 sizeof(req->sq->ctrl->hostid)); in nvmet_execute_keep_alive()
H A Dcore.c1682 if (args->hostid) in nvmet_alloc_ctrl()
1683 uuid_copy(&ctrl->hostid, args->hostid); in nvmet_alloc_ctrl()
H A Dpci-epf.c2065 args.hostid = &id; in nvmet_pci_epf_create_ctrl()
/linux/tools/testing/selftests/filesystems/
H A Dutils.c65 __u32 hostid; member
258 fill = snprintf(pos, left, "%u %u %u\n", map->nsid, map->hostid, map->range); in map_ids_from_idmap()
307 int get_userns_fd(unsigned long nsid, unsigned long hostid, unsigned long range) in get_userns_fd() argument
313 .hostid = hostid, in get_userns_fd()
319 .hostid = hostid, in get_userns_fd()
/linux/tools/testing/selftests/net/
H A Dfib_nexthop_multiprefix.sh134 local hostid=$1
137 run_cmd ip -netns h${hostid} li set eth0 mtu ${mtu}
138 run_cmd ip -netns ${r1} li set eth${hostid} mtu ${mtu}
/linux/drivers/nvme/host/
H A Dfabrics.c61 pr_err("found same hostnqn %s but different hostid %pUb\n", in nvmf_host_add()
67 pr_err("found same hostid %pUb but different hostnqn %s\n", in nvmf_host_add()
403 uuid_copy(&data->hostid, &ctrl->opts->host->id); in nvmf_connect_data_prep()
690 { NVMF_OPT_HOST_ID, "hostid=%s" },
723 uuid_t hostid; in nvmf_parse_options() local
747 uuid_copy(&hostid, &nvmf_default_host->id); in nvmf_parse_options()
927 ret = uuid_parse(p, &hostid); in nvmf_parse_options()
929 pr_err("Invalid hostid %s\n", p); in nvmf_parse_options()
1107 opts->host = nvmf_host_add(hostnqn, &hostid); in nvmf_parse_options()
H A Dsysfs.c571 static DEVICE_ATTR(hostid, S_IRUGO, nvme_sysfs_show_hostid, NULL); in nvme_sysfs_show_address()
H A Dfc.c1172 uuid_copy(&assoc_rqst->assoc_cmd.hostid, &ctrl->ctrl.opts->host->id); in nvme_fc_connect_admin_queue()
/linux/include/linux/
H A Dnvme-fc.h262 uuid_t hostid; member
H A Dnvme.h920 __le64 hostid; member
939 __u8 hostid[16]; member
1731 uuid_t hostid; member
/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c1146 static int map_ids(pid_t pid, unsigned long nsid, unsigned long hostid, in map_ids() argument
1152 snprintf(map, sizeof(map), "%lu %lu %lu", nsid, hostid, range); in map_ids()
1158 snprintf(map, sizeof(map), "%lu %lu %lu", nsid, hostid, range); in map_ids()
1205 static int get_userns_fd(unsigned long nsid, unsigned long hostid, unsigned long range) in get_userns_fd() argument
1215 ret = map_ids(pid, nsid, hostid, range); in get_userns_fd()
/linux/Documentation/ABI/stable/
H A Dsysfs-nvme81 What: /sys/class/nvme/nvmeX/hostid
88 hostid: Shows the host identifier (UUID format) used by this
/linux/Documentation/scsi/
H A Dsym53c8xx_2.rst582 hostid=255 no id suggested.
583 hostid=#x (0 < x < 7) x suggested for hosts SCSI id.
H A DChangeLog.ncr53c8xx166 - Add 'hostid:#id' boot option. This option allows to change the
H A Dncr53c8xx.rst1017 hostid:255 no id suggested.
1018 hostid:#x (0 < x < 7) x suggested for hosts SCSI id.