Home
last modified time | relevance | path

Searched full:attr (Results 1 – 25 of 1434) sorted by relevance

12345678910>>...58

/freebsd-13-stable/contrib/apr/threadproc/unix/
HDproc.c42 APR_DECLARE(apr_status_t) apr_procattr_io_set(apr_procattr_t *attr, in apr_procattr_io_set() argument
60 if ((rv = apr_file_pipe_create_ex(&attr->child_in, &attr->parent_in, in apr_procattr_io_set()
61 in, attr->pool)) == APR_SUCCESS) in apr_procattr_io_set()
62 rv = apr_file_inherit_unset(attr->parent_in); in apr_procattr_io_set()
67 attr->child_in = &no_file; in apr_procattr_io_set()
70 if ((rv = apr_file_pipe_create_ex(&attr->parent_out, &attr->child_out, in apr_procattr_io_set()
71 out, attr->pool)) == APR_SUCCESS) in apr_procattr_io_set()
72 rv = apr_file_inherit_unset(attr->parent_out); in apr_procattr_io_set()
77 attr->child_out = &no_file; in apr_procattr_io_set()
80 if ((rv = apr_file_pipe_create_ex(&attr->parent_err, &attr->child_err, in apr_procattr_io_set()
[all …]
/freebsd-13-stable/contrib/wpa/src/wps/
HDwps_validate.c1030 struct wps_parse_attr attr; in wps_validate_cred() local
1036 if (wps_parse_msg(&buf, &attr) < 0) { in wps_validate_cred()
1041 if (wps_validate_network_idx(attr.network_idx, 1) || in wps_validate_cred()
1042 wps_validate_ssid(attr.ssid, attr.ssid_len, 1) || in wps_validate_cred()
1043 wps_validate_auth_type(attr.auth_type, 1) || in wps_validate_cred()
1044 wps_validate_encr_type(attr.encr_type, 1) || in wps_validate_cred()
1045 wps_validate_network_key_index(attr.network_key_idx, 0) || in wps_validate_cred()
1046 wps_validate_network_key(attr.network_key, attr.network_key_len, in wps_validate_cred()
1047 attr.encr_type, 1) || in wps_validate_cred()
1048 wps_validate_mac_addr(attr.mac_addr, 1) || in wps_validate_cred()
[all …]
HDwps_attr_parse.c20 static int wps_set_vendor_ext_wfa_subelem(struct wps_parse_attr *attr, in wps_set_vendor_ext_wfa_subelem() argument
32 attr->version2 = pos; in wps_set_vendor_ext_wfa_subelem()
35 attr->authorized_macs = pos; in wps_set_vendor_ext_wfa_subelem()
36 attr->authorized_macs_len = len; in wps_set_vendor_ext_wfa_subelem()
44 attr->network_key_shareable = pos; in wps_set_vendor_ext_wfa_subelem()
52 attr->request_to_enroll = pos; in wps_set_vendor_ext_wfa_subelem()
60 attr->settings_delay_time = pos; in wps_set_vendor_ext_wfa_subelem()
68 attr->registrar_configuration_methods = pos; in wps_set_vendor_ext_wfa_subelem()
77 attr->multi_ap_ext = *pos; in wps_set_vendor_ext_wfa_subelem()
79 attr->multi_ap_ext); in wps_set_vendor_ext_wfa_subelem()
[all …]
HDwps.c105 struct wps_parse_attr attr; in wps_init() local
108 if (wps_parse_msg(cfg->assoc_wps_ie, &attr) < 0) { in wps_init()
111 } else if (attr.request_type == NULL) { in wps_init()
117 *attr.request_type); in wps_init()
118 data->request_type = *attr.request_type; in wps_init()
238 struct wps_parse_attr attr; in wps_is_selected_pbc_registrar() local
241 * In theory, this could also verify that attr.sel_reg_config_methods in wps_is_selected_pbc_registrar()
247 if (wps_parse_msg(msg, &attr) < 0 || in wps_is_selected_pbc_registrar()
248 !attr.selected_registrar || *attr.selected_registrar == 0 || in wps_is_selected_pbc_registrar()
249 !attr.dev_password_id || in wps_is_selected_pbc_registrar()
[all …]
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/
HDib_sysfs.c71 struct attribute attr; member
84 struct port_attribute attr; member
91 struct attribute attr; member
93 struct attribute *attr, char *buf);
95 struct attribute *attr,
103 struct attribute *attr, char *buf) in port_attr_show() argument
106 container_of(attr, struct port_attribute, attr); in port_attr_show()
116 struct attribute *attr, in port_attr_store() argument
120 container_of(attr, struct port_attribute, attr); in port_attr_store()
134 struct attribute *attr, char *buf) in gid_attr_show() argument
[all …]
HDib_uverbs_cmd.c425 struct ib_device_attr *attr) in copy_query_dev_fields() argument
427 resp->fw_ver = attr->fw_ver; in copy_query_dev_fields()
429 resp->sys_image_guid = attr->sys_image_guid; in copy_query_dev_fields()
430 resp->max_mr_size = attr->max_mr_size; in copy_query_dev_fields()
431 resp->page_size_cap = attr->page_size_cap; in copy_query_dev_fields()
432 resp->vendor_id = attr->vendor_id; in copy_query_dev_fields()
433 resp->vendor_part_id = attr->vendor_part_id; in copy_query_dev_fields()
434 resp->hw_ver = attr->hw_ver; in copy_query_dev_fields()
435 resp->max_qp = attr->max_qp; in copy_query_dev_fields()
436 resp->max_qp_wr = attr->max_qp_wr; in copy_query_dev_fields()
[all …]
/freebsd-13-stable/lib/libthr/thread/
HDthr_attr.c113 _thr_attr_destroy(pthread_attr_t *attr) in _thr_attr_destroy() argument
116 if (attr == NULL || *attr == NULL) in _thr_attr_destroy()
119 free((*attr)->cpuset); in _thr_attr_destroy()
120 free(*attr); in _thr_attr_destroy()
121 *attr = NULL; in _thr_attr_destroy()
164 *dst = pthread->attr; in _thr_attr_get_np()
184 _thr_attr_getdetachstate(const pthread_attr_t *attr, int *detachstate) in _thr_attr_getdetachstate() argument
187 if (attr == NULL || *attr == NULL || detachstate == NULL) in _thr_attr_getdetachstate()
190 if (((*attr)->flags & PTHREAD_DETACHED) != 0) in _thr_attr_getdetachstate()
201 _thr_attr_getguardsize(const pthread_attr_t * __restrict attr, in _thr_attr_getguardsize() argument
[all …]
HDthr_condattr.c49 _pthread_condattr_init(pthread_condattr_t *attr) in _pthread_condattr_init() argument
60 *attr = pattr; in _pthread_condattr_init()
67 _pthread_condattr_destroy(pthread_condattr_t *attr) in _pthread_condattr_destroy() argument
71 if (attr == NULL || *attr == NULL) { in _pthread_condattr_destroy()
74 free(*attr); in _pthread_condattr_destroy()
75 *attr = NULL; in _pthread_condattr_destroy()
82 _pthread_condattr_getclock(const pthread_condattr_t * __restrict attr, in _pthread_condattr_getclock() argument
85 if (attr == NULL || *attr == NULL) in _pthread_condattr_getclock()
87 *clock_id = (*attr)->c_clockid; in _pthread_condattr_getclock()
92 _pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id) in _pthread_condattr_setclock() argument
[all …]
HDthr_mutexattr.c95 _thr_mutexattr_init(pthread_mutexattr_t *attr) in _thr_mutexattr_init() argument
106 *attr = pattr; in _thr_mutexattr_init()
113 _pthread_mutexattr_setkind_np(pthread_mutexattr_t *attr, int kind) in _pthread_mutexattr_setkind_np() argument
116 if (attr == NULL || *attr == NULL) { in _pthread_mutexattr_setkind_np()
120 (*attr)->m_type = kind; in _pthread_mutexattr_setkind_np()
127 _pthread_mutexattr_getkind_np(pthread_mutexattr_t attr) in _pthread_mutexattr_getkind_np() argument
131 if (attr == NULL) { in _pthread_mutexattr_getkind_np()
135 ret = attr->m_type; in _pthread_mutexattr_getkind_np()
141 _thr_mutexattr_settype(pthread_mutexattr_t *attr, int type) in _thr_mutexattr_settype() argument
145 if (attr == NULL || *attr == NULL || type >= PTHREAD_MUTEX_TYPE_MAX) { in _thr_mutexattr_settype()
[all …]
HDthr_create.c53 const pthread_attr_t * __restrict attr, void *(*start_routine) (void *), in _pthread_create() argument
82 if (attr == NULL || *attr == NULL) in _pthread_create()
84 new_thread->attr = _pthread_attr_default; in _pthread_create()
86 new_thread->attr = *(*attr); in _pthread_create()
87 cpusetp = new_thread->attr.cpuset; in _pthread_create()
88 cpusetsize = new_thread->attr.cpusetsize; in _pthread_create()
89 new_thread->attr.cpuset = NULL; in _pthread_create()
90 new_thread->attr.cpusetsize = 0; in _pthread_create()
92 if (new_thread->attr.sched_inherit == PTHREAD_INHERIT_SCHED) { in _pthread_create()
94 if (curthread->attr.flags & PTHREAD_SCOPE_SYSTEM) in _pthread_create()
[all …]
/freebsd-13-stable/tests/sys/fs/fusefs/
HDgetattr.cc51 out.body.entry.attr.mode = mode; in expect_lookup()
53 out.body.entry.attr.nlink = 1; in expect_lookup()
56 out.body.entry.attr.size = size; in expect_lookup()
84 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
95 SET_OUT_HEADER_LEN(out, attr); in TEST_F()
96 out.body.attr.attr_valid = UINT64_MAX; in TEST_F()
97 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
98 out.body.attr.attr.mode = S_IFREG | 0644; in TEST_F()
126 SET_OUT_HEADER_LEN(out, attr); in TEST_F()
127 out.body.attr.attr_valid_nsec = NAP_NS / 2; in TEST_F()
[all …]
HDsetattr.cc91 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
103 SET_OUT_HEADER_LEN(out, attr); in TEST_F()
104 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
105 out.body.attr.attr.mode = S_IFREG | newmode; in TEST_F()
106 out.body.attr.attr_valid = UINT64_MAX; in TEST_F()
135 out.body.entry.attr.mode = S_IFREG | oldmode; in TEST_F()
149 SET_OUT_HEADER_LEN(out, attr); in TEST_F()
150 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
151 out.body.attr.attr.mode = S_IFREG | newmode; in TEST_F()
174 out.body.entry.attr.mode = S_IFREG | oldmode; in TEST_F()
[all …]
/freebsd-13-stable/crypto/openssl/crypto/x509/
HDx509_att.c74 X509_ATTRIBUTE *attr) in STACK_OF()
90 if ((new_attr = X509_ATTRIBUTE_dup(attr)) == NULL) in STACK_OF()
111 X509_ATTRIBUTE *attr; in STACK_OF() local
113 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len); in STACK_OF()
114 if (!attr) in STACK_OF()
116 ret = X509at_add1_attr(x, attr); in STACK_OF()
117 X509_ATTRIBUTE_free(attr); in STACK_OF()
126 X509_ATTRIBUTE *attr; in STACK_OF() local
128 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len); in STACK_OF()
129 if (!attr) in STACK_OF()
[all …]
/freebsd-13-stable/share/man/man3/
HDpthread_attr.357 .Fn pthread_attr_init "pthread_attr_t *attr"
59 .Fn pthread_attr_destroy "pthread_attr_t *attr"
61 .Fn pthread_attr_setstack "pthread_attr_t *attr" " void *stackaddr" "size_t stacksize"
63 .Fn pthread_attr_getstack "const pthread_attr_t * restrict attr" "void ** restrict stackaddr" "size…
65 .Fn pthread_attr_setstacksize "pthread_attr_t *attr" "size_t stacksize"
67 .Fn pthread_attr_getstacksize "const pthread_attr_t *restrict attr" "size_t *restrict stacksize"
69 .Fn pthread_attr_setguardsize "pthread_attr_t *attr" "size_t guardsize"
71 .Fn pthread_attr_getguardsize "const pthread_attr_t * restrict attr" "size_t * restrict guardsize"
73 .Fn pthread_attr_setstackaddr "pthread_attr_t *attr" "void *stackaddr"
75 .Fn pthread_attr_getstackaddr "const pthread_attr_t *attr" "void **stackaddr"
[all …]
HDpthread.377 .Fa "pthread_t *thread" "const pthread_attr_t *attr"
147 .Fn pthread_attr_destroy "pthread_attr_t *attr"
153 .Fa "const pthread_attr_t *attr" "int *inheritsched"
160 .Fa "const pthread_attr_t *attr" "struct sched_param *param"
166 .Fn pthread_attr_getschedpolicy "const pthread_attr_t *attr" "int *policy"
171 .Fn pthread_attr_getscope "const pthread_attr_t *attr" "int *contentionscope"
176 .Fn pthread_attr_getstacksize "const pthread_attr_t *attr" "size_t *stacksize"
181 .Fn pthread_attr_getstackaddr "const pthread_attr_t *attr" "void **stackaddr"
186 .Fn pthread_attr_getdetachstate "const pthread_attr_t *attr" "int *detachstate"
191 .Fn pthread_attr_init "pthread_attr_t *attr"
[all …]
HDpthread_mutexattr.354 .Fn pthread_mutexattr_init "pthread_mutexattr_t *attr"
56 .Fn pthread_mutexattr_destroy "pthread_mutexattr_t *attr"
59 .Fa "pthread_mutexattr_t *attr" "int prioceiling"
63 .Fa "const pthread_mutexattr_t *attr" "int *prioceiling"
66 .Fn pthread_mutexattr_setprotocol "pthread_mutexattr_t *attr" "int protocol"
69 .Fa "const pthread_mutexattr_t *restrict attr" "int *restrict protocol"
73 .Fa "pthread_mutexattr_t *attr" "int shared"
77 .Fa "const pthread_mutexattr_t *attr" "int *shared"
80 .Fn pthread_mutexattr_setrobust "pthread_mutexattr_t *attr" "int robust"
82 .Fn pthread_mutexattr_getrobust "pthread_mutexattr_t *attr" "int *robust"
[all …]
/freebsd-13-stable/usr.sbin/makefs/cd9660/
HDiso9660_rrip.c156 t->attr.su_entry.CE.ca_sector); in cd9660_susp_finalize_node()
161 t->attr.su_entry.CE.ca_sector); in cd9660_susp_finalize_node()
163 t->attr.su_entry.CE.offset); in cd9660_susp_finalize_node()
165 t->attr.su_entry.CE.length); in cd9660_susp_finalize_node()
186 t->attr.rr_entry.CL.dir_loc); in cd9660_rrip_finalize_node()
196 t->attr.rr_entry.PL.dir_loc); in cd9660_rrip_finalize_node()
328 struct ISO_SUSP_ATTRIBUTES *attr; in cd9660_rrip_initialize_inode() local
338 attr = cd9660node_susp_create_node(SUSP_TYPE_RRIP, in cd9660_rrip_initialize_inode()
340 cd9660node_rrip_px(attr, node->node); in cd9660_rrip_initialize_inode()
342 TAILQ_INSERT_TAIL(&node->head, attr, rr_ll); in cd9660_rrip_initialize_inode()
[all …]
/freebsd-13-stable/contrib/ofed/libibverbs/
HDcmd.c135 struct ibv_device_attr_ex *attr, size_t attr_size, in ibv_cmd_query_device_ex() argument
150 sizeof(attr->comp_mask)) in ibv_cmd_query_device_ex()
163 memset(attr->orig_attr.fw_ver, 0, sizeof(attr->orig_attr.fw_ver)); in ibv_cmd_query_device_ex()
164 memset(&attr->comp_mask, 0, attr_size - sizeof(attr->orig_attr)); in ibv_cmd_query_device_ex()
170 copy_query_dev_fields(&attr->orig_attr, &resp->base, raw_fw_ver); in ibv_cmd_query_device_ex()
173 attr->comp_mask = resp->comp_mask & 0; in ibv_cmd_query_device_ex()
175 sizeof(attr->odp_caps)) { in ibv_cmd_query_device_ex()
179 attr->odp_caps.general_caps = resp->odp_caps.general_caps; in ibv_cmd_query_device_ex()
180 attr->odp_caps.per_transport_caps.rc_odp_caps = in ibv_cmd_query_device_ex()
182 attr->odp_caps.per_transport_caps.uc_odp_caps = in ibv_cmd_query_device_ex()
[all …]
/freebsd-13-stable/contrib/ofed/libmlx4/
HDverbs.c46 int mlx4_query_device(struct ibv_context *context, struct ibv_device_attr *attr) in mlx4_query_device() argument
53 ret = ibv_cmd_query_device(context, attr, &raw_fw_ver, &cmd, sizeof cmd); in mlx4_query_device()
61 snprintf(attr->fw_ver, sizeof attr->fw_ver, in mlx4_query_device()
69 struct ibv_device_attr_ex *attr, in mlx4_query_device_ex() argument
81 err = ibv_cmd_query_device_ex(context, input, attr, attr_size, in mlx4_query_device_ex()
98 snprintf(attr->orig_attr.fw_ver, sizeof attr->orig_attr.fw_ver, in mlx4_query_device_ex()
151 struct ibv_port_attr *attr) in mlx4_query_port() argument
156 err = ibv_cmd_query_port(context, port, attr, &cmd, sizeof(cmd)); in mlx4_query_port()
161 attr->link_layer; in mlx4_query_port()
163 attr->port_cap_flags; in mlx4_query_port()
[all …]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
HDAttr.h1 //===--- Attr.h - Classes for representing attributes ----------*- C++ -*-===//
9 // This file defines the Attr interface and subclasses.
41 /// Attr - This represents one attribute.
42 class Attr : public AttributeCommonInfo {
44 LLVM_PREFERRED_TYPE(attr::Kind)
49 /// attribute defined in Attr.td file.
81 Attr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in Attr() function
82 attr::Kind AK, bool IsLateParsed) in Attr()
88 attr::Kind getKind() const { return static_cast<attr::Kind>(AttrKind); } in getKind()
108 Attr *clone(ASTContext &C) const;
[all …]
/freebsd-13-stable/contrib/ofed/libmlx5/
HDverbs.c58 int mlx5_query_device(struct ibv_context *context, struct ibv_device_attr *attr) in mlx5_query_device() argument
65 ret = ibv_cmd_query_device(context, attr, &raw_fw_ver, &cmd, sizeof cmd); in mlx5_query_device()
73 snprintf(attr->fw_ver, sizeof attr->fw_ver, in mlx5_query_device()
126 struct ibv_port_attr *attr) in mlx5_query_port() argument
130 return ibv_cmd_query_port(context, port, attr, &cmd, sizeof cmd); in mlx5_query_port()
614 struct ibv_srq_init_attr *attr) in mlx5_create_srq() argument
638 if (attr->attr.max_wr > ctx->max_srq_recv_wr) { in mlx5_create_srq()
640 attr->attr.max_wr, ctx->max_srq_recv_wr); in mlx5_create_srq()
651 if (attr->attr.max_sge > max_sge) { in mlx5_create_srq()
653 attr->attr.max_wr, ctx->max_srq_recv_wr); in mlx5_create_srq()
[all …]
/freebsd-13-stable/crypto/openssh/contrib/suse/
HDopenssh.spec198 %attr(0755,root,root) %dir %{_sysconfdir}/ssh
199 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/ssh/ssh_config
200 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/sshd_config
201 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/moduli
202 %attr(0644,root,root) %config(noreplace) /etc/pam.d/sshd
203 %attr(0755,root,root) %config /etc/init.d/sshd
204 %attr(0755,root,root) %{_bindir}/ssh-keygen
205 %attr(0755,root,root) %{_bindir}/scp
206 %attr(0755,root,root) %{_bindir}/ssh
207 %attr(0755,root,root) %{_bindir}/ssh-agent
[all …]
/freebsd-13-stable/contrib/wpa/src/radius/
HDradius.c319 const struct radius_attr_type *attr; in radius_msg_dump_attr() local
339 attr = radius_get_attr_type((ext->type << 8) | ext->ext_type); in radius_msg_dump_attr()
342 attr ? attr->name : "?Unknown?", ext->length); in radius_msg_dump_attr()
346 attr = radius_get_attr_type(hdr->type); in radius_msg_dump_attr()
348 hdr->type, attr ? attr->name : "?Unknown?", in radius_msg_dump_attr()
354 if (!attr) in radius_msg_dump_attr()
357 switch (attr->data_type) { in radius_msg_dump_attr()
420 struct radius_attr_hdr *attr = radius_get_attr_hdr(msg, i); in radius_msg_dump() local
421 radius_msg_dump_attr(attr); in radius_msg_dump()
429 struct radius_attr_hdr *attr; in radius_msg_add_msg_auth() local
[all …]
/freebsd-13-stable/sys/sys/
HDarb.h239 #define ARB_PROTOTYPE_INTERNAL(name, type, field, cmp, attr) \ argument
240 ARB_PROTOTYPE_INSERT_COLOR(name, type, attr); \
241 ARB_PROTOTYPE_REMOVE_COLOR(name, type, attr); \
242 ARB_PROTOTYPE_INSERT(name, type, attr); \
243 ARB_PROTOTYPE_REMOVE(name, type, attr); \
244 ARB_PROTOTYPE_CFIND(name, type, attr); \
245 ARB_PROTOTYPE_FIND(name, type, attr); \
246 ARB_PROTOTYPE_NFIND(name, type, attr); \
247 ARB_PROTOTYPE_CNEXT(name, type, attr); \
248 ARB_PROTOTYPE_NEXT(name, type, attr); \
[all …]
/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/
HDmlx4_ib_sysfs.c47 struct device_attribute *attr, char *buf) in show_admin_alias_guid() argument
50 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in show_admin_alias_guid()
69 struct device_attribute *attr, in store_admin_alias_guid() argument
75 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in store_admin_alias_guid()
112 struct device_attribute *attr, in show_port_gid() argument
116 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in show_port_gid()
139 struct device_attribute *attr, in show_phys_port_pkey() argument
143 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in show_phys_port_pkey()
159 sysfs_remove_file((_dentry)->kobj, &(_dentry)->dentry.attr); \
165 struct device_attribute *attr, in create_sysfs_entry() argument
[all …]

12345678910>>...58