Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 745) sorted by relevance

12345678910>>...30

/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthr_attr.c86 if (attr == NULL || attr->__pthread_attrp == NULL) in pthread_attr_destroy()
138 if (attr != NULL && (ap = attr->__pthread_attrp) != NULL && in pthread_attr_setstacksize()
155 if (attr != NULL && (ap = attr->__pthread_attrp) != NULL && in pthread_attr_getstacksize()
172 if (attr != NULL && (ap = attr->__pthread_attrp) != NULL) { in pthread_attr_setstackaddr()
188 if (attr != NULL && (ap = attr->__pthread_attrp) != NULL && in pthread_attr_getstackaddr()
205 if (attr != NULL && (ap = attr->__pthread_attrp) != NULL && in pthread_attr_setdetachstate()
223 if (attr != NULL && (ap = attr->__pthread_attrp) != NULL && in pthread_attr_getdetachstate()
241 if (attr != NULL && (ap = attr->__pthread_attrp) != NULL && in pthread_attr_setdaemonstate_np()
260 if (attr != NULL && (ap = attr->__pthread_attrp) != NULL && in pthread_attr_getdaemonstate_np()
277 if (attr != NULL && (ap = attr->__pthread_attrp) != NULL && in pthread_attr_setscope()
[all …]
H A Dpthr_mutex.c58 if (attr == NULL || attr->__pthread_mutexattrp == NULL) in pthread_mutexattr_destroy()
76 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_setpshared()
93 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_getpshared()
109 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_setprioceiling()
126 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_getprioceiling()
141 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL) in pthread_mutexattr_setprotocol()
160 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_getprotocol()
177 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_setrobust()
194 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL || in pthread_mutexattr_getrobust()
297 if (attr == NULL || (ap = attr->__pthread_mutexattrp) == NULL) in pthread_mutexattr_settype()
[all …]
H A Dpthr_cond.c36 pthread_condattr_init(pthread_condattr_t *attr) in pthread_condattr_init() argument
44 attr->__pthread_condattrp = ap; in pthread_condattr_init()
53 pthread_condattr_destroy(pthread_condattr_t *attr) in pthread_condattr_destroy() argument
55 if (attr == NULL || attr->__pthread_condattrp == NULL) in pthread_condattr_destroy()
57 lfree(attr->__pthread_condattrp, sizeof (cvattr_t)); in pthread_condattr_destroy()
58 attr->__pthread_condattrp = NULL; in pthread_condattr_destroy()
70 if (attr != NULL && (ap = attr->__pthread_condattrp) != NULL && in pthread_condattr_setclock()
86 if (attr != NULL && (ap = attr->__pthread_condattrp) != NULL && in pthread_condattr_getclock()
104 if (attr != NULL && (ap = attr->__pthread_condattrp) != NULL && in pthread_condattr_setpshared()
122 if (attr != NULL && (ap = attr->__pthread_condattrp) != NULL && in pthread_condattr_getpshared()
[all …]
H A Dpthr_rwlock.c36 pthread_rwlockattr_init(pthread_rwlockattr_t *attr) in pthread_rwlockattr_init() argument
43 attr->__pthread_rwlockattrp = ap; in pthread_rwlockattr_init()
53 pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr) in pthread_rwlockattr_destroy() argument
55 if (attr == NULL || attr->__pthread_rwlockattrp == NULL) in pthread_rwlockattr_destroy()
57 lfree(attr->__pthread_rwlockattrp, sizeof (rwlattr_t)); in pthread_rwlockattr_destroy()
58 attr->__pthread_rwlockattrp = NULL; in pthread_rwlockattr_destroy()
71 if (attr != NULL && (ap = attr->__pthread_rwlockattrp) != NULL && in pthread_rwlockattr_setpshared()
89 if (attr != NULL && (ap = attr->__pthread_rwlockattrp) != NULL && in pthread_rwlockattr_getpshared()
104 const pthread_rwlockattr_t *_RESTRICT_KYWD attr) in pthread_rwlock_init() argument
109 if (attr == NULL) in pthread_rwlock_init()
[all …]
H A Dpthr_barrier.c39 pthread_barrierattr_init(pthread_barrierattr_t *attr) in pthread_barrierattr_init() argument
46 attr->__pthread_barrierattrp = ap; in pthread_barrierattr_init()
51 pthread_barrierattr_destroy(pthread_barrierattr_t *attr) in pthread_barrierattr_destroy() argument
53 if (attr == NULL || attr->__pthread_barrierattrp == NULL) in pthread_barrierattr_destroy()
55 lfree(attr->__pthread_barrierattrp, sizeof (barrierattr_t)); in pthread_barrierattr_destroy()
56 attr->__pthread_barrierattrp = NULL; in pthread_barrierattr_destroy()
65 if (attr == NULL || (ap = attr->__pthread_barrierattrp) == NULL || in pthread_barrierattr_setpshared()
78 if (attr == NULL || (ap = attr->__pthread_barrierattrp) == NULL || in pthread_barrierattr_getpshared()
87 const pthread_barrierattr_t *attr, uint_t count) in pthread_barrier_init() argument
94 if (attr == NULL) in pthread_barrier_init()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dvid_puts.c84 (long) ISATTR(attr, WA_BLINK), in vid_puts()
85 (long) ISATTR(attr, WA_DIM), in vid_puts()
86 (long) ISATTR(attr, WA_BOLD), in vid_puts()
108 (long) ISATTR(attr, WA_LOW), in vid_puts()
110 (long) ISATTR(attr, WA_TOP), in vid_puts()
120 } else if (ATTR_STATE != attr) { in vid_puts()
137 if (attr == WA_NORMAL) { in vid_puts()
191 ATTR_STATE = attr; in vid_puts()
200 attr_t new = attr; in turn_off()
212 if (ISATTR(attr, WA_STANDOUT) in turn_off()
[all …]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlflow.c136 bzero(attr, sizeof (*attr)); in dladm_flow_parse_db()
156 if ((attr->fi_linkid = in dladm_flow_parse_db()
231 attr->fi_flowname, attr->fi_linkid)); in i_dladm_flow_fput_grp()
328 dld_flowinfo_t attr; in i_dladm_flow_walk_rw_db() local
383 fn_rc = fn(arg, &attr); in i_dladm_flow_walk_rw_db()
548 dld_ioc_addflow_t attr; in i_dladm_flow_add() local
551 bzero(&attr, sizeof (attr)); in i_dladm_flow_add()
558 (void) strlcpy(attr.af_name, flowname, sizeof (attr.af_name)); in i_dladm_flow_add()
709 dladm_flow_attr_t attr; in i_dladm_flow_get_db_fn() local
781 bzero(&attr, sizeof (attr)); in dladm_walk_flow()
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dvid_puts.c177 ATTR_STATE = attr; in vid_puts()
186 attr_t new = attr; in turn_off()
217 attr_t new = attr; in turn_on()
225 if (ISATTR(attr, WA_BLINK) && in turn_on()
231 if (ISATTR(attr, WA_BOLD) && in turn_on()
237 if (ISATTR(attr, WA_INVIS) && in turn_on()
243 if (ISATTR(attr, WA_DIM) && in turn_on()
279 if (ISATTR(attr, WA_LEFT) && in turn_on()
285 if (ISATTR(attr, WA_LOW) && in turn_on()
291 if (ISATTR(attr, WA_RIGHT) && in turn_on()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathkey.c119 if (attr) in pathkey_20100601()
120 attr = strcopy(attr, "PREROOT='"); in pathkey_20100601()
128 if (attr && (getpreroot(attr, path) || getpreroot(attr, NiL))) in pathkey_20100601()
129 attr += strlen(attr); in pathkey_20100601()
135 attr = strcopy(attr, k); in pathkey_20100601()
144 attr = strcopy(attr, k); in pathkey_20100601()
152 if (attr) in pathkey_20100601()
153 attr = strcopy(attr, "' UNIVERSE='"); in pathkey_20100601()
158 attr = strcopy(attr, k); in pathkey_20100601()
172 if (attr) in pathkey_20100601()
[all …]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetprinter.c71 ns_ldap_attr_t *attr; in _nss_ldap_printers2str() local
112 if (attr != NULL && attr->attrvalue != NULL) { in _nss_ldap_printers2str()
115 attr->attrvalue[i]); in _nss_ldap_printers2str()
125 attr = getattr(result, i); in _nss_ldap_printers2str()
126 if (attr == NULL) { in _nss_ldap_printers2str()
142 attr->attrvalue[j]); in _nss_ldap_printers2str()
153 strcasecmp(attr->attrname, in _nss_ldap_printers2str()
155 strcasecmp(attr->attrname, in _nss_ldap_printers2str()
234 attr->attrvalue[j]); in _nss_ldap_printers2str()
257 (void) strcat(buf, attr); in append_attr()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtemplate.c316 if (! attr) { in template_add_attributes()
323 attr->pValue = (CK_BYTE *)attr + sizeof (CK_ATTRIBUTE); in template_add_attributes()
331 free(attr); in template_add_attributes()
436 *attr = a; in template_attribute_find()
443 *attr = NULL; in template_attribute_find()
835 if (attr) in template_free()
836 free(attr); in template_free()
1089 free(attr); in template_update_attribute()
1106 CK_ATTRIBUTE * attr, in template_validate_attribute() argument
1118 attr, mode)); in template_validate_attribute()
[all …]
H A Dhwf_obj.c298 CK_ATTRIBUTE * attr = NULL; in hwf_object_check_required_attributes() local
314 CK_ATTRIBUTE *attr = NULL; in clock_check_required_attributes() local
318 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in clock_check_required_attributes()
330 CK_ATTRIBUTE *attr = NULL; in counter_check_required_attributes() local
334 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in counter_check_required_attributes()
359 switch (attr->type) { in hwf_validate_attribute()
368 attr, mode)); in hwf_validate_attribute()
374 switch (attr->type) { in clock_validate_attribute()
379 return (hwf_validate_attribute(tmpl, attr, mode)); in clock_validate_attribute()
386 switch (attr->type) { in counter_validate_attribute()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c360 if (attr->nonce == NULL || attr->nlen == 0 || in digest_client_resp()
361 attr->realm == NULL || attr->rlen == 0 || in digest_client_resp()
362 attr->qop == NULL || attr->qlen == 0 || in digest_client_resp()
363 (attr->nclen != 0 && attr->nclen != 8)) { in digest_client_resp()
372 attr->ncount = attr->ncbuf; in digest_client_resp()
374 } else if (attr->ncount == attr->ncbuf) { in digest_client_resp()
391 len = prefixsize + attr->ulen + attr->rlen + attr->nlen + attr->nclen; in digest_client_resp()
405 memcpy(scan, attr->charset, attr->charsetlen); in digest_client_resp()
411 sprintf(scan, prefix, attr->ulen, attr->user, in digest_client_resp()
412 attr->rlen, attr->realm, attr->nlen, attr->nonce, in digest_client_resp()
[all …]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrManager.c51 CK_ATTRIBUTE attr; in get_master_attributes_by_object() local
56 attr.type = CKA_CLASS; in get_master_attributes_by_object()
57 attr.pValue = &class; in get_master_attributes_by_object()
65 attr.pValue = &subtype; in get_master_attributes_by_object()
413 attr->attribute.pValue = &attr->generic_ulong; in get_master_attributes_by_type()
416 attr->attribute.pValue = &attr->generic_bbool; in get_master_attributes_by_type()
419 attr->attribute.pValue = attr->generic_data; in get_master_attributes_by_type()
560 if (attr == NULL) { in attribute_set_value()
593 attr->attribute.pValue = attr->generic_data; in attribute_set_value()
602 bzero(attr->attribute.pValue, attr->attribute.ulValueLen); in attribute_set_value()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_cmn_setfile.c55 smb_attr_t *attr = &si->si_attr; in smb_set_basic_info() local
69 bzero(attr, sizeof (*attr)); in smb_set_basic_info()
72 attr->sa_mask |= SMB_AT_ATIME; in smb_set_basic_info()
76 attr->sa_mask |= SMB_AT_MTIME; in smb_set_basic_info()
80 attr->sa_mask |= SMB_AT_CTIME; in smb_set_basic_info()
84 attr->sa_mask |= SMB_AT_CRTIME; in smb_set_basic_info()
88 attr->sa_dosattr = attributes; in smb_set_basic_info()
131 bzero(attr, sizeof (*attr)); in smb_set_eof_info()
132 attr->sa_mask = SMB_AT_SIZE; in smb_set_eof_info()
173 bzero(attr, sizeof (*attr)); in smb_set_alloc_info()
[all …]
H A Dsmb2_close.c25 smb_attr_t attr; in smb2_close() local
60 bzero(&attr, sizeof (attr)); in smb2_close()
62 attr.sa_mask = SMB_AT_ALL; in smb2_close()
63 status = smb2_ofile_getattr(sr, of, &attr); in smb2_close()
96 &attr.sa_crtime, /* T */ in smb2_close()
97 &attr.sa_vattr.va_atime, /* T */ in smb2_close()
98 &attr.sa_vattr.va_mtime, /* T */ in smb2_close()
99 &attr.sa_vattr.va_ctime, /* T */ in smb2_close()
100 attr.sa_allocsz, /* q */ in smb2_close()
101 attr.sa_vattr.va_size, /* q */ in smb2_close()
[all …]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dpte.h176 #define TTE_VALID_CHECK(attr) \ argument
178 #define TTE_NFO_CHECK(attr) \ argument
183 #define TTE_IE_CHECK(attr) \ argument
191 #define TTE_CP_CHECK(attr) \ argument
193 #define TTE_CV_CHECK(attr) \ argument
195 #define TTE_SE_CHECK(attr) \ argument
197 #define TTE_PRIV_CHECK(attr) \ argument
201 (TTE_VALID_CHECK(attr) | TTE_NFO_CHECK(attr))
208 (TTE_WRPRM_CHECK(attr) | TTE_CP_CHECK(attr) | TTE_CV_CHECK(attr) | \
209 TTE_SE_CHECK(attr) | TTE_PRIV_CHECK(attr) | TTE_EXECPRM_CHECK(attr) | \
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_form.c79 Dwarf_Attribute attr, in get_attr_dbg() argument
83 if (attr == NULL) { in get_attr_dbg()
88 cup = attr->ar_cu_context; in get_attr_dbg()
105 dwarf_hasform(Dwarf_Attribute attr, in dwarf_hasform() argument
1066 if (attr == NULL) { in dwarf_formdata16()
1130 attr->ar_debug_ptr, in dwarf_formaddr()
1150 attr->ar_debug_ptr, in dwarf_formaddr()
1171 if (attr == NULL) { in dwarf_formflag()
1359 attr->ar_debug_ptr, in dwarf_formsdata()
1418 Dwarf_Attribute attr, in _dwarf_formblock_internal() argument
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dpte.h219 #define TTE_VALID_CHECK(attr) \ argument
221 #define TTE_IE_CHECK(attr) \ argument
223 #define TTE_NFO_CHECK(attr) \ argument
234 #define TTE_CP_CHECK(attr) \ argument
236 #define TTE_CV_CHECK(attr) \ argument
238 #define TTE_SE_CHECK(attr) \ argument
240 #define TTE_PRIV_CHECK(attr) \ argument
244 (TTE_VALID_CHECK(attr) | TTE_NFO_CHECK(attr) | TTE_IE_CHECK(attr))
251 (TTE_WRPRM_CHECK(attr) | TTE_NOSYNC_CHECK(attr) | \
252 TTE_CP_CHECK(attr) | TTE_CV_CHECK(attr) | TTE_SE_CHECK(attr) | \
[all …]
/illumos-gate/usr/src/common/xattr/
H A Dxattr_common.c71 attr_to_name(f_attr_t attr) in attr_to_name() argument
73 if (attr >= F_ATTR_ALL || attr < 0) in attr_to_name()
76 return (xattrs[attr].x_name); in attr_to_name()
80 attr_to_option(f_attr_t attr) in attr_to_option() argument
82 if (attr >= F_ATTR_ALL || attr < 0) in attr_to_option()
85 return (xattrs[attr].x_option); in attr_to_option()
115 attr_to_xattr_view(f_attr_t attr) in attr_to_xattr_view() argument
117 if (attr >= F_ATTR_ALL || attr < 0) in attr_to_xattr_view()
130 attr_to_data_type(f_attr_t attr) in attr_to_data_type() argument
132 if (attr >= F_ATTR_ALL || attr < 0) in attr_to_data_type()
[all …]
/illumos-gate/usr/src/head/
H A Dspawn.h111 posix_spawnattr_t *attr);
114 posix_spawnattr_t *attr);
117 posix_spawnattr_t *attr,
121 const posix_spawnattr_t *_RESTRICT_KYWD attr,
125 posix_spawnattr_t *attr,
133 posix_spawnattr_t *_RESTRICT_KYWD attr,
141 posix_spawnattr_t *attr,
149 posix_spawnattr_t *_RESTRICT_KYWD attr,
167 posix_spawnattr_t *_RESTRICT_KYWD attr);
174 posix_spawnattr_t *_RESTRICT_KYWD attr,
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/cifs/
H A Dcifs_attr_002_pos.ksh67 typeset cmd="chmod $op$attr $obj"
92 if [[ $attr = 'q' && -d $obj ]]; then
111 chk_attr $op $obj $attr
118 typeset attr=$3
124 [[ $attrstr =~ $attr ]] || log_fail "$op $attr -> $attrstr"
126 [[ $attrstr =~ $attr ]] && log_fail "$op $attr -> $attrstr"
191 for attr in $attributes; do
195 try $mntpt/file $attr $user $priv $add
196 try $mntpt/file $attr $user $priv $del
197 try $mntpt/dir $attr $user $priv $add
[all …]
H A Dcifs_attr_004_pos.ksh70 typeset attr=$2
72 if [[ -z $attr ]]; then
73 attr="AHRSadimu"
75 attr="${attr}q"
78 chmod S+c${attr} $object
91 typeset attr=$2
93 if [[ -z $attr ]]; then
95 attr="AHRSadimu"
97 attr="${attr}q"
100 attr="AHRS"
[all …]
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice_info.c341 if (strcmp (attr[0], "key") != 0) in handle_match()
343 key = attr[1]; in handle_match()
369 value = attr[3]; in handle_match()
567 needle = attr[3]; in handle_match()
601 needle = attr[3]; in handle_match()
686 if (strcmp (attr[0], "key") != 0) in handle_merge()
745 if (strcmp (attr[0], "key") != 0) in handle_append_prepend()
948 handle_merge (pc, attr); in start()
999 handle_remove (pc, attr); in start()
1016 handle_clear (pc, attr); in start()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_kverbs.c1722 qp, attr, attr_mask, attr->port_num, hattr.hca_nports); in ib_modify_qp()
1733 qp, attr, attr_mask, attr->pkey_index, in ib_modify_qp()
1745 qp, attr, attr_mask, attr->max_rd_atomic, in ib_modify_qp()
1845 attr->port_num; in ib_modify_qp()
1849 attr->port_num; in ib_modify_qp()
1916 attr->timeout; in ib_modify_qp()
1963 qp, attr, attr_mask, attr->alt_port_num, in ib_modify_qp()
1974 qp, attr, attr_mask, attr->alt_pkey_index, in ib_modify_qp()
2026 attr->sq_psn; in ib_modify_qp()
2030 attr->sq_psn; in ib_modify_qp()
[all …]

12345678910>>...30