Searched defs:link (Results 151 - 175 of 239) sorted by relevance

12345678910

/illumos-gate/usr/src/uts/common/io/elxl/
H A Delxl.c589 * Note: we don't want to start link checking
595 /* Check non-MII link state once per second. */
708 * cause a busted link.
932 link_state_t link; local
942 /* these media we can detect link on */
955 /* these media we can detect link on */
990 link = sc->ex_link;
993 mac_link_update(sc->ex_mach, link);
1220 * Write the link into the previous descriptor. Note that
1223 * on any tx list. (Furthermore, we'll clear its link fiel
2134 elxl_mii_notify(void *arg, link_state_t link) argument
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Daggr_rcm.c58 /* AGGR link representation */
62 boolean_t da_stale; /* AGGR link is stale? */
89 dl_aggr_t *vc_aggr; /* AGGR on this link */
371 * aggr_offline() - Offline AGGRs on a specific link.
393 * If this given link is the only port in the aggregation, inform
429 * aggr_undo_offline() - Undo offline of a previously offlined link.
451 /* Check if no attempt should be made to online the link here */
546 * depending on whether this link is the only port in the aggregation.
671 * If this link is not the only port in the associated aggregation,
754 "AGGR: notify_event: link configuratio
1148 char link[MAXLINKNAMELEN]; local
[all...]
H A Dip_rcm.c827 char link[MAXLINKNAMELEN]; local
853 NULL, link, sizeof (link))) != DLADM_STATUS_OK) {
855 _("IP: usage(%s) get link name failure(%s)\n"),
885 bufsz += strlen(link) + strlen(msg) + 1;
892 (void) snprintf(buf, bufsz, "%s: %s", link, msg);
1829 * get_link_resource() - Convert a link name (e.g., net0, hme1000) into a
1830 * dynamically allocated string containing the associated link resource
1834 get_link_resource(const char *link) argument
1842 status = dladm_name2info(dld_handle, link,
[all...]
H A Dsvm_rcm.c112 struct hspentry *link; /* link through all hsp entries */ member in struct:hspentry
965 hspentry = hspentry->link;
1067 newhspentry->link = hsp_head;
1317 * and the log. Call cache_dependent() to link that master and
1367 * cache and to link it to mirror entry.
1410 * add it to the cache and to link it to the RAID metadevice.
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdllink.c114 char link[MAXLINKNAMELEN]; local
116 if (dladm_datalink_id2info(handle, linkid, NULL, NULL, NULL, link,
117 sizeof (link)) == DLADM_STATUS_OK) {
118 return (walk_arg->fn(link, walk_arg->arg));
399 * holding this link to prevent a rename operation.
466 * Case 2: rename an available physical link link1 to a REMOVED physical link
588 * case 3: rename a non-existent link to a REMOVED physical link.
589 * Set the removed physical link'
[all...]
H A Dlibdlwlan.c859 * Check to see if the link is wireless.
1101 char link[MAXLINKNAMELEN]; local
1104 &media, link, MAXLINKNAMELEN)) != DLADM_STATUS_OK) {
1118 (void) snprintf(linkname, MAXPATHLEN, "/dev/net/%s", link);
1931 * Use the link name as the instance name of the network/wpad service.
1972 * the link name).
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_mac.c702 * e1000_check_for_copper_link_generic - Check for link (Copper)
705 * Checks to see of the link status of the hardware has changed. If a
706 * change in link status has been detected, then we read the PHY registers
707 * to get the current speed/duplex if link exists.
713 bool link; local
718 * has completed and/or if our link status has changed. The
726 * link. If so, then we want to get the current speed/duplex
729 ret_val = e1000_phy_has_link_generic(hw, 1, 0, &link);
733 if (!link)
734 return E1000_SUCCESS; /* No link detecte
[all...]
H A De1000_phy.c1043 * e1000_copper_link_setup_82577 - Setup 82577 PHY for copper link
1106 * e1000_copper_link_setup_m88 - Setup m88 PHY's for copper link
1258 * e1000_copper_link_setup_m88_gen2 - Setup m88 PHY's for copper link
1354 * e1000_copper_link_setup_igp - Setup igp PHY's for copper link
1615 * e1000_copper_link_autoneg - Setup/Enable autoneg for copper link
1620 * and restart the negotiation process between the link partner. If
1679 * e1000_setup_copper_link_generic - Configure copper link settings
1682 * Calls the appropriate function to configure the link for auto-neg or forced
1683 * speed and duplex. Then we check for link, once link i
1690 bool link; local
1745 bool link; local
1811 bool link; local
1950 bool link; local
2630 bool link; local
2705 bool link; local
2767 bool link; local
3905 bool link; local
3954 bool link; local
[all...]
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c64 char *link,
348 output_file_header(char *name, char *link, argument
433 lnklen = strlen(link);
436 * link name is too big, it must go out
471 (void) output_mem(local_commands, (void *)link,
492 link);
501 (void) strlcpy(tar_hdr->th_linkname, link, TLM_NAME_SIZE);
531 tar_hdr->th_linkflag = *link == 0 ? LF_NORMAL :
568 * Read where the softlink points to. Read the link in the checkpointed
578 * realink(2) doesn't null terminate the link nam
[all...]
/illumos-gate/usr/src/cmd/make/bin/
H A Ddoname.cc2675 char link[MAXPATHLEN]; local
2686 fatal(gettext("Can't read symbolic link `%s': Number of symbolic links encountered during path name traversal exceeds 90."),
2689 /* Read the value of the link. */
2691 link,
2692 sizeof(link),
2696 fatal(gettext("Can't read symbolic link `%s': %s"),
2699 link[result] = 0;
2704 if ((link[0] != slash_char) &&
2708 append_string(link, &string, result);
/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc_man.c1517 const struct roff_node *link, *descr; local
1519 if (NULL == (link = n->child))
1522 if (NULL != (descr = link->next)) {
1533 print_word(link->string);
H A Dmdoc_term.c2130 const struct roff_node *link, *descr; local
2132 if (NULL == (link = n->child))
2135 if (NULL != (descr = link->next)) {
2147 term_word(p, link->string);
/illumos-gate/usr/src/lib/libproc/common/
H A DPgcore.c663 uintptr_t addr, ulong_t offset, size_t size, uint_t link, uint_t info,
676 shdr.sh_link = link;
697 shdr.sh_link = link;
662 write_shdr(pgcore_t *pgc, shstrtype_t name, uint_t type, ulong_t flags, uintptr_t addr, ulong_t offset, size_t size, uint_t link, uint_t info, uintptr_t addralign, uintptr_t entsize) argument
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c1194 * if the link lives in /dev/cfg copy its name
1197 found_devlink(di_devlink_t link, void *ap_log_id) argument
1199 if (strncmp("/dev/cfg/", di_devlink_path(link), 9) == 0) {
1201 (void) strcpy((char *)ap_log_id, di_devlink_path(link) + 9);
1209 * Walk throught the cached /dev link tree looking for links to the ap
/illumos-gate/usr/src/lib/efcode/engine/
H A Ddebug.c499 token_t *link; local
503 link = ACF_TO_LINK(debug_low[i]);
504 flag = LINK_TO_FLAGS(link);
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c979 * dev1 can be either a /dev link or /devices name in the target
1542 const char *link; local
1544 if ((link = di_devlink_path(devlink)) != NULL)
1545 (void) strlcpy((char *)argp, link, MAXPATHLEN);
1573 * after dev link creation. So wait for minimum that amout of time.
/illumos-gate/usr/src/lib/libbsm/common/
H A Dadt.c1056 struct export_link link; local
1088 adrm_int32(&context, (int *)&link, 2);
1089 offset = link.ax_offset;
1090 version = link.ax_version;
1099 adrm_start(&context, (char *)(p + sizeof (link)));
H A Ddevalloc.c1735 * adds new /dev link name to the linked list of devices.
1736 * returns 0 if link added successfully, -1 on error.
1739 da_add_list(devlist_t *dlist, char *link, int new_instance, int flag) argument
1751 if (dlist == NULL || link == NULL)
1789 * Add the new link name to the list of links
1853 nlen = strlen(link) + 1; /* +1 terminator */
1873 (void) snprintf(nentry->devinfo.devlist, nlen, "%s", link);
1876 " %s", link);
1899 * removes a /dev link name from the linked list of devices.
1900 * returns type of device if link fo
1906 da_remove_list(devlist_t *dlist, char *link, int type, char *devname, int size) argument
2072 da_rm_list_entry(devlist_t *dlist, char *link, int type, char *devname) argument
[all...]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Deepro100.c232 u32 link; /* void * */ member in struct:TxFD
245 u32 link; /* struct RxFD * */ member in struct:RxFD
266 u32 link; member in struct:ConfCmd
413 txfd.link = virt_to_bus (&txfd);
639 ACCESS(rxfd)link = virt_to_bus(&(ACCESS(rxfd)status));
667 txfd.link = virt_to_bus (&confcmd);
710 confcmd.link = virt_to_bus (&txfd);
735 printf("Valid link not established\n");
H A Dtlan.c248 u8 link; member in struct:tlan_private
449 if ((status & MII_GS_LINK) && /* We only support link info on Nat.Sem. PHY's */
480 /* We have link beat..for now anyway */
481 priv->link = 1;
482 /*Enabling link beat monitoring */
1054 * over the serial link. It then sends and ack bit, or no
1562 printf("%s: Trying to activate link.\n", priv->nic_name);
1636 * to establish link.
1672 ("TLAN: Trying to establish link in the background...\n");
1744 * about link change
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c1348 * if the link lives in /dev/cfg copy its name
1351 found_devlink(di_devlink_t link, void *ap_log_id) argument
1353 if (strncmp("/dev/cfg/", di_devlink_path(link), 9) == 0) {
1355 (void) strcpy((char *)ap_log_id, di_devlink_path(link) + 9);
1363 * Walk throught the cached /dev link tree looking for links to the ap
/illumos-gate/usr/src/cmd/prtconf/
H A Dpdevinfo.c1237 link_lnode_disp(di_link_t link, uint_t endpoint, int ilev, argument
1246 lnode = di_link_to_lnode(link, endpoint);
1250 spec_type = di_link_spectype(link);
1255 * if we're displaying the source of a link, we should display
1312 di_link_t link; local
1314 link = DI_LINK_NIL;
1315 while (link = di_link_next_by_node(node, link, DI_LINK_TGT)) {
1319 tgt_lnode = di_link_to_lnode(link, DI_LINK_TGT);
1335 link_lnode_disp(link, DI_LINK_SR
1368 di_link_t link; local
1486 di_link_t link; local
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm_impl.h203 typedef struct link { struct
206 struct link *next;
212 link_t *link; member in struct:linkhead
405 static int component_cat(char *link, char *name, int field);
433 static link_list_t *create_link_list(char *link);
438 static int construct_devlink(char *link, link_list_t *link_build,
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c128 struct person *link; /* link to next person */ member in struct:person
286 p->link = malloc(sizeof (*p));
287 p = p->link;
317 p->link = NULL;
338 p->link = malloc(sizeof (*p));
339 p = p->link;
350 p->link = NULL;
357 for (p = person1; p != NULL; p = p->link) {
363 for (p = person1; p != NULL; p = p->link) {
[all...]
/illumos-gate/usr/src/cmd/iscsiadm/
H A Dsun_ima.c116 static int get_lun_devlink(di_devlink_t link, void *arg);
1353 get_lun_devlink(di_devlink_t link, void *arg) argument
1357 char *content = (char *)di_devlink_content(link);
1365 *(warg->linkpp) = strdup(di_devlink_path(link));

Completed in 168 milliseconds

12345678910