/illumos-gate/usr/src/uts/common/sys/ |
H A D | Makefile | 83 attr.h \
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_misc.c | 2617 sysevent_attr_list_t *attr = NULL; in zfs_post_dle_sysevent() local 2631 if (sysevent_add_attr(&attr, DEV_PHYS_PATH, &value, SE_SLEEP) != 0) { in zfs_post_dle_sysevent() 2636 if (sysevent_attach_attributes(ev, attr) != 0) { in zfs_post_dle_sysevent() 2637 sysevent_free_attr(attr); in zfs_post_dle_sysevent()
|
H A D | sa.c | 286 #define SA_ATTR_HASH(attr) (zfs_crc64_table[(-1ULL ^ attr) & 0xFF]) argument 1456 bulk.sa_attr = attr; in sa_lookup_locked() 1486 bulk.sa_attr = attr; in sa_lookup_uio() 1903 sa_attr_type_t attr; in sa_modify_attrs() local 1905 attr = idx_tab->sa_layout->lot_attrs[i]; in sa_modify_attrs() 1906 reg_length = SA_REGISTERED_LEN(sa, attr); in sa_modify_attrs() 1913 if (attr == newattr) { in sa_modify_attrs() 1933 SA_ADD_BULK_ATTR(attr_desc, j, attr, in sa_modify_attrs() 1936 SA_ADD_BULK_ATTR(attr_desc, j, attr, in sa_modify_attrs() 2021 bulk.sa_attr = attr; in sa_update_from_cb() [all …]
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | pthr_mutex.c | 62 if (attr == NULL || attr->__pthread_mutexattrp == NULL) in pthread_mutexattr_destroy() 80 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_setpshared() 97 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_getpshared() 113 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_setprioceiling() 130 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_getprioceiling() 145 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL) in pthread_mutexattr_setprotocol() 164 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_getprotocol() 181 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_setrobust() 198 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_getrobust() 342 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL) in pthread_mutexattr_settype() [all …]
|
H A D | synch.c | 2331 int attr = mp->mutex_type & ALL_ATTRIBUTES; in mutex_enter() local 2336 if (attr != LOCK_ERRORCHECK && in mutex_enter() 2337 attr != (LOCK_ERRORCHECK | LOCK_RECURSIVE)) { in mutex_enter() 2614 int attr = mp->mutex_type & ALL_ATTRIBUTES; in mutex_exit() local 2616 if (attr != LOCK_ERRORCHECK && in mutex_exit() 2617 attr != (LOCK_ERRORCHECK | LOCK_RECURSIVE)) { in mutex_exit()
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | mutex-16200.c | 132 pthread_mutexattr_t attr, *attrp = NULL; in mutex_test_thr() local 136 VERIFY0(pthread_mutexattr_init(&attr)); in mutex_test_thr() 137 attrp = &attr; in mutex_test_thr() 140 VERIFY0(pthread_mutexattr_settype(&attr, in mutex_test_thr()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_vm.c | 961 const uint8_t attr = vmo->vmo_attr; in vmspace_populate() local 968 if (vmm_gpt_map(vms->vms_gpt, gpa, pfn, prot, attr)) { in vmspace_populate()
|
H A D | vmm_sol_ept.c | 56 ept_attr_to_pat(uint8_t attr) in ept_attr_to_pat() argument 58 uint64_t bits = attr & 0x7; in ept_attr_to_pat() 70 ept_map_page(uint64_t pfn, uint_t prot, uint8_t attr) in ept_map_page() argument 73 const uint64_t pat = ept_attr_to_pat(attr); in ept_map_page()
|
H A D | vmm_sol_rvi.c | 67 rvi_attr_to_pat(uint8_t attr) in rvi_attr_to_pat() argument 70 if (attr == MTRR_TYPE_UC) in rvi_attr_to_pat() 72 if (attr == MTRR_TYPE_WB) in rvi_attr_to_pat() 75 panic("unexpected memattr %x", attr); in rvi_attr_to_pat() 89 rvi_map_page(uint64_t pfn, uint_t prot, uint8_t attr) in rvi_map_page() argument 93 const uint64_t pat = rvi_attr_to_pat(attr); in rvi_map_page()
|
H A D | vmm_gpt.c | 623 uint8_t attr) in vmm_gpt_map_at() argument 627 entry = gpt->vgpt_pte_ops->vpeo_map_page(pfn, prot, attr); in vmm_gpt_map_at() 645 vmm_gpt_map(vmm_gpt_t *gpt, uint64_t gpa, pfn_t pfn, uint_t prot, uint8_t attr) in vmm_gpt_map() argument 653 return (vmm_gpt_map_at(gpt, entries[LEVEL1], pfn, prot, attr)); in vmm_gpt_map()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tem_safe.c | 1286 text_attr_t attr; in tem_safe_outch() local 1876 text_attr_t attr; in tem_safe_text_cls() local 2095 text_attr_t attr; in tem_safe_pix_clear_entire_screen() local 2105 c.tc_char = TEM_ATTR(attr); in tem_safe_pix_clear_entire_screen() 2441 text_attr_t attr; in tem_safe_pix_cursor() local 2455 c.tc_char = TEM_ATTR(attr); in tem_safe_pix_cursor() 2533 text_color_t *bg, text_attr_t *attr, uint8_t flag) in tem_safe_get_attr() argument 2543 if (attr != NULL) in tem_safe_get_attr() 2544 *attr = tem->tvs_flags; in tem_safe_get_attr() 2671 text_attr_t attr; in tem_safe_pix_cls_range() local [all …]
|
H A D | tem.c | 213 text_attr_t attr; in tem_internal_init() local 252 tem_safe_get_attr(ptem, &fg, &bg, &attr, TEM_ATTR_SCREEN_REVERSE); in tem_internal_init() 260 TEM_ATTR(attr) | ' '; in tem_internal_init()
|
/illumos-gate/usr/src/uts/common/io/nvme/ |
H A D | nvme.c | 7122 ddi_ufm_attr_t attr = 0; in nvme_ufm_fill_slot() local 7145 attr |= DDI_UFM_ATTR_ACTIVE; in nvme_ufm_fill_slot() 7148 attr |= DDI_UFM_ATTR_WRITEABLE; in nvme_ufm_fill_slot() 7151 attr |= DDI_UFM_ATTR_EMPTY; in nvme_ufm_fill_slot() 7160 ddi_ufm_slot_set_attrs(slot, attr); in nvme_ufm_fill_slot()
|
/illumos-gate/usr/src/uts/common/io/igc/ |
H A D | igc_ring.c | 350 ddi_dma_attr_t attr; in igc_rx_bufs_alloc() local 355 igc_dma_data_attr(igc, &attr); in igc_rx_bufs_alloc() 356 if (!igc_dma_alloc(igc, &buf->irb_dma, &attr, in igc_rx_bufs_alloc() 930 ddi_dma_attr_t attr; in igc_tx_bufs_alloc() local 933 igc_dma_data_attr(igc, &attr); in igc_tx_bufs_alloc() 934 if (!igc_dma_alloc(igc, &buf->itb_dma, &attr, in igc_tx_bufs_alloc() 941 igc_dma_tx_attr(igc, &attr); in igc_tx_bufs_alloc() 942 if ((ret = ddi_dma_alloc_handle(igc->igc_dip, &attr, in igc_tx_bufs_alloc()
|
/illumos-gate/usr/src/uts/common/io/ena/ |
H A D | ena_dma.c | 119 ddi_dma_attr_t attr; in ena_dma_alloc() local 124 ena_dma_attr(ena, &attr, conf); in ena_dma_alloc() 130 ret = ddi_dma_alloc_handle(ena->ena_dip, &attr, DDI_DMA_DONTWAIT, NULL, in ena_dma_alloc()
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksubr.c | 1838 vattr_t attr; in sockfs_snapshot() local 1874 VOP_GETATTR(so->so_vnode, &attr, 0, CRED(), NULL) != 0) in sockfs_snapshot() 1875 attr.va_nodeid = 0; in sockfs_snapshot() 1877 psi->si_inode = attr.va_nodeid; in sockfs_snapshot()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_config.c | 1644 char **attr; in __ns_ldap_setParamValue() local 2343 for (attr = mapA; *attr; attr++) { in __ns_ldap_setParamValue() 2353 rmap->orig = strdup(*attr); in __ns_ldap_setParamValue() 2403 *attr, origA); in __ns_ldap_setParamValue()
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | mqueue.c | 378 struct mq_attr *attr = NULL; in mq_open() local 405 attr = va_arg(ap, struct mq_attr *); in mq_open() 419 if (attr == NULL) { in mq_open() 422 } else if (attr->mq_maxmsg <= 0 || attr->mq_msgsize <= 0) { in mq_open() 425 } else if (attr->mq_maxmsg > _SEM_VALUE_MAX) { in mq_open() 429 maxmsg = attr->mq_maxmsg; in mq_open() 430 msgsize = attr->mq_msgsize; in mq_open()
|
/illumos-gate/usr/src/data/terminfo/ |
H A D | terminfo.src | 9973 # ^V^L%p1%c%p2%c%p3%c -- clear p2 lines and p3 cols w/attr %p1 9974 # ^V^M%p1%c%p2%c%p3%c%p4%c -- fill p3 lines & p4 cols w/char p2+attr %p1 18336 # SGR dim (turquoise) rev attr: ^[[2;7m 18337 # SGR Data normal attr: ^[[m 18673 # CAMS char. attr. mode set ^[[D 18674 # CAMR char. attr. mode reset ^[[G
|
H A D | termcap.src | 8879 # ^V^L%p1%c%p2%c%p3%c -- clear p2 lines and p3 cols w/attr %p1 8880 # ^V^M%p1%c%p2%c%p3%c%p4%c -- fill p3 lines & p4 cols w/char p2+attr %p1 16314 # SGR dim (turquoise) rev attr: ^[[2;7m 16315 # SGR Data normal attr: ^[[m 16616 # CAMS char. attr. mode set ^[[D 16617 # CAMR char. attr. mode reset ^[[G
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_io.c | 1061 uint_t attr; in iob_setattr() local 1079 attr = ATT_STANDOUT; in iob_setattr() 1082 attr = ATT_UNDERLINE; in iob_setattr() 1085 attr = ATT_REVERSE; in iob_setattr() 1088 attr = ATT_BOLD; in iob_setattr() 1091 attr = ATT_DIM; in iob_setattr() 1094 attr = ATT_ALTCHARSET; in iob_setattr() 1109 return (IOP_SETATTR(iob->iob_pgp, req, attr)); in iob_setattr()
|
/illumos-gate/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 300 match_attr(char *attr) in match_attr() argument 305 if (strlen(attr) == strlen(attr_table[i]) && in match_attr() 307 return (attr); in match_attr() 514 "%s", attr->fa_flowname); in print_flow() 518 (void) dladm_flow_attr_ip2str(attr, fbuf->flow_ipaddr, in print_flow() 551 status = print_flow(statep, attr, &fbuf); in show_flow() 566 dladm_flow_attr_t attr; in show_one_flow() local 571 (void) show_flow(handle, &attr, arg); in show_one_flow() 1109 show_flowprop_one_flow(arg, attr->fa_flowname); in show_flowprop() 1222 dladm_flow_attr_t attr; in show_flowprop_one_flow() local [all …]
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 4939 dladm_vnic_attr_t attr; in do_etherstub_check() local 5112 dladm_vnic_attr_t attr, *vnic = &attr; in print_vnic() local 6201 dladm_wlan_linkattr_t attr; in show_wifi() local 6220 warg.ws_attr = &attr; in show_wifi() 6398 (void) memset(&attr, 0, sizeof (attr)); in do_connect_wifi() 6515 attrp = (attr.wa_valid == 0) ? NULL : &attr; in do_connect_wifi() 9240 dladm_part_attr_t attr; in print_part() local 9321 "%X", attr.dia_pkey); in print_part() 9461 dladm_ib_attr_t attr; in print_ib() local 9468 bzero(&attr, sizeof (attr)); in print_ib() [all …]
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | env.c | 1022 efi_print_var_attr(UINT32 attr) in efi_print_var_attr() argument 1026 if (attr & EFI_VARIABLE_NON_VOLATILE) { in efi_print_var_attr() 1030 if (attr & EFI_VARIABLE_BOOTSERVICE_ACCESS) { in efi_print_var_attr() 1036 if (attr & EFI_VARIABLE_RUNTIME_ACCESS) { in efi_print_var_attr() 1042 if (attr & EFI_VARIABLE_HARDWARE_ERROR_RECORD) { in efi_print_var_attr() 1048 if (attr & EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS) { in efi_print_var_attr() 1061 UINT32 attr; in efi_print_var() local 1093 efi_print_var_attr(attr); in efi_print_var() 1425 int names, values, guids, attr; in ficlEfiSetenv() local 1434 attr = ficlStackPopInteger(pStack); in ficlEfiSetenv() [all …]
|
H A D | efi_console.c | 315 UINTN attr = conout->Mode->Attribute & 0x0F; in efi_text_cons_clear() local 323 attr = EFI_TEXT_ATTR(attr, bg); in efi_text_cons_clear() 324 st = conout->SetAttribute(conout, attr); in efi_text_cons_clear() 352 UINTN attr; in efi_text_cons_display() local 370 attr = EFI_TEXT_ATTR(fg, bg); in efi_text_cons_display() 372 st = conout->SetAttribute(conout, attr); in efi_text_cons_display()
|