Lines Matching defs:pid
98 * Bidirectional map of 'target-port' to port id <pid> for support of
103 static mod_hash_t *vhci_targetmap_bypid; /* <pid> -> 'target-port' */
104 static mod_hash_t *vhci_targetmap_byport; /* 'target-port' -> <pid> */
492 /* register vid/pid of devices supported with mpapi */
4942 uint_t pid;
4963 * <client-driver><instance>.t<pid>.<pHCI-driver><instance>
4965 * We maintain a bidirectional 'target-port' to <pid> map,
4967 * 'target-port' map to the same <pid>. The iostat(1M) code,
4968 * when parsing a path oriented kstat name, uses the <pid> as
4971 * this ioctl needs to translate a <pid> to a 'target-port'
4992 * the same <pid>. NOTE: a client with an instance
5005 * still use the <pid>. We do this because we just
5012 /* find/establish <pid> given 'target-port' */
5016 pid = (int)(intptr_t)hv; /* mapping exists */
5018 pid = vhci_targetmap_pid++; /* new mapping */
5022 (mod_hash_val_t)(intptr_t)pid);
5025 (mod_hash_key_t)(uintptr_t)pid,
5035 pid, ddi_driver_name(pdip), ddi_get_instance(pdip));
5038 "kstat %s: pid %x <-> port %s\n", (void *)pip,
5039 ks_name, pid, target_port_dup));
5967 uint_t pid = pioc->buf_elem;
5971 /* targetmap lookup of 'target-port' by <pid> */
5973 (mod_hash_key_t)(uintptr_t)pid, &hv) != 0) {
5979 "targetport mapping doesn't exist: pid %d",
5980 s, pid));