Searched refs:attr (Results 226 - 250 of 832) sorted by relevance

1234567891011>>

/freebsd-current/contrib/ofed/infiniband-diags/src/
H A Dibdiag_sa.c98 uint16_t attr, uint32_t mod, uint64_t comp_mask,
109 rpc.attr.id = attr;
110 rpc.attr.mod = mod;
137 IBWARN("umad_send failed: attr 0x%x: %s\n",
138 attr, strerror(errno));
150 IBWARN("umad_recv failed: attr 0x%x: %s\n", attr,
97 sa_query(struct sa_handle * h, uint8_t method, uint16_t attr, uint32_t mod, uint64_t comp_mask, uint64_t sm_key, void *data, size_t datasz, struct sa_query_result *result) argument
/freebsd-current/contrib/ntp/libntp/lib/isc/pthreads/
H A Dmutex.c240 pthread_mutexattr_t attr; local
243 if (pthread_mutexattr_init(&attr) != 0)
246 if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK) != 0) {
247 pthread_mutexattr_destroy(&attr);
251 err = pthread_mutex_init(mp, &attr) != 0)
252 pthread_mutexattr_destroy(&attr);
/freebsd-current/contrib/ofed/libcxgb4/
H A Dverbs.c48 int c4iw_query_device(struct ibv_context *context, struct ibv_device_attr *attr) argument
55 ret = ibv_cmd_query_device(context, attr, &raw_fw_ver, &cmd,
65 snprintf(attr->fw_ver, sizeof attr->fw_ver,
72 struct ibv_port_attr *attr)
76 return ibv_cmd_query_port(context, port, attr, &cmd, sizeof cmd);
287 struct ibv_srq_init_attr *attr)
292 int c4iw_modify_srq(struct ibv_srq *srq, struct ibv_srq_attr *attr, argument
310 struct ibv_qp_init_attr *attr)
324 ret = ibv_cmd_create_qp(pd, &qhp->ibv_qp, attr,
71 c4iw_query_port(struct ibv_context *context, uint8_t port, struct ibv_port_attr *attr) argument
286 c4iw_create_srq(struct ibv_pd *pd, struct ibv_srq_init_attr *attr) argument
309 create_qp_v0(struct ibv_pd *pd, struct ibv_qp_init_attr *attr) argument
416 create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr) argument
571 c4iw_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr) argument
594 c4iw_modify_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr, int attr_mask) argument
647 c4iw_query_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr *init_attr) argument
662 c4iw_create_ah(struct ibv_pd *pd, struct ibv_ah_attr *attr) argument
[all...]
/freebsd-current/contrib/ofed/libibverbs/
H A Dverbs.c91 int __ibv_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask,
93 int __ibv_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask);
95 struct ibv_ah *__ibv_create_ah(struct ibv_pd *pd, struct ibv_ah_attr *attr);
216 char attr[41]; local
223 attr, sizeof attr) < 0)
227 if (sscanf(attr + i * 5, "%hx", &val) != 1)
241 char attr[8]; local
247 attr, sizeof attr) <
610 __ibv_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr *init_attr) argument
627 __ibv_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask) argument
649 __ibv_create_ah(struct ibv_pd *pd, struct ibv_ah_attr *attr) argument
973 ibv_resolve_eth_l2_from_gid(struct ibv_context *context, struct ibv_ah_attr *attr, uint8_t eth_mac[ETHERNET_LL_SIZE], uint16_t *vid) argument
[all...]
/freebsd-current/contrib/sendmail/libsm/
H A Dldap.c956 char *attr; local
1021 for (attr = ldap_first_attribute(lmap->ldap_ld, entry,
1023 attr != NULL;
1024 attr = ldap_next_attribute(lmap->ldap_ld, entry,
1035 attr))
1054 ldap_memfree(attr);
1073 ldap_memfree(attr);
1081 attr);
1087 ldap_memfree(attr);
1093 ldap_memfree(attr);
[all...]
/freebsd-current/lib/libthr/thread/
H A Dthr_rwlock.c97 rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr) argument
101 if (attr == NULL || *attr == NULL ||
102 (*attr)->pshared == PTHREAD_PROCESS_PRIVATE) {
160 _thr_rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr) argument
165 return (rwlock_init(rwlock, attr));
/freebsd-current/contrib/ntp/include/
H A Dntp_config.h70 int attr; member in struct:attr_val_tag
313 attr_val *create_attr_dval(int attr, double value);
314 attr_val *create_attr_ival(int attr, int value);
315 attr_val *create_attr_rval(int attr, int first, int last);
316 attr_val *create_attr_sval(int attr, const char *s);
317 attr_val *create_attr_uval(int attr, u_int value);
/freebsd-current/contrib/ofed/libmlx5/
H A Dmlx5.h569 struct ibv_device_attr *attr);
572 struct ibv_device_attr_ex *attr,
577 struct ibv_qp_init_attr_ex *attr);
579 struct ibv_port_attr *attr);
614 struct ibv_srq_init_attr *attr);
615 int mlx5_modify_srq(struct ibv_srq *srq, struct ibv_srq_attr *attr,
618 struct ibv_srq_attr *attr);
626 struct ibv_qp *mlx5_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr);
627 int mlx5_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
630 int mlx5_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
[all...]
/freebsd-current/lib/libmt/
H A Dmtlib.c56 mt_start_element(void *user_data, const char *name, const char **attr) argument
106 for (i = 0; attr[i] != NULL; i+=2) {
112 if (strcmp(attr[i], "size") == 0) {
113 entry->size = strtoull(attr[i+1], NULL, 0);
114 } else if (strcmp(attr[i], "type") == 0) {
115 if (strcmp(attr[i+1], "int") == 0) {
117 } else if (strcmp(attr[i+1], "uint") == 0) {
119 } else if (strcmp(attr[i+1], "str") == 0) {
121 } else if (strcmp(attr[i+1], "node") == 0) {
126 } else if (strcmp(attr[
[all...]
/freebsd-current/sys/dev/mthca/
H A Dmthca_qp.c299 static void store_attrs(struct mthca_sqp *sqp, const struct ib_qp_attr *attr, argument
303 sqp->pkey_index = attr->pkey_index;
305 sqp->qkey = attr->qkey;
307 sqp->send_psn = attr->sq_psn;
328 static __be32 get_hw_access_flags(struct mthca_qp *qp, const struct ib_qp_attr *attr, argument
336 dest_rd_atomic = attr->max_dest_rd_atomic;
341 access_flags = attr->qp_access_flags;
545 const struct ib_qp_attr *attr, int attr_mask,
576 switch (attr->path_mig_state) {
594 if (attr
544 __mthca_modify_qp(struct ib_qp *ibqp, const struct ib_qp_attr *attr, int attr_mask, enum ib_qp_state cur_state, enum ib_qp_state new_state, struct ib_udata *udata) argument
800 store_attrs(to_msqp(qp), attr, attr_mask); local
846 mthca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
[all...]
/freebsd-current/contrib/ncurses/ncurses/base/
H A Dlib_screen.c87 attr_t attr; member in struct:__anon5126
249 if (scr_attrs[n].attr) {
250 *target |= scr_attrs[n].attr;
326 attr_t attr = ChAttrOf(fillin);
327 int color = PAIR_NUMBER((int) attr);
331 source = decode_attr(source, &attr, &color);
333 *target = (ChCharOf(value) | attr | (chtype) COLOR_PAIR(color));
343 attr_t attr = fillin->attr;
353 color = (int) PAIR_NUMBER(attr);
328 attr_t attr = ChAttrOf(fillin); local
345 attr_t attr = fillin->attr; local
824 attr_t attr; local
[all...]
/freebsd-current/sys/contrib/openzfs/module/zcommon/
H A Dzprop_common.c98 uint64_t numdefault, const char *strdefault, zprop_attr_t attr,
118 pd->pd_attr = attr;
135 zprop_attr_t attr, int objset_types, const char *values,
138 zprop_register_impl(prop, name, PROP_TYPE_STRING, 0, def, attr,
146 zprop_attr_t attr, int objset_types, const char *values,
150 zprop_register_impl(prop, name, PROP_TYPE_NUMBER, def, NULL, attr,
157 zprop_attr_t attr, int objset_types, const char *values,
161 zprop_register_impl(prop, name, PROP_TYPE_INDEX, def, NULL, attr,
168 zprop_attr_t attr, int objset_types, const char *colname, boolean_t flex,
171 zprop_register_impl(prop, name, type, 0, NULL, attr,
97 zprop_register_impl(int prop, const char *name, zprop_type_t type, uint64_t numdefault, const char *strdefault, zprop_attr_t attr, int objset_types, const char *values, const char *colname, boolean_t rightalign, boolean_t visible, boolean_t flex, const zprop_index_t *idx_tbl, const struct zfs_mod_supported_features *sfeatures) argument
134 zprop_register_string(int prop, const char *name, const char *def, zprop_attr_t attr, int objset_types, const char *values, const char *colname, const struct zfs_mod_supported_features *sfeatures) argument
145 zprop_register_number(int prop, const char *name, uint64_t def, zprop_attr_t attr, int objset_types, const char *values, const char *colname, boolean_t flex, const struct zfs_mod_supported_features *sfeatures) argument
156 zprop_register_index(int prop, const char *name, uint64_t def, zprop_attr_t attr, int objset_types, const char *values, const char *colname, const zprop_index_t *idx_tbl, const struct zfs_mod_supported_features *sfeatures) argument
167 zprop_register_hidden(int prop, const char *name, zprop_type_t type, zprop_attr_t attr, int objset_types, const char *colname, boolean_t flex, const struct zfs_mod_supported_features *sfeatures) argument
[all...]
/freebsd-current/crypto/openssl/crypto/ts/
H A Dts_rsp_verify.c208 ASN1_TYPE *attr; local
211 attr = PKCS7_get_signed_attribute(si, NID_id_smime_aa_signingCertificate);
212 if (attr == NULL)
214 p = attr->value.sequence->data;
215 return d2i_ESS_SIGNING_CERT(NULL, &p, attr->value.sequence->length);
221 ASN1_TYPE *attr; local
224 attr = PKCS7_get_signed_attribute(si, NID_id_smime_aa_signingCertificateV2);
225 if (attr == NULL)
227 p = attr->value.sequence->data;
228 return d2i_ESS_SIGNING_CERT_V2(NULL, &p, attr
[all...]
/freebsd-current/sys/dev/drm2/ttm/
H A Dttm_memory.c60 struct attribute *attr,
66 if (attr == &ttm_mem_sys)
68 else if (attr == &ttm_mem_emer)
70 else if (attr == &ttm_mem_max)
72 else if (attr == &ttm_mem_swap)
74 else if (attr == &ttm_mem_used)
88 struct attribute *attr,
106 if (attr == &ttm_mem_emer) {
110 } else if (attr == &ttm_mem_max) {
114 } else if (attr
[all...]
/freebsd-current/contrib/llvm-project/lld/ELF/Arch/
H A DRISCV.cpp1104 switch (RISCVAttrs::AttrType(tag.attr)) {
1107 if (auto i = parser.getAttributeValue(tag.attr)) {
1108 auto r = merged.intAttr.try_emplace(tag.attr, *i);
1120 if (auto i = parser.getAttributeValue(tag.attr))
1121 merged.intAttr[tag.attr] |= *i;
1126 if (auto s = parser.getAttributeString(tag.attr)) {
1144 if (tag.attr % 2 == 0) {
1145 if (auto i = parser.getAttributeValue(tag.attr)) {
1146 auto r = merged.intAttr.try_emplace(tag.attr, *i);
1150 } else if (auto s = parser.getAttributeString(tag.attr)) {
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c142 struct wps_parse_attr attr; local
146 if (wps && wps_parse_msg(wps, &attr) == 0 &&
147 attr.wps_state &&
148 *attr.wps_state == WPS_STATE_CONFIGURED)
2424 struct wps_parse_attr *attr)
2435 if (wps_oob_use_cred(wpa_s->wps, attr) < 0)
2441 if (attr->ap_channel) {
2442 u16 chan = WPA_GET_BE16(attr->ap_channel);
2476 struct wps_parse_attr *attr)
2479 wpa_s->wps->registrar, attr
2423 wpas_wps_use_cred(struct wpa_supplicant *wpa_s, struct wps_parse_attr *attr) argument
2475 wpas_wps_add_nfc_password_token(struct wpa_supplicant *wpa_s, struct wps_parse_attr *attr) argument
2488 struct wps_parse_attr attr; local
2650 struct wps_parse_attr attr; local
2789 struct wps_parse_attr attr; local
[all...]
/freebsd-current/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_gsi.c272 struct ib_qp_attr attr; local
277 attr.qp_state = IB_QPS_INIT;
278 attr.pkey_index = qp_index;
279 attr.qkey = IB_QP1_QKEY;
280 attr.port_num = gsi->port_num;
281 ret = ib_modify_qp(qp, &attr, mask);
288 attr.qp_state = IB_QPS_RTR;
289 ret = ib_modify_qp(qp, &attr, IB_QP_STATE);
296 attr.qp_state = IB_QPS_RTS;
297 attr
369 mlx5_ib_gsi_modify_qp(struct ib_qp *qp, struct ib_qp_attr *attr, int attr_mask) argument
[all...]
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_support_format_xar.c1774 struct xmlattr *attr, *next; local
1776 attr = list->first;
1777 while (attr != NULL) {
1778 next = attr->next;
1779 free(attr->name);
1780 free(attr->value);
1781 free(attr);
1782 attr = next;
1792 struct xmlattr *attr; local
1805 for (attr
1841 struct xmlattr *attr; local
1875 struct xmlattr *attr; local
1898 struct xmlattr *attr; local
1967 struct xmlattr *attr; local
3071 struct xmlattr *attr; local
3224 struct xmlattr *attr; local
[all...]
/freebsd-current/crypto/heimdal/lib/kadm5/
H A Dad.c249 laddattr(char ***al, int *attrlen, char *attr) argument
255 a[*attrlen] = attr;
357 char **attr = NULL; local
362 laddattr(&attr, &attrlen, "defaultNamingContext");
365 "objectclass=*", attr, 0, &m);
366 free(attr);
439 char *attr[] = { "distinguishedName", NULL }; local
457 filter, attr, 0, &m);
880 char **attr = NULL; local
897 laddattr(&attr,
1071 char **attr = NULL; local
[all...]
/freebsd-current/contrib/less/
H A Dinput.c52 int attr; local
57 attr = hl_after;
61 attr = hl_before;
65 attr = hl_after;
69 attr = is_hilited_attr(base_pos, eol_pos, TRUE, NULL);
72 if (attr)
73 set_status_col(ch, attr);
/freebsd-current/crypto/openssh/contrib/redhat/
H A Dopenssh.spec354 %attr(0755,root,root) %{_bindir}/scp
355 %attr(0644,root,root) %{_mandir}/man1/scp.1*
356 %attr(0755,root,root) %dir %{_sysconfdir}/ssh
357 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/moduli
359 %attr(0755,root,root) %{_bindir}/ssh-keygen
360 %attr(0644,root,root) %{_mandir}/man1/ssh-keygen.1*
361 %attr(0755,root,root) %dir %{_libexecdir}/openssh
362 %attr(4711,root,root) %{_libexecdir}/openssh/ssh-keysign
363 %attr(0755,root,root) %{_libexecdir}/openssh/ssh-pkcs11-helper
364 %attr(075
[all...]
/freebsd-current/contrib/ofed/libibverbs/examples/
H A Duc_pingpong.c83 struct ibv_qp_attr attr = { local
98 attr.ah_attr.is_global = 1;
99 attr.ah_attr.grh.hop_limit = 1;
100 attr.ah_attr.grh.dgid = dest->gid;
101 attr.ah_attr.grh.sgid_index = sgid_idx;
103 if (ibv_modify_qp(ctx->qp, &attr,
113 attr.qp_state = IBV_QPS_RTS;
114 attr.sq_psn = my_psn;
115 if (ibv_modify_qp(ctx->qp, &attr,
361 struct ibv_qp_attr attr; local
386 struct ibv_qp_attr attr = { local
[all...]
/freebsd-current/sys/dev/dpaa2/
H A Ddpaa2_io.c277 error = DPAA2_CMD_IO_GET_ATTRIBUTES(dev, child, &cmd, &sc->attr);
292 sc->swp_desc.swp_version = sc->attr.swp_version;
293 sc->swp_desc.swp_clk = sc->attr.swp_clk;
294 sc->swp_desc.swp_id = sc->attr.swp_id;
295 sc->swp_desc.has_notif = sc->attr.priors_num ? true : false;
296 sc->swp_desc.has_8prio = sc->attr.priors_num == 8u ? true : false;
329 sc->attr.id, sc->attr.swp_id,
330 sc->attr.chan_mode == DPAA2_IO_LOCAL_CHANNEL
331 ? "local_channel" : "no_channel", sc->attr
[all...]
/freebsd-current/sbin/fsck/
H A Dfsck.c551 struct diocgattr_arg attr; local
557 strncpy(attr.name, "PART::type", sizeof(attr.name));
558 memset(&attr.value, 0, sizeof(attr.value));
559 attr.len = sizeof(attr.value);
560 if (ioctl(fd, DIOCGATTR, &attr) == -1) {
566 if (strstr(attr.value.str, ptype_map[i].ptype) != NULL)
/freebsd-current/contrib/llvm-project/compiler-rt/lib/safestack/
H A Dsafestack.cpp209 const pthread_attr_t *attr,
215 if (attr) {
216 pthread_attr_getstacksize(attr, &size);
217 pthread_attr_getguardsize(attr, &guard);
241 return REAL(pthread_create)(thread, attr, thread_start, tinfo);
208 INTERCEPTOR(int, pthread_create, pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void*), void *arg) argument

Completed in 260 milliseconds

1234567891011>>