/src/sbin/iscsid/ |
iscsid_lists.c | 202 portal_t *portal; local in function:find_target 204 if ((portal = (void *)find_portal (sid)) != NULL) 205 return portal->target; 243 * Find a Portal by Address. 247 * Returns: The pointer to the portal (or NULL if not found) 281 * Returns: The pointer to the portal (or NULL if not found) 549 ent->portal_id = conn->portal.sid.id; 609 ent->target_portal_id = conn->portal.sid; 610 ent->target_portal = conn->portal.addr; 669 res->target_portal_id = conn->portal.sid 896 portal_t *portal; local in function:event_kill_session 944 portal_t *portal; local in function:event_kill_connection [all...] |
iscsid_lists.c | 202 portal_t *portal; local in function:find_target 204 if ((portal = (void *)find_portal (sid)) != NULL) 205 return portal->target; 243 * Find a Portal by Address. 247 * Returns: The pointer to the portal (or NULL if not found) 281 * Returns: The pointer to the portal (or NULL if not found) 549 ent->portal_id = conn->portal.sid.id; 609 ent->target_portal_id = conn->portal.sid; 610 ent->target_portal = conn->portal.addr; 669 res->target_portal_id = conn->portal.sid 896 portal_t *portal; local in function:event_kill_session 944 portal_t *portal; local in function:event_kill_connection [all...] |
iscsid_lists.c | 202 portal_t *portal; local in function:find_target 204 if ((portal = (void *)find_portal (sid)) != NULL) 205 return portal->target; 243 * Find a Portal by Address. 247 * Returns: The pointer to the portal (or NULL if not found) 281 * Returns: The pointer to the portal (or NULL if not found) 549 ent->portal_id = conn->portal.sid.id; 609 ent->target_portal_id = conn->portal.sid; 610 ent->target_portal = conn->portal.addr; 669 res->target_portal_id = conn->portal.sid 896 portal_t *portal; local in function:event_kill_session 944 portal_t *portal; local in function:event_kill_connection [all...] |
iscsid_lists.c | 202 portal_t *portal; local in function:find_target 204 if ((portal = (void *)find_portal (sid)) != NULL) 205 return portal->target; 243 * Find a Portal by Address. 247 * Returns: The pointer to the portal (or NULL if not found) 281 * Returns: The pointer to the portal (or NULL if not found) 549 ent->portal_id = conn->portal.sid.id; 609 ent->target_portal_id = conn->portal.sid; 610 ent->target_portal = conn->portal.addr; 669 res->target_portal_id = conn->portal.sid 896 portal_t *portal; local in function:event_kill_session 944 portal_t *portal; local in function:event_kill_connection [all...] |
iscsid_targets.c | 36 /* counter for portal and target ID */ 45 * Create a portal entry and link it into the appropriate lists. 46 * May also create the associated portal group entry if it does not exist. 47 * Will return the existing entry if the address matches a defined portal. 51 * addr the portal address (includes tag) 52 * dtype portal discovery type 55 * Returns: pointer to created portal 63 portal_t *portal; local in function:create_portal 66 DEB(9, ("Create Portal addr %s port %d group %d", 69 if ((portal = find_portal_by_addr(target, addr)) != NULL 318 portal_t *portal; local in function:add_target 432 portal_t *portal; local in function:add_discovered_target 588 portal_t *portal; local in function:add_portal 648 portal_t *portal = NULL; local in function:get_portal_info 698 portal_t *portal = NULL; local in function:remove_target [all...] |
iscsid_driverif.c | 88 * Bind socket to initiator portal. 92 * addr The initiator portal address 131 * Find the Portal with the least number of connections. 133 * Parameter: the portal group 135 * Returns: The pointer to the first free portal (or NULL if none found) 190 portal_t *portal = NULL; local in function:make_connection 200 /* find the target portal */ 212 || (portal = find_portal(&req->portal_id)) == NULL) { 230 /* now get from target to portal - if this is the first connection, */ 231 /* just use the first portal group. * 515 portal_t *portal; local in function:event_recover_connection [all...] |
iscsid_targets.c | 36 /* counter for portal and target ID */ 45 * Create a portal entry and link it into the appropriate lists. 46 * May also create the associated portal group entry if it does not exist. 47 * Will return the existing entry if the address matches a defined portal. 51 * addr the portal address (includes tag) 52 * dtype portal discovery type 55 * Returns: pointer to created portal 63 portal_t *portal; local in function:create_portal 66 DEB(9, ("Create Portal addr %s port %d group %d", 69 if ((portal = find_portal_by_addr(target, addr)) != NULL 318 portal_t *portal; local in function:add_target 432 portal_t *portal; local in function:add_discovered_target 588 portal_t *portal; local in function:add_portal 648 portal_t *portal = NULL; local in function:get_portal_info 698 portal_t *portal = NULL; local in function:remove_target [all...] |
iscsid_driverif.c | 88 * Bind socket to initiator portal. 92 * addr The initiator portal address 131 * Find the Portal with the least number of connections. 133 * Parameter: the portal group 135 * Returns: The pointer to the first free portal (or NULL if none found) 190 portal_t *portal = NULL; local in function:make_connection 200 /* find the target portal */ 212 || (portal = find_portal(&req->portal_id)) == NULL) { 230 /* now get from target to portal - if this is the first connection, */ 231 /* just use the first portal group. * 515 portal_t *portal; local in function:event_recover_connection [all...] |
iscsid_targets.c | 36 /* counter for portal and target ID */ 45 * Create a portal entry and link it into the appropriate lists. 46 * May also create the associated portal group entry if it does not exist. 47 * Will return the existing entry if the address matches a defined portal. 51 * addr the portal address (includes tag) 52 * dtype portal discovery type 55 * Returns: pointer to created portal 63 portal_t *portal; local in function:create_portal 66 DEB(9, ("Create Portal addr %s port %d group %d", 69 if ((portal = find_portal_by_addr(target, addr)) != NULL 318 portal_t *portal; local in function:add_target 432 portal_t *portal; local in function:add_discovered_target 588 portal_t *portal; local in function:add_portal 648 portal_t *portal = NULL; local in function:get_portal_info 698 portal_t *portal = NULL; local in function:remove_target [all...] |
iscsid_driverif.c | 88 * Bind socket to initiator portal. 92 * addr The initiator portal address 131 * Find the Portal with the least number of connections. 133 * Parameter: the portal group 135 * Returns: The pointer to the first free portal (or NULL if none found) 190 portal_t *portal = NULL; local in function:make_connection 200 /* find the target portal */ 212 || (portal = find_portal(&req->portal_id)) == NULL) { 230 /* now get from target to portal - if this is the first connection, */ 231 /* just use the first portal group. * 515 portal_t *portal; local in function:event_recover_connection [all...] |
iscsid_targets.c | 36 /* counter for portal and target ID */ 45 * Create a portal entry and link it into the appropriate lists. 46 * May also create the associated portal group entry if it does not exist. 47 * Will return the existing entry if the address matches a defined portal. 51 * addr the portal address (includes tag) 52 * dtype portal discovery type 55 * Returns: pointer to created portal 63 portal_t *portal; local in function:create_portal 66 DEB(9, ("Create Portal addr %s port %d group %d", 69 if ((portal = find_portal_by_addr(target, addr)) != NULL 318 portal_t *portal; local in function:add_target 432 portal_t *portal; local in function:add_discovered_target 588 portal_t *portal; local in function:add_portal 648 portal_t *portal = NULL; local in function:get_portal_info 698 portal_t *portal = NULL; local in function:remove_target [all...] |
iscsid_driverif.c | 88 * Bind socket to initiator portal. 92 * addr The initiator portal address 131 * Find the Portal with the least number of connections. 133 * Parameter: the portal group 135 * Returns: The pointer to the first free portal (or NULL if none found) 190 portal_t *portal = NULL; local in function:make_connection 200 /* find the target portal */ 212 || (portal = find_portal(&req->portal_id)) == NULL) { 230 /* now get from target to portal - if this is the first connection, */ 231 /* just use the first portal group. * 515 portal_t *portal; local in function:event_recover_connection [all...] |
iscsid_globals.h | 135 * The initiator portal list structure. 153 * The portal structure. 154 * This structure is linked into two lists - a global portal list (this list 155 * is used for searches and to verify unique IDs) and a portal group list 175 (via REFRESH_TARGETS). As a portal is discovered, its type is reset to 192 iscsid_portal_options_t options; /* portal options (override target options) */ 195 iscsi_portal_types_t portaltype; /* Type of portal (how it was discovered) */ 197 uint32_t active_connections; /* Number of connections active on this portal */ 205 * The portal group structure. 249 portal_group_list_t group_list; /* the list of portal groups * 324 portal_info_t portal; \/* connected portal *\/ member in struct:connection_s [all...] |
iscsid_globals.h | 135 * The initiator portal list structure. 153 * The portal structure. 154 * This structure is linked into two lists - a global portal list (this list 155 * is used for searches and to verify unique IDs) and a portal group list 175 (via REFRESH_TARGETS). As a portal is discovered, its type is reset to 192 iscsid_portal_options_t options; /* portal options (override target options) */ 195 iscsi_portal_types_t portaltype; /* Type of portal (how it was discovered) */ 197 uint32_t active_connections; /* Number of connections active on this portal */ 205 * The portal group structure. 249 portal_group_list_t group_list; /* the list of portal groups * 324 portal_info_t portal; \/* connected portal *\/ member in struct:connection_s [all...] |
iscsid_globals.h | 135 * The initiator portal list structure. 153 * The portal structure. 154 * This structure is linked into two lists - a global portal list (this list 155 * is used for searches and to verify unique IDs) and a portal group list 175 (via REFRESH_TARGETS). As a portal is discovered, its type is reset to 192 iscsid_portal_options_t options; /* portal options (override target options) */ 195 iscsi_portal_types_t portaltype; /* Type of portal (how it was discovered) */ 197 uint32_t active_connections; /* Number of connections active on this portal */ 205 * The portal group structure. 249 portal_group_list_t group_list; /* the list of portal groups * 324 portal_info_t portal; \/* connected portal *\/ member in struct:connection_s [all...] |
iscsid_globals.h | 135 * The initiator portal list structure. 153 * The portal structure. 154 * This structure is linked into two lists - a global portal list (this list 155 * is used for searches and to verify unique IDs) and a portal group list 175 (via REFRESH_TARGETS). As a portal is discovered, its type is reset to 192 iscsid_portal_options_t options; /* portal options (override target options) */ 195 iscsi_portal_types_t portaltype; /* Type of portal (how it was discovered) */ 197 uint32_t active_connections; /* Number of connections active on this portal */ 205 * The portal group structure. 249 portal_group_list_t group_list; /* the list of portal groups * 324 portal_info_t portal; \/* connected portal *\/ member in struct:connection_s [all...] |
iscsid.h | 209 iscsi_portal_address_t portal[0]; member in struct:__anonacab674b0908 220 Number of portal addresses (may be zero). 221 portal 235 Number of portal IDs following. 248 iscsi_portal_address_t portal; member in struct:__anonacab674b0b08 256 Symbolic name of the portal (optional). 257 portal 258 Portal address. 260 Portal options. 272 Returns the unique ID of the portal and its name 499 uint32_t portal[1]; member in struct:__anonacab674b1508 522 iscsi_portal_address_t portal; member in struct:__anonacab674b1608 [all...] |
iscsid.h | 209 iscsi_portal_address_t portal[0]; member in struct:__anonacab674b0908 220 Number of portal addresses (may be zero). 221 portal 235 Number of portal IDs following. 248 iscsi_portal_address_t portal; member in struct:__anonacab674b0b08 256 Symbolic name of the portal (optional). 257 portal 258 Portal address. 260 Portal options. 272 Returns the unique ID of the portal and its name 499 uint32_t portal[1]; member in struct:__anonacab674b1508 522 iscsi_portal_address_t portal; member in struct:__anonacab674b1608 [all...] |
iscsid.h | 209 iscsi_portal_address_t portal[0]; member in struct:__anonacab674b0908 220 Number of portal addresses (may be zero). 221 portal 235 Number of portal IDs following. 248 iscsi_portal_address_t portal; member in struct:__anonacab674b0b08 256 Symbolic name of the portal (optional). 257 portal 258 Portal address. 260 Portal options. 272 Returns the unique ID of the portal and its name 499 uint32_t portal[1]; member in struct:__anonacab674b1508 522 iscsi_portal_address_t portal; member in struct:__anonacab674b1608 [all...] |
iscsid.h | 209 iscsi_portal_address_t portal[0]; member in struct:__anonacab674b0908 220 Number of portal addresses (may be zero). 221 portal 235 Number of portal IDs following. 248 iscsi_portal_address_t portal; member in struct:__anonacab674b0b08 256 Symbolic name of the portal (optional). 257 portal 258 Portal address. 260 Portal options. 272 Returns the unique ID of the portal and its name 499 uint32_t portal[1]; member in struct:__anonacab674b1508 522 iscsi_portal_address_t portal; member in struct:__anonacab674b1608 [all...] |