/illumos-gate/usr/src/cmd/stat/common/ |
H A D | dsr.c | 469 char link[MAXPATHLEN + 1]; local 477 /* we are looking for a link to setlink */ 493 if ((len = readlink(path, link, MAXPATHLEN)) == (size_t)-1) 496 /* and looking for a link to setlink */ 497 link[len] = '\0'; 498 if (strcmp(setlink, link)) 501 /* found- name of link is the setname */
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | offload.h | 118 SLIST_ENTRY(uld_info) link; member in struct:uld_info
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_buf.h | 100 OCE_LIST_NODE_T link; member in struct:oce_wq_bdesc_s 106 OCE_LIST_NODE_T link; member in struct:oce_wq_mdesc_s 123 OCE_LIST_NODE_T link; member in struct:_oce_wqe_desc_s
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_replay.c | 409 char *link; /* symlink content follows name */ local 510 link = name + strlen(name) + 1; 512 link, kcred, NULL, vflg);
|
H A D | zfs_log.c | 395 znode_t *dzp, znode_t *zp, char *name, char *link) 400 size_t linksize = strlen(link) + 1; 417 bcopy(link, (char *)(lr + 1) + namesize, linksize); 394 zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, znode_t *dzp, znode_t *zp, char *name, char *link) argument
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_gld_v3.c | 51 link_state_t link; local 55 link = LINK_STATE_UNKNOWN; 58 link = LINK_STATE_DOWN; 61 link = LINK_STATE_UP; 64 mac_link_update(sp->s_mh, link);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_cvt.c | 528 s_readlink(char *link, char *buf, int len) argument 532 count = readlink(link, buf, len - 1); 826 /* A disk link can only be from DEV_DSK (ignore /dev/rdsk) */ 828 return (SCFGA_CONTINUE); /* not a disk link */ 860 /* For tapes, remove mode(minor) information from link */ 969 /* Is it a link in DEV_DIR directory ? */
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlmgmt.c | 109 dladm_create_datalink_id(dladm_handle_t handle, const char *link, argument 119 if (link == NULL || class == DATALINK_CLASS_ALL || 128 (void) strlcpy(createid.ld_link, link, MAXLINKNAMELEN); 143 * Destroy the given link ID. 166 * Remap a given link ID to a new name. 170 const char *link) 178 (void) strlcpy(remapid.ld_link, link, MAXLINKNAMELEN); 185 * Make a given link ID active. 201 * Create a new link with the given name. Return the new link' 169 dladm_remap_datalink_id(dladm_handle_t handle, datalink_id_t linkid, const char *link) argument 204 dladm_create_conf(dladm_handle_t handle, const char *link, datalink_id_t linkid, datalink_class_t class, uint32_t media, dladm_conf_t *confp) argument 534 dladm_name2info(dladm_handle_t handle, const char *link, datalink_id_t *linkidp, uint32_t *flagp, datalink_class_t *classp, uint32_t *mediap) argument 582 dladm_datalink_id2info(dladm_handle_t handle, datalink_id_t linkid, uint32_t *flagp, datalink_class_t *classp, uint32_t *mediap, char *link, size_t len) argument [all...] |
/illumos-gate/usr/src/lib/libtnf/ |
H A D | libtnf.h | 66 struct taginfo *link; /* hash link */ member in struct:taginfo 67 #define INFO_MEMBER_0 link
|
/illumos-gate/usr/src/lib/libvrrpadm/common/ |
H A D | libvrrpadm.c | 224 return (dgettext(TEXT_DOMAIN, "data-link configuration " 243 return (dgettext(TEXT_DOMAIN, "invalid data-link")); 256 return (dgettext(TEXT_DOMAIN, "the data-link does not exist")); 710 * Given the primary link name, find the assoicated VRRP vnic name, if 711 * the vnic does not exist yet, return the linkid, vid of the primary link. 714 vrrp_get_vnicname(vrrp_handle_t vh, vrid_t vrid, int af, char *link, argument 726 if ((strlen(link) == 0) || dladm_name2info(vh->vh_dh, 727 link, &linkid, &flags, &class, &media) !=
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_clnt.c | 75 LINK(struct ctl_tran) link; member in struct:ctl_tran 284 INIT_LINK(new, link); 286 APPEND(ctx->tran, new, link); 376 next = NEXT(this, link); 552 UNLINK(ctx->tran, tran, link);
|
H A D | ctl_srvr.c | 85 LINK(struct ctl_sess) link; member in struct:ctl_sess 291 next = NEXT(this, link); 440 INIT_LINK(sess, link); 441 APPEND(ctx->sess, sess, link); 515 UNLINK(ctx->sess, sess, link);
|
/illumos-gate/usr/src/cmd/psrinfo/ |
H A D | psrinfo.c | 53 struct link { struct 55 struct link *l_next; 63 struct link p_link; 66 struct link *p_cores; 67 struct link *p_vcpus; 72 struct link c_link; 73 struct link c_link_pchip; 79 struct link *c_vcpus; 83 struct link v_link; 85 struct link v_link_cor [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | wpa_supplicant.c | 543 wpa_supplicant_driver_init(const char *link, struct wpa_supplicant *wpa_s) argument 545 wpa_s->l2 = l2_packet_init(link, ETHERTYPE_EAPOL, 781 char *link = NULL; local 804 link = optarg; 819 if ((link == NULL) || (key == NULL)) { 833 * Hold this link open to prevent a link renaming operation. 835 if (dlpi_open(link, &dh, 0) != DLPI_SUCCESS) { 836 wpa_printf(MSG_ERROR, "Failed to open link '%s'.", link); [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetadm/ |
H A D | inetadm.c | 69 uu_list_node_t link; member in struct:scf_val_el 140 sizeof (scf_val_el_t), offsetof(scf_val_el_t, link), NULL, 156 uu_list_node_init(sv_el, &sv_el->link, sv_pool);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/qlc/ |
H A D | qlc.c | 867 /* get the first link */ 901 /* Get the first link on the targets cmd wdg q. */ 1407 (((ql_lun_t *)wsp->walk_data)->link.next); 1470 ql_link_t *link; local 1513 link = (ql_link_t *)mdb_alloc(sizeof (ql_link_t), UM_SLEEP); 1521 if (mdb_vread(link, sizeof (ql_link_t), 1528 while (link != NULL) { 1530 (uintptr_t)(link->base_address)) == -1) { 1532 link->base_address); 1537 link [all...] |
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_door.c | 33 * There are two zoneid's associated with a link. One is the zoneid of the 34 * zone in which the link was created (ll_zoneid in the dlmgmt_link_t), and 35 * the other is the zoneid of the zone where the link is currently assigned 36 * (the "zone" link property). The two can be different if a datalink is 38 * via zonecfg or via explicitly setting the "zone" link property. 74 * Check if the caller has the required privileges to operate on a link of the 149 char link[MAXLINKNAMELEN]; local 156 * Determine whether this link is persistent. Note that this request 157 * is coming from kernel so this link must be active. 165 * Hold the writer lock to update the link tabl 472 dlmgmt_link_t link, *linkp; local 539 char link[MAXLINKNAMELEN]; local [all...] |
H A D | dlmgmt_util.c | 47 * datalinks and is keyed by zoneid and link name. The dlmgmt_id_avl also 48 * contains all datalinks, and it is keyed by link ID. The dlmgmt_loan_avl is 49 * keyed by link name, and contains the set of global-zone links that are 104 * Note that the zoneid associated with a link is effectively part of its 362 * Set the DLMGMT_ACTIVE flag on the link to note that it is active. When a 363 * link becomes active and it belongs to a non-global zone, it is also added 374 * This link was already added to a non-global zone. This can 401 * Is linkp visible from the caller's zoneid? It is if the link is in the 403 * link is on loan to a non-global zone. 415 dlmgmt_link_t link, *link local 428 dlmgmt_link_t link, *linkp; local 612 dlmgmt_link_t link, *linkp; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_main.c | 406 struct linka link; local 419 bzero(&link, sizeof (struct linka)); 422 (uint_t)m->isdirect, m->uid, &action, &link); 429 res->lu_type.lookup_result_type_u.lt_linka = link;
|
/illumos-gate/usr/src/cmd/sed/ |
H A D | compile.c | 151 compile_stream(struct s_command **link) argument 165 return (link); 177 if ((*link = cmd = malloc(sizeof (struct s_command))) == NULL) 179 link = &cmd->next; 229 link = &cmd->u.c; 250 link = &cmd->next; 338 link = &cmd->next; 348 link = &cmd->next;
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu.c | 58 * Find ncu of specified type for link/interface name. 132 * Run link/interface state machine in response to a state change 143 nwamd_link_t *link; local 155 link = &ncu->ncu_link; 161 * For wired/wireless links, need to get link 163 * dlpi_open()ing the link prevents the driver from 168 if (link->nwamd_link_media == DL_WIFI) { 173 if (!link->nwamd_link_wifi_connected && 180 link->nwamd_link_id); 190 * If initial wired link stat 1740 nwamd_link_t *link = &ncu->ncu_link; local [all...] |
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itmcomp.h | 212 struct itm_opt_outer *link; member in struct:itm_opt_outer
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-storage-mount.c | 233 char *link; local 240 link = g_file_read_link (f, &error); 241 if (link == NULL) { 250 f1 = g_strdup_printf ("%s/%s", dir, link); 252 g_free (link);
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/ |
H A D | pkginfo.c | 124 short link; member in struct:cfstat 515 if (dp->link) 516 (void) printf(gettext("%20d linked files\n"), dp->link); 556 last->next = dp; /* link list */ 731 dp->link++;
|
/illumos-gate/usr/src/stand/lib/fs/common/ |
H A D | cache.c | 54 #define Next 0 /* Next pointer in Fwd/Bak link */ 63 struct cache *link[4]; /* .. Fwd/Bak links for hash chain & LRU */ member in struct:cache 64 struct cache **chn; /* .. Hash chain link */ 123 cap->link[Next]->link[Prev] = cap->link[Prev]; 124 cap->link[Prev]->link[Next] = cap->link[Next]; 126 cap->link[Pre [all...] |