/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlib.c | 338 i_dladm_part_create(dladm_handle_t handle, dladm_part_attr_t *pattr) in i_dladm_part_create() argument 345 ioc.ibdioc.ioc_linkid = pattr->dia_physlinkid; in i_dladm_part_create() 347 ioc.ioc_partid = pattr->dia_partlinkid; in i_dladm_part_create() 348 ioc.ioc_pkey = pattr->dia_pkey; in i_dladm_part_create() 349 ioc.ibdioc.ioc_port_inst = pattr->dia_instance; in i_dladm_part_create() 350 ioc.ioc_force_create = ((pattr->dia_flags & DLADM_OPT_FORCE) in i_dladm_part_create() 362 dladm_part_attr_t *pattr) in dladm_part_persist_conf() argument 370 status = dladm_create_conf(handle, pname, pattr->dia_partlinkid, in dladm_part_persist_conf() 379 status = dladm_datalink_id2info(handle, pattr->dia_physlinkid, in dladm_part_persist_conf() 390 u64 = pattr->dia_pkey; in dladm_part_persist_conf() [all …]
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 3840 link_fields_buf_t pattr; in print_phys_default() local 3846 bzero(&pattr, sizeof (pattr)); in print_phys_default() 3847 (void) snprintf(pattr.link_phys_device, in print_phys_default() 3848 sizeof (pattr.link_phys_device), "%s", dpa.dp_dev); in print_phys_default() 3849 (void) dladm_media2str(media, pattr.link_phys_media); in print_phys_default() 3854 (void) strlcpy(pattr.link_name, link, in print_phys_default() 3855 sizeof (pattr.link_name)); in print_phys_default() 3862 (void) strlcpy(pattr.link_name, dpa.dp_dev, in print_phys_default() 3863 sizeof (pattr.link_name)); in print_phys_default() 3867 (void) get_linkstate(pattr.link_name, islink, in print_phys_default() [all …]
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | fasttrap.c | 1299 const dtrace_pattr_t *pattr) in fasttrap_provider_lookup() argument 1308 ASSERT(pattr != NULL); in fasttrap_provider_lookup() 1398 dtrace_register(provname, pattr, in fasttrap_provider_lookup() 1400 pattr == &pid_attr ? &pid_pops : &usdt_pops, new_fp, in fasttrap_provider_lookup()
|
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_ioctl.c | 1091 ibdm_port_attr_t *pattr; in ibnex_get_num_devices() local 1107 pattr = &hca_list->hl_port_attr[j]; in ibnex_get_num_devices() 1108 for (k = 0; k < pattr->pa_npkeys; k++) { in ibnex_get_num_devices() 1109 if (IBNEX_INVALID_PKEY(pattr->pa_pkey_tbl[k]. in ibnex_get_num_devices()
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 538 static int retry_open_attr(int pdirfd, int cwd, char *dirp, char *pattr, 8414 retry_open_attr(int pdirfd, int cwd, char *dirp, char *pattr, char *name, in retry_open_attr() argument 8441 if ((dirfd = openat(cwd, (pattr == NULL) ? dirp : pattr, in retry_open_attr() 8518 (void) futimesat(cwd, (pattr == NULL) ? dirp : pattr, times); in retry_open_attr()
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 3936 retry_open_attr(int pdirfd, int cwd, char *fullname, char *pattr, char *name, in retry_open_attr() argument 3963 if ((dirfd = openat(cwd, (pattr == NULL) ? fullname : pattr, in retry_open_attr() 4036 (void) futimesat(cwd, (pattr == NULL) ? fullname : pattr, times); in retry_open_attr()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | Makefile | 450 pattr.h \
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-header.p5m | 1177 file path=usr/include/sys/pattr.h
|