Lines Matching defs:target
43 * Initializes the target list structure. Called from iscsi_attach.
53 * Frees target param list and destroys the list lock.
73 * Creates a target param entry and adds it to the target param
79 iscsi_targetparam_entry_t *target;
83 target = kmem_alloc(sizeof (iscsi_targetparam_entry_t),
85 (void) strlcpy((char *)target->target_name, (char *)name,
86 sizeof (target->target_name));
88 /* assign unique key for the target */
90 target->target_oid = iscsi_oid++;
93 /* Add new target to the target list */
96 iscsi_targets.target_list = target;
99 target->next = iscsi_targets.target_list;
100 iscsi_targets.target_list = target;
103 return (target);
107 * Returns a target param entry's oid given the target name. If the target
137 * Returns a target param entry's target name given its oid. If the oid cannot
159 * Removes a target param entry from the target param entry list. The
201 * Returns the next element in the target param entry list. If
220 * Lock target param list.
229 * Unlock target param list.