| /src/sbin/iscsid/ |
| 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 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 432 portal_t *portal; local 588 portal_t *portal; local 648 portal_t *portal = NULL; local 698 portal_t *portal = NULL; local [all...] |
| iscsid_lists.c | 202 portal_t *portal; local 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 944 portal_t *portal; local [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 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 [all...] |
| iscsid.h | 209 iscsi_portal_address_t portal[0]; member in struct:__anon755 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:__anon757 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:__anon767 522 iscsi_portal_address_t portal; member in struct:__anon768 [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...] |
| /src/etc/rc.d/ |
| iscsid_volumes | 80 Added\ Target\ [1-9]*,\ Portal\ [1-9]*\ ) 82 portal=${out##* } 83 echo "Login $target via Portal $portal" 84 /sbin/iscsictl login -P "$portal"
|
| /src/sbin/iscsictl/ |
| iscsic_parse.c | 42 * portal The portal address 49 get_address(iscsi_portal_address_t * portal, char *str, char *arg) 64 portal->group_tag = (uint16_t) val; 83 portal->port = 0; 89 portal->port = (uint16_t) val; 107 if (strlen(str) >= sizeof(portal->address)) 110 strlcpy((char *)portal->address, str, sizeof(portal->address)); 253 get_address(&targ->portal[++p], sp, argv[i]) [all...] |
| iscsic_daemonif.c | 84 printf(", Portal "); 314 arg_missing("Portal Address"); 330 printf("Added Portal %d to Target %d\n", 380 req.id.id = targ->portal[i]; 392 printf(": %s:%d", port->portal.address, port->portal.port); 394 printf(",%d", port->portal.group_tag); 700 printf("Added Initiator Portal %d\n", res->portal_id); 724 arg_missing("Initiator Portal ID"); 817 /* do we have a portal ID? * [all...] |
| /src/sbin/mount_portal/ |
| puffs_portal.c | 60 PUFFSOP_PROTOS(portal) 73 errx(1, "usage: %s [-o options] /path/portal.conf mount_point", 441 PUFFSOP_SET(pops, portal, node, lookup); 442 PUFFSOP_SET(pops, portal, node, getattr); 443 PUFFSOP_SET(pops, portal, node, setattr); 444 PUFFSOP_SET(pops, portal, node, open); 445 PUFFSOP_SET(pops, portal, node, read); 446 PUFFSOP_SET(pops, portal, node, write); 447 PUFFSOP_SET(pops, portal, node, seek); 448 PUFFSOP_SET(pops, portal, node, poll) [all...] |