Searched refs:attr (Results 1 - 25 of 719) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthr_rwlock.c36 pthread_rwlockattr_init(pthread_rwlockattr_t *attr) argument
43 attr->__pthread_rwlockattrp = ap;
53 pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr) argument
55 if (attr == NULL || attr->__pthread_rwlockattrp == NULL)
57 lfree(attr->__pthread_rwlockattrp, sizeof (rwlattr_t));
58 attr->__pthread_rwlockattrp = NULL;
64 * pthread_rwlockattr_setpshared: sets the shared attr to PRIVATE or SHARED.
67 pthread_rwlockattr_setpshared(pthread_rwlockattr_t *attr, int pshared) argument
71 if (attr !
85 pthread_rwlockattr_getpshared(const pthread_rwlockattr_t *attr, int *pshared) argument
103 pthread_rwlock_init(pthread_rwlock_t *_RESTRICT_KYWD rwlock, const pthread_rwlockattr_t *_RESTRICT_KYWD attr) argument
[all...]
H A Dpthr_cond.c36 pthread_condattr_init(pthread_condattr_t *attr) argument
44 attr->__pthread_condattrp = ap;
53 pthread_condattr_destroy(pthread_condattr_t *attr) argument
55 if (attr == NULL || attr->__pthread_condattrp == NULL)
57 lfree(attr->__pthread_condattrp, sizeof (cvattr_t));
58 attr->__pthread_condattrp = NULL;
66 pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id) argument
70 if (attr != NULL && (ap = attr
82 pthread_condattr_getclock(const pthread_condattr_t *attr, clockid_t *clock_id) argument
100 pthread_condattr_setpshared(pthread_condattr_t *attr, int pshared) argument
118 pthread_condattr_getpshared(const pthread_condattr_t *attr, int *pshared) argument
136 pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr) argument
[all...]
H A Dpthr_attr.c38 * Default attribute object for pthread_create() with NULL attr pointer.
67 pthread_attr_init(pthread_attr_t *attr) argument
73 attr->__pthread_attrp = ap;
84 pthread_attr_destroy(pthread_attr_t *attr) argument
86 if (attr == NULL || attr->__pthread_attrp == NULL)
88 lfree(attr->__pthread_attrp, sizeof (thrattr_t));
89 attr->__pthread_attrp = NULL;
97 pthread_attr_clone(pthread_attr_t *attr, const pthread_attr_t *old_attr) argument
108 attr
134 pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) argument
151 pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize) argument
168 pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr) argument
184 pthread_attr_getstackaddr(const pthread_attr_t *attr, void **stackaddr) argument
201 pthread_attr_setdetachstate(pthread_attr_t *attr, int detachstate) argument
219 pthread_attr_getdetachstate(const pthread_attr_t *attr, int *detachstate) argument
237 pthread_attr_setdaemonstate_np(pthread_attr_t *attr, int daemonstate) argument
256 pthread_attr_getdaemonstate_np(const pthread_attr_t *attr, int *daemonstate) argument
273 pthread_attr_setscope(pthread_attr_t *attr, int scope) argument
291 pthread_attr_getscope(const pthread_attr_t *attr, int *scope) argument
308 pthread_attr_setinheritsched(pthread_attr_t *attr, int inherit) argument
326 pthread_attr_getinheritsched(const pthread_attr_t *attr, int *inherit) argument
342 pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy) argument
359 pthread_attr_getschedpolicy(const pthread_attr_t *attr, int *policy) argument
376 pthread_attr_setschedparam(pthread_attr_t *attr, const struct sched_param *param) argument
395 pthread_attr_getschedparam(const pthread_attr_t *attr, struct sched_param *param) argument
413 pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize) argument
429 pthread_attr_getguardsize(const pthread_attr_t *attr, size_t *guardsize) argument
447 pthread_attr_setstack(pthread_attr_t *attr, void *stackaddr, size_t stacksize) argument
468 pthread_attr_getstack(const pthread_attr_t *attr, void **stackaddr, size_t *stacksize) argument
483 pthread_attr_setname_np(pthread_attr_t *attr, const char *name) argument
516 pthread_attr_getname_np(pthread_attr_t *attr, char *buf, size_t len) argument
549 pthread_attr_get_np(pthread_t tid, pthread_attr_t *attr) argument
[all...]
H A Dpthr_mutex.c37 pthread_mutexattr_init(pthread_mutexattr_t *attr) argument
47 attr->__pthread_mutexattrp = ap;
56 pthread_mutexattr_destroy(pthread_mutexattr_t *attr) argument
58 if (attr == NULL || attr->__pthread_mutexattrp == NULL)
60 lfree(attr->__pthread_mutexattrp, sizeof (mattr_t));
61 attr->__pthread_mutexattrp = NULL;
72 pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, int pshared) argument
76 if (attr == NULL || (ap = attr
89 pthread_mutexattr_getpshared(const pthread_mutexattr_t *attr, int *pshared) argument
104 pthread_mutexattr_setprioceiling(pthread_mutexattr_t *attr, int prioceiling) argument
122 pthread_mutexattr_getprioceiling(const pthread_mutexattr_t *attr, int *ceiling) argument
137 pthread_mutexattr_setprotocol(pthread_mutexattr_t *attr, int protocol) argument
156 pthread_mutexattr_getprotocol(const pthread_mutexattr_t *attr, int *protocol) argument
173 pthread_mutexattr_setrobust(pthread_mutexattr_t *attr, int robust) argument
190 pthread_mutexattr_getrobust(const pthread_mutexattr_t *attr, int *robust) argument
207 pthread_mutex_init(pthread_mutex_t *_RESTRICT_KYWD mutex, const pthread_mutexattr_t *_RESTRICT_KYWD attr) argument
293 pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type) argument
321 pthread_mutexattr_gettype(const pthread_mutexattr_t *attr, int *typep) argument
[all...]
H A Dpthr_barrier.c39 pthread_barrierattr_init(pthread_barrierattr_t *attr) argument
46 attr->__pthread_barrierattrp = ap;
51 pthread_barrierattr_destroy(pthread_barrierattr_t *attr) argument
53 if (attr == NULL || attr->__pthread_barrierattrp == NULL)
55 lfree(attr->__pthread_barrierattrp, sizeof (barrierattr_t));
56 attr->__pthread_barrierattrp = NULL;
61 pthread_barrierattr_setpshared(pthread_barrierattr_t *attr, int pshared) argument
65 if (attr == NULL || (ap = attr
74 pthread_barrierattr_getpshared(const pthread_barrierattr_t *attr, int *pshared) argument
86 pthread_barrier_init(pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, uint_t count) argument
[all...]
/illumos-gate/usr/src/common/xattr/
H A Dxattr_common.c25 #include <sys/attr.h>
35 * add another entry to xattr_dirents[] and update xattr_view_t in sys/attr.h.
71 attr_to_name(f_attr_t attr) argument
73 if (attr >= F_ATTR_ALL || attr < 0)
76 return (xattrs[attr].x_name);
80 attr_to_option(f_attr_t attr) argument
82 if (attr >= F_ATTR_ALL || attr < 0)
85 return (xattrs[attr]
115 attr_to_xattr_view(f_attr_t attr) argument
130 attr_to_data_type(f_attr_t attr) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathkey.c31 * if attr != 0 then attribute var assignments placed here:
41 pathkey(char* key, char* attr, const char* lang, const char* tool, const char* apath) argument
103 if (attr)
104 attr = strcopy(attr, "PREROOT='");
112 if (attr && (getpreroot(attr, path) || getpreroot(attr, NiL)))
113 attr += strlen(attr);
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dvid_attr.c50 vid_attr(attr_t attr, short pair, void *opts) argument
54 code = vid_puts(attr, pair, opts, __m_putchar);
H A Dvid_puts.c73 vid_puts(attr_t attr, short pair, void *opts, int (*putout)(int)) argument
77 if (set_attributes != NULL && ATTR_STATE != attr) {
82 p1 = (long) ISATTR(attr, WA_STANDOUT);
83 p2 = (long) ISATTR(attr, WA_UNDERLINE);
84 p3 = (long) ISATTR(attr, WA_REVERSE);
85 p4 = (long) ISATTR(attr, WA_BLINK);
86 p5 = (long) ISATTR(attr, WA_DIM);
87 p6 = (long) ISATTR(attr, WA_BOLD);
88 p7 = (long) ISATTR(attr, WA_INVIS);
89 p8 = (long) ISATTR(attr, WA_PROTEC
184 turn_off(int (*putout)(int), attr_t attr) argument
215 turn_on(int (*putout)(int), attr_t attr) argument
[all...]
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dmenuback.c39 set_menu_back(MENU *m, chtype attr) argument
42 if (InvalidAttr(attr)) {
46 Back(m) = attr;
52 Back(Dfl_Menu) = attr;
H A Dmenufore.c39 set_menu_fore(MENU *m, chtype attr) argument
42 if (InvalidAttr(attr)) {
46 Fore(m) = attr;
52 Fore(Dfl_Menu) = attr;
H A Dmenugrey.c39 set_menu_grey(MENU *m, chtype attr) argument
42 if (InvalidAttr(attr)) {
46 Grey(m) = attr;
52 Grey(Dfl_Menu) = attr;
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dvid_attr.c47 vid_attr(attr_t attr, short pair, void *opts) argument
52 __m_trace("vid_attr(%x, %d, %p)", attr, pair, opts);
55 code = vid_puts(attr, pair, opts, __m_putchar);
H A Dvid_puts.c68 vid_puts(attr_t attr, short pair, void *opts, int (*putout)(int)) argument
71 __m_trace("vid_puts(%x, %d, %p, %p)", attr, pair, opts, putout);
74 if (set_attributes != (char *) 0 && ATTR_STATE != attr) {
81 (long) ISATTR(attr, WA_STANDOUT),
82 (long) ISATTR(attr, WA_UNDERLINE),
83 (long) ISATTR(attr, WA_REVERSE),
84 (long) ISATTR(attr, WA_BLINK),
85 (long) ISATTR(attr, WA_DIM),
86 (long) ISATTR(attr, WA_BOLD),
87 (long) ISATTR(attr, WA_INVI
198 turn_off(int (*putout)(int), attr_t attr) argument
229 turn_on(int (*putout)(int), attr_t attr) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_close.c25 smb_attr_t attr; local
60 bzero(&attr, sizeof (attr));
62 attr.sa_mask = SMB_AT_ALL;
63 status = smb2_ofile_getattr(sr, of, &attr);
96 &attr.sa_crtime, /* T */
97 &attr.sa_vattr.va_atime, /* T */
98 &attr.sa_vattr.va_mtime, /* T */
99 &attr.sa_vattr.va_ctime, /* T */
100 attr
[all...]
H A Dsmb_cmn_setfile.c55 smb_attr_t *attr = &si->si_attr; local
69 bzero(attr, sizeof (*attr));
71 smb_time_nt_to_unix(atime, &attr->sa_vattr.va_atime);
72 attr->sa_mask |= SMB_AT_ATIME;
75 smb_time_nt_to_unix(mtime, &attr->sa_vattr.va_mtime);
76 attr->sa_mask |= SMB_AT_MTIME;
79 smb_time_nt_to_unix(ctime, &attr->sa_vattr.va_ctime);
80 attr->sa_mask |= SMB_AT_CTIME;
83 smb_time_nt_to_unix(crtime, &attr
108 smb_attr_t *attr = &si->si_attr; local
150 smb_attr_t *attr = &si->si_attr; local
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/cifs/
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
[all...]
H A Dcifs_attr_002_pos.ksh62 typeset attr=$2 # The attribute to set or clear
67 typeset cmd="chmod $op$attr $obj"
76 if [[ $attr =~ 'q' && -d $obj && $op == $add ]]; then
82 if [[ $attr =~ 'q' && -d $obj && $op == $add ]]; then
92 if [[ $attr = 'q' && -d $obj ]]; then
110 [[ $attr == 'q' && $op == $add && -d $obj ]] && return
111 chk_attr $op $obj $attr
118 typeset attr=$3
124 [[ $attrstr =~ $attr ]] || log_fail "$op $attr
[all...]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_form.c45 dwarf_hasform(Dwarf_Attribute attr, argument
51 if (attr == NULL) {
56 cu_context = attr->ar_cu_context;
67 *return_bool = (attr->ar_attribute_form == form);
75 dwarf_whatform_direct(Dwarf_Attribute attr, argument
78 int res = dwarf_whatform(attr, return_form, error);
84 *return_form = attr->ar_attribute_form_direct;
184 dwarf_whatform(Dwarf_Attribute attr, argument
189 if (attr == NULL) {
194 cu_context = attr
216 dwarf_whatattr(Dwarf_Attribute attr, Dwarf_Half * return_attr, Dwarf_Error * error) argument
265 dwarf_formref(Dwarf_Attribute attr, Dwarf_Off * ret_offset, Dwarf_Error * error) argument
336 dwarf_formsig8(Dwarf_Attribute attr, Dwarf_Sig8 * returned_sig_bytes, Dwarf_Error* error) argument
399 dwarf_global_formref(Dwarf_Attribute attr, Dwarf_Off * ret_offset, Dwarf_Error * error) argument
521 dwarf_formaddr(Dwarf_Attribute attr, Dwarf_Addr * return_addr, Dwarf_Error * error) argument
570 dwarf_formflag(Dwarf_Attribute attr, Dwarf_Bool * ret_bool, Dwarf_Error * error) argument
607 dwarf_formudata(Dwarf_Attribute attr, Dwarf_Unsigned * return_uval, Dwarf_Error * error) argument
686 dwarf_formsdata(Dwarf_Attribute attr, Dwarf_Signed * return_sval, Dwarf_Error * error) argument
764 dwarf_formblock(Dwarf_Attribute attr, Dwarf_Block ** return_block, Dwarf_Error * error) argument
853 dwarf_formstring(Dwarf_Attribute attr, char **return_str, Dwarf_Error * error) argument
927 dwarf_formexprloc(Dwarf_Attribute attr, Dwarf_Unsigned * return_exprlen, Dwarf_Ptr * block_ptr, Dwarf_Error * error) argument
[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,
129 const posix_spawnattr_t *_RESTRICT_KYWD attr,
133 posix_spawnattr_t *_RESTRICT_KYWD attr,
137 const posix_spawnattr_t *_RESTRICT_KYWD attr,
141 posix_spawnattr_t *attr,
145 const posix_spawnattr_t *_RESTRICT_KYWD attr,
[all...]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetprinter.c30 static void append_attr(char *buf, char *attr);
71 ns_ldap_attr_t *attr; local
111 attr = __ns_ldap_getAttrStruct(result->entry, "printer-aliases");
112 if (attr != NULL && attr->attrvalue != NULL) {
113 for (i = 0; i < attr->value_count; i++) {
115 attr->attrvalue[i]);
125 attr = getattr(result, i);
126 if (attr == NULL) {
133 if (strcasecmp(attr
252 append_attr(char *buf, char *attr) argument
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetattr.c62 char *attr; local
83 attr = NULL; /* pessimistic */
98 if ( ber_scanf( *ber, "{ax}", &attr ) != LBER_ERROR ||
105 if ( attr == NULL || err != LDAP_SUCCESS ) {
109 return( attr );
117 char *attr; local
131 attr = NULL; /* pessimistic */
135 if ( ber_scanf( ber, "{ax}", &attr ) != LBER_ERROR ||
141 return( attr );
/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound_default.c38 nvlist_t *attr[FMEVT_FANOUT_MAX], const char *ruleset,
50 attr[0] = rawattr;
37 fmevt_pp_unregistered(char *classes[FMEVT_FANOUT_MAX], nvlist_t *attr[FMEVT_FANOUT_MAX], const char *ruleset, const nvlist_t *detector, nvlist_t *rawattr, const struct fmevt_ppargs *eap) argument
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dcert.c307 CK_ATTRIBUTE * attr = NULL; local
315 CKA_CERTIFICATE_TYPE, &attr);
328 cert_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
332 switch (attr->type) {
337 type = *(CK_CERTIFICATE_TYPE *)attr->pValue;
345 template_validate_base_attribute(tmpl, attr, mode));
351 CK_ATTRIBUTE *attr = NULL; local
354 found = template_attribute_find(tmpl, CKA_SUBJECT, &attr);
358 found = template_attribute_find(tmpl, CKA_VALUE, &attr);
417 CK_ATTRIBUTE *attr, CK_ULON
416 cert_x509_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
449 cert_vendor_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrManager.c51 CK_ATTRIBUTE attr; local
56 attr.type = CKA_CLASS;
57 attr.pValue = &class;
58 attr.ulValueLen = sizeof (class);
60 session->hSession, slot_object->hObject, &attr, 1);
65 attr.pValue = &subtype;
66 attr.ulValueLen = sizeof (subtype);
69 attr.type = CKA_CERTIFICATE_TYPE;
72 attr.type = CKA_HW_FEATURE_TYPE;
78 attr
407 generic_attr_t *attr; local
519 generic_attr_t *attr; local
551 generic_attr_t *attr = NULL; local
625 generic_attr_t *attr; local
[all...]

Completed in 163 milliseconds

1234567891011>>