/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | ttymux_rcm.c | 307 nullconnect(link_t *link) argument 317 nulldisconnect(link_t *link) argument 330 link_t *link; local 346 for (link = linkhead; link != NULL; link = link->next) { 351 if (link->used == used) 352 return (link); 355 link 437 mux_connect(link_t *link) argument 603 mux_disconnect(link_t *link) argument 762 link_t *link; local 852 link_t *link; local 894 link_t *link; local 927 link_t *link; local 1214 link_t *link, *nlink; local 1254 link_t *link; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 27 #include <sys/link.h> 1103 GElf_Word link; local 1112 link = gsp->gs_shdr.sh_link; 1120 if (link > gf->gf_shnum) { 1122 * Invalid link number due to corrupt elf file. 1124 warn("link number %ud larger than number of sections %d\n", 1125 link, gf->gf_shnum); 1129 ssname = (gf->gf_sects + link)->gs_name;
|
/illumos-gate/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 102 {"link", required_argument, 0, 'l'}, 111 {"link", required_argument, 0, 'l'}, 235 " add-flow [-t] -l <link> -a <attr>=<value>[,...]\n" 237 " remove-flow [-t] {-l <link> | <flow>}\n" 238 " show-flow [-p] [-l <link>] " 242 " show-flowprop [-cP] [-l <link>] [-p <prop>,...] " 352 die("link name too long"); 356 die("invalid link '%s'", devname); 376 die("link is required"); 433 die("link nam 502 char link[MAXLINKNAMELEN]; local [all...] |
/illumos-gate/usr/src/cmd/audio/audioctl/ |
H A D | audioctl.c | 1169 const char *link; local 1177 link = di_devlink_path(dlink); 1179 if ((link == NULL) || 1180 (strncmp(link, "/dev/mixer", num_offset) != 0) || 1181 (!isdigit(link[num_offset]))) { 1185 num = atoi(link + num_offset); 1186 if ((fd = open(link, O_RDWR)) < 0) { 1189 msg(_("Device %s not present.\n"), link); 1192 link, strerror(errno)); 1199 msg(_("Initializing link [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu_phys.c | 59 * ncu_phys.c - contains routines that are physical-link specific. 64 * Get link state from kstats. Used to determine initial link state for 65 * cases where drivers do not support DL_NOTE_LINK_UP/DOWN. If link 66 * state is LINK_STATE_UNKNOWN, we assume the link is up and the IP NCU 105 * Set/unset link propeties. At present, these are MAC address, link MTU and 148 "for link %s", mtustr, ncu->ncu_name); 158 "autopush module for link %s", num_autopush, ncu->ncu_name); 443 nwamd_link_t *link; local 710 nwamd_link_t *link = &ncu->ncu_link; local 761 nwamd_link_t *link = data; local 808 check_if_hidden_wlan_was_visited(nwamd_link_t *link) argument 820 nwamd_link_t *link; local 957 nwamd_link_t *link = &ncu->ncu_link; local 1188 nwamd_link_t *link = &ncu->ncu_link; local 1282 nwamd_link_t *link; local 1498 char *link = strdup(linkname); local 1547 nwamd_link_t *link; local 1721 char *link = strdup(linkname); local 1751 nwamd_link_t *link; local 1815 char *link = strdup(linkname); local 1843 nwamd_link_t *link; local [all...] |
/illumos-gate/usr/src/cmd/sgs/nm/common/ |
H A D | nm.c | 780 * opened ELF file, and the string table link offset. 784 unsigned int link, unsigned int symscnndx) 809 char *name = (char *)elf_strptr(elf, link, sym.st_name); 821 buf->name = (char *)elf_strptr(elf, link, sym.st_name); 783 readsyms(Elf_Data * data, GElf_Sxword num, Elf *elf, unsigned int link, unsigned int symscnndx) argument
|
/illumos-gate/usr/src/cmd/sysdef/ |
H A D | sysdef.c | 133 struct link { struct 340 ln = (struct link *)calloc(lnsize, sizeof (struct link)); 600 * On sparcs, /platform/SUNW,... can be symbolic link to 701 * from creating a link in /tmp to make us overwrite 715 printf("\thard link: ");
|
/illumos-gate/usr/src/uts/common/io/afe/ |
H A D | afe.c | 1134 afe_mii_notify(void *arg, link_state_t link) argument 1145 mac_link_update(afep->afe_mh, link);
|
/illumos-gate/usr/src/uts/common/io/atge/ |
H A D | atge_main.c | 508 atge_mii_notify(void *arg, link_state_t link) argument 513 atgep->atge_name, __func__, atgep->atge_link_state, link)); 515 mac_link_update(atgep->atge_mh, link); 518 * Reconfigure MAC if link status is UP now. 521 if (link == LINK_STATE_UP) { 532 if (link == LINK_STATE_UP) 1162 * used in AR8132 can't establish gigabit link even if it 1227 /* Clear data link and flow-control protocol error. */ 1768 * This NIC does not like us to send pkt when link is down. 2447 * of MAC is followed after link establishmen [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_phy.c | 401 rc = elink_phy_read(&pdev->params.link, phy_addr, dev_addr, reg, ret_val); 429 rc = elink_phy_write(&pdev->params.link, phy_addr, dev_addr, reg, val); 468 // probably we get here from ioc_get_driver_info in case of no link 684 // link status 686 if (!pdev->vars.link.link_up) 694 // if we are in multifunction mode and function is disabled indicate OS link down (unless loopback medium is set) 695 // Note that the CLC link is up so pmf handling is still going on 713 real_speed = lm_get_speed_real_from_elink_line_speed(&pdev->vars.link); 716 medium = lm_get_speed_medium_from_elink_line_speed(&pdev->vars.link); 722 if (pdev->vars.link 1255 struct elink_params *link = &pdev->params.link; local [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_init.c | 1693 if ((data = ql_get_prop(ha, "link-down-timeout")) == 0xffffffff) { 1696 EL(ha, "invalid parameter value for 'link-down-timeout': %d;" 1707 /* Get link down error enable. */ 1708 if ((data = ql_get_prop(ha, "enable-link-down-error")) == 0xffffffff || 1714 EL(ha, "invalid parameter value for 'link-down-error': %d;" 2977 ql_link_t *link; local 2984 link = ha->dev[index].first; 2985 while (link != NULL) { 2986 tq = link->base_address; 2987 link 3243 ql_link_t *link; local 3842 ql_link_t *link, *link2; local [all...] |
H A D | ql_mbx.c | 422 ql_link_t *link; local 444 for (link = ha->dev[index].first; link != NULL; 445 link = link->next) { 446 tq = link->base_address; 956 ql_link_t *link; local 969 for (link = ha->dev[index].first; link != 970 NULL; link [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_misc.c | 335 /* link all DBrs onto the free list */ 348 * page - if needed it will allocate another and link them 376 /* got a new page, so link it in. */ 434 hermon_dbr_info_t *info, *link; local 443 for (info = state->hs_kern_dbr; info != NULL; info = link) { 447 link = info->dbr_link; 992 * and update the previous entry to link the new one to the end of the 2621 if (!i) /* address of last entry's link */
|
/illumos-gate/usr/src/uts/common/io/iprb/ |
H A D | iprb.c | 1589 iprb_mii_notify(void *arg, link_state_t link) argument 1593 mac_link_update(ip->mach, link); 1660 * If we haven't received a packet in a while, and if the link
|
/illumos-gate/usr/src/uts/common/io/pcn/ |
H A D | pcn.c | 1378 pcn_mii_notify(void *arg, link_state_t link) argument 1382 mac_link_update(pcnp->pcn_mh, link);
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_chip.c | 327 * every 15 seconds whin link down & advertise is 1000. 379 * not just those changed. This should cause the link to go down, and then 380 * back up again once the link is stable and autonegotiation (if enabled) 381 * is complete. We should get a link state change interrupt somewhere along 561 * time, so that we can say whether subsequent link state 1482 * Cable link change interrupt 1558 int32_t link; local 1561 link = (media_status & PHY_STATUS_LINK_UP) ? 1563 if (rgep->param_link_up != link) { 1567 rgep->param_link_up = link; [all...] |
/illumos-gate/usr/src/uts/common/io/rtls/ |
H A D | rtls.c | 992 * If chip link down ... Note that experimentation shows that 1392 * link change. 1943 * PHY layer can access it to determine detected link 2001 rtls_mii_notify(void *arg, link_state_t link) argument 2005 mac_link_update(rtlsp->mh, link);
|
/illumos-gate/usr/src/lib/libast/amd64/include/ast/ |
H A D | cdt.h | 93 int link; /* offset to Dtlink_t field */ member in struct:_dtdisc_s 103 ( (dc)->key = (ky), (dc)->size = (sz), (dc)->link = (lk), \ 245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf) 290 #define dtobj(d,e) _DTOBJ((e), _DT(d)->disc->link)
|
/illumos-gate/usr/src/lib/libast/common/include/ |
H A D | cdt.h | 93 int link; /* offset to Dtlink_t field */ member in struct:_dtdisc_s 103 ( (dc)->key = (ky), (dc)->size = (sz), (dc)->link = (lk), \ 245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf) 290 #define dtobj(d,e) _DTOBJ((e), _DT(d)->disc->link)
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | magic.c | 56 Dtlink_t link; /* dictionary link */ member in struct:__anon2642 1538 s += sfsprintf(s, PATH_MAX, T("symbolic link to ")); 1540 return T("cannot read symbolic link text"); 2312 mp->dtdisc.link = offsetof(Info_t, link);
|
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | cdt.h | 93 int link; /* offset to Dtlink_t field */ member in struct:_dtdisc_s 103 ( (dc)->key = (ky), (dc)->size = (sz), (dc)->link = (lk), \ 245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf) 290 #define dtobj(d,e) _DTOBJ((e), _DT(d)->disc->link)
|
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | cdt.h | 93 int link; /* offset to Dtlink_t field */ member in struct:_dtdisc_s 103 ( (dc)->key = (ky), (dc)->size = (sz), (dc)->link = (lk), \ 245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf) 290 #define dtobj(d,e) _DTOBJ((e), _DT(d)->disc->link)
|
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | cdt.h | 93 int link; /* offset to Dtlink_t field */ member in struct:_dtdisc_s 103 ( (dc)->key = (ky), (dc)->size = (sz), (dc)->link = (lk), \ 245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf) 290 #define dtobj(d,e) _DTOBJ((e), _DT(d)->disc->link)
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | llc1.c | 380 * get a per-stream structure and link things together so we 814 struct linkblk *link; local 829 link = (struct linkblk *)mp->b_cont->b_rptr; 839 macinfo->llcp_queue = link->l_qbot; 840 macinfo->llcp_lindex = link->l_index; 865 link = (struct linkblk *)mp->b_cont->b_rptr; 872 if (macinfo->llcp_lindex == link->l_index && 873 macinfo->llcp_queue == link->l_qbot) {
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | hotplug.c | 1114 * source is now an absolute path to the link we're 1129 * If the file is not a link, we're done one 1154 * Now check to see if the link is relative. If so, 1166 /* and append the new link */ 1174 /* It's an absolute link so no worries */ 1190 * These are identified by being a link 1244 * so follow link to physical name 2531 char link[MAXPATHLEN], path[MAXPATHLEN]; local 2557 if (readlink((const char *)lname, (char *)link, 2570 if (strstr(link, pat 2598 char link[MAXPATHLEN], lname[MAXPATHLEN]; local 2720 char link[MAXPATHLEN], path[MAXPATHLEN]; local 2921 char lname[MAXPATHLEN], link[MAXPATHLEN]; local [all...] |