/freebsd-9.3-release/lib/libkse/thread/ |
H A D | thr_stack.c | 133 _thr_stack_alloc(struct pthread_attr *attr) argument 149 stacksize = round_up(attr->stacksize_attr); 150 guardsize = round_up(attr->guardsize_attr); 152 attr->stackaddr_attr = NULL; 153 attr->flags &= ~THR_STACK_USER; 171 attr->stackaddr_attr = spare_stack->stackaddr; 184 attr->stackaddr_attr = spare_stack->stackaddr; 189 if (attr->stackaddr_attr != NULL) { 232 attr->stackaddr_attr = stackaddr; 234 if (attr 242 _thr_stack_free(struct pthread_attr *attr) argument [all...] |
H A D | thr_create.c | 81 _pthread_create(pthread_t * thread, const pthread_attr_t * attr, argument 112 if (attr == NULL || *attr == NULL) 114 new_thread->attr = _pthread_attr_default; 116 new_thread->attr = *(*attr); 117 if ((*attr)->sched_inherit == PTHREAD_INHERIT_SCHED) { 119 if (curthread->attr.flags & PTHREAD_SCOPE_SYSTEM) 120 new_thread->attr.flags |= PTHREAD_SCOPE_SYSTEM; 122 new_thread->attr [all...] |
H A D | thr_attr_init.c | 43 _pthread_attr_init(pthread_attr_t *attr) argument 60 *attr = pattr;
|
H A D | thr_yield.c | 44 if (curthread->attr.flags & PTHREAD_SCOPE_SYSTEM) 62 if (curthread->attr.flags & PTHREAD_SCOPE_SYSTEM) {
|
/freebsd-9.3-release/lib/libthr/thread/ |
H A D | thr_setprio.c | 52 if (pthread->attr.sched_policy == SCHED_OTHER || 53 pthread->attr.prio == prio) { 54 pthread->attr.prio = prio; 58 pthread->attr.sched_policy, ¶m); 62 pthread->attr.prio = prio;
|
H A D | thr_setschedparam.c | 61 if (pthread->attr.sched_policy == policy && 63 pthread->attr.prio == param->sched_priority)) { 64 pthread->attr.prio = param->sched_priority; 72 pthread->attr.sched_policy = policy; 73 pthread->attr.prio = param->sched_priority;
|
H A D | thr_create.c | 51 _pthread_create(pthread_t * thread, const pthread_attr_t * attr, argument 78 if (attr == NULL || *attr == NULL) 80 new_thread->attr = _pthread_attr_default; 82 new_thread->attr = *(*attr); 83 cpusetp = new_thread->attr.cpuset; 84 cpusetsize = new_thread->attr.cpusetsize; 85 new_thread->attr.cpuset = NULL; 86 new_thread->attr [all...] |
H A D | thr_getschedparam.c | 62 *policy = curthread->attr.sched_policy; 63 param->sched_priority = curthread->attr.prio; 71 *policy = pthread->attr.sched_policy; 72 param->sched_priority = pthread->attr.prio;
|
/freebsd-9.3-release/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb.c | 93 rnicp->attr.vendor_id = 0x168; 94 rnicp->attr.vendor_part_id = 7; 95 rnicp->attr.max_qps = T3_MAX_NUM_QP - 32; 96 rnicp->attr.max_wrs = T3_MAX_QP_DEPTH; 97 rnicp->attr.max_sge_per_wr = T3_MAX_SGE; 98 rnicp->attr.max_sge_per_rdma_write_wr = T3_MAX_SGE; 99 rnicp->attr.max_cqs = T3_MAX_NUM_CQ - 1; 100 rnicp->attr.max_cqes_per_cq = T3_MAX_CQ_DEPTH; 101 rnicp->attr.max_mem_regs = cxio_num_stags(&rnicp->rdev); 102 rnicp->attr [all...] |
H A D | iw_cxgb_mem.c | 83 mhp->attr.state = 1; 84 mhp->attr.stag = stag; 99 &stag, mhp->attr.pdid, 100 mhp->attr.perms, 101 mhp->attr.zbva, 102 mhp->attr.va_fbo, 103 mhp->attr.len, 105 mhp->attr.pbl_size, mhp->attr.pbl_addr)) 110 cxio_dereg_mem(&rhp->rdev, mhp->attr [all...] |
/freebsd-9.3-release/contrib/binutils/bfd/ |
H A D | elf-attrs.c | 43 is_default_attr (obj_attribute *attr) argument 45 if ((attr->type & 1) && attr->i != 0) 47 if ((attr->type & 2) && attr->s && *attr->s) 55 obj_attr_size (int tag, obj_attribute *attr) argument 59 if (is_default_attr (attr)) 63 if (attr->type & 1) 64 size += uleb128_size (attr 86 obj_attribute *attr; local 144 write_obj_attribute(bfd_byte *p, int tag, obj_attribute *attr) argument 172 obj_attribute *attr; local 225 obj_attribute *attr; local 289 obj_attribute *attr; local 312 obj_attribute *attr; local [all...] |
/freebsd-9.3-release/sys/ofed/include/linux/ |
H A D | sysfs.h | 54 .attr = { .name = __stringify(_name), .mode = _mode }, \ 59 .attr = { .name = __stringify(_name), .mode = 0444 }, \ 63 #define __ATTR_NULL { .attr = { .name = NULL } } 76 struct attribute *attr; local 83 attr = (struct attribute *)arg2; 91 len = ops->show(kobj, attr, buf); 113 len = ops->store(kobj, attr, buf, len); 123 sysfs_create_file(struct kobject *kobj, const struct attribute *attr) argument 127 attr->name, CTLTYPE_STRING|CTLFLAG_RW|CTLFLAG_MPSAFE, kobj, 128 (uintptr_t)attr, sysctl_handle_att 134 sysfs_remove_file(struct kobject *kobj, const struct attribute *attr) argument 152 struct attribute **attr; local [all...] |
/freebsd-9.3-release/contrib/gcc/ |
H A D | gthr-posix.c | 71 const pthread_attr_t *attr ATTRIBUTE_UNUSED, 103 pthread_mutexattr_init (pthread_mutexattr_t *attr ATTRIBUTE_UNUSED) 109 pthread_mutexattr_settype (pthread_mutexattr_t *attr ATTRIBUTE_UNUSED, 116 pthread_mutexattr_destroy (pthread_mutexattr_t *attr ATTRIBUTE_UNUSED) 135 const pthread_condattr_t *attr ATTRIBUTE_UNUSED) 160 const pthread_mutexattr_t *attr ATTRIBUTE_UNUSED) 199 pthread_attr_destroy (pthread_attr_t *attr ATTRIBUTE_UNUSED) 205 pthread_attr_init (pthread_attr_t *attr ATTRIBUTE_UNUSED) 211 pthread_attr_setdetachstate (pthread_attr_t *attr ATTRIBUTE_UNUSED,
|
/freebsd-9.3-release/contrib/wpa/src/wps/ |
H A D | wps_enrollee.c | 662 struct wps_parse_attr attr; local 668 if (wps_parse_msg(&msg, &attr) < 0 || 669 wps_process_cred(&attr, &wps->cred)) 723 struct wps_parse_attr *attr, 731 if (wps_process_ap_settings(attr, &cred) < 0) 764 struct wps_parse_attr *attr) 775 if (wps_process_registrar_nonce(wps, attr->registrar_nonce) || 776 wps_process_enrollee_nonce(wps, attr->enrollee_nonce) || 777 wps_process_uuid_r(wps, attr->uuid_r)) { 791 if (wps_process_pubkey(wps, attr 722 wps_process_ap_settings_e(struct wps_data *wps, struct wps_parse_attr *attr, struct wpabuf *attrs) argument 762 wps_process_m2(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) argument 803 wps_process_m2d(struct wps_data *wps, struct wps_parse_attr *attr) argument 858 wps_process_m4(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) argument 907 wps_process_m6(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) argument 954 wps_process_m8(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) argument 1006 struct wps_parse_attr attr; local 1080 struct wps_parse_attr attr; local 1132 struct wps_parse_attr attr; local 1219 struct wps_parse_attr attr; local [all...] |
H A D | wps_attr_process.c | 284 int wps_process_cred(struct wps_parse_attr *attr, argument 290 if (wps_process_cred_network_idx(cred, attr->network_idx) || 291 wps_process_cred_ssid(cred, attr->ssid, attr->ssid_len) || 292 wps_process_cred_auth_type(cred, attr->auth_type) || 293 wps_process_cred_encr_type(cred, attr->encr_type) || 294 wps_process_cred_network_key_idx(cred, attr->network_key_idx) || 295 wps_process_cred_network_key(cred, attr->network_key, 296 attr->network_key_len) || 297 wps_process_cred_mac_addr(cred, attr 312 wps_process_ap_settings(struct wps_parse_attr *attr, struct wps_credential *cred) argument [all...] |
/freebsd-9.3-release/contrib/ofed/libmlx4/src/ |
H A D | verbs.c | 48 int mlx4_query_device(struct ibv_context *context, struct ibv_device_attr *attr) argument 55 ret = ibv_cmd_query_device(context, attr, &raw_fw_ver, &cmd, sizeof cmd); 63 snprintf(attr->fw_ver, sizeof attr->fw_ver, 70 struct ibv_port_attr *attr) 74 return ibv_cmd_query_port(context, port, attr, &cmd, sizeof cmd); 297 struct ibv_srq_init_attr *attr) 305 if (attr->attr.max_wr > 1 << 16 || attr 69 mlx4_query_port(struct ibv_context *context, uint8_t port, struct ibv_port_attr *attr) argument 296 mlx4_create_srq(struct ibv_pd *pd, struct ibv_srq_init_attr *attr) argument 354 mlx4_modify_srq(struct ibv_srq *srq, struct ibv_srq_attr *attr, enum ibv_srq_attr_mask attr_mask) argument 363 mlx4_query_srq(struct ibv_srq *srq, struct ibv_srq_attr *attr) argument 405 verify_sizes(struct ibv_qp_init_attr *attr, struct mlx4_context *context) argument 443 mlx4_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr) argument 559 mlx4_query_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr, enum ibv_qp_attr_mask attr_mask, struct ibv_qp_init_attr *init_attr) argument 580 mlx4_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, enum ibv_qp_attr_mask attr_mask) argument 677 mlx4_create_ah(struct ibv_pd *pd, struct ibv_ah_attr *attr) argument 743 mlx4_create_xrc_srq(struct ibv_pd *pd, struct ibv_xrc_domain *xrc_domain, struct ibv_cq *xrc_cq, struct ibv_srq_init_attr *attr) argument 850 mlx4_modify_xrc_rcv_qp(struct ibv_xrc_domain *xrc_domain, uint32_t xrc_qp_num, struct ibv_qp_attr *attr, int attr_mask) argument 859 mlx4_query_xrc_rcv_qp(struct ibv_xrc_domain *xrc_domain, uint32_t xrc_qp_num, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr *init_attr) argument [all...] |
/freebsd-9.3-release/contrib/ncurses/ncurses/base/ |
H A D | lib_chgat.c | 48 wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts GCC_UNUSED) argument 52 T((T_CALLED("wchgat(%p,%d,%s,%d)"), win, n, _traceattr(attr), color)); 57 toggle_attr_on(attr, COLOR_PAIR(color)); 60 SetAttr(line->text[i], attr);
|
/freebsd-9.3-release/tools/regression/mqueue/mqtest3/ |
H A D | mqtest3.c | 28 struct mq_attr attr; local 34 attr.mq_maxmsg = 5; 35 attr.mq_msgsize = 128; 36 mq = mq_open(MQNAME, O_CREAT | O_RDWR | O_EXCL, 0666, &attr); 39 status = mq_getattr(mq, &attr); 55 buf = malloc(attr.mq_msgsize); 63 status = mq_receive(mq, buf, attr.mq_msgsize, &prio); 66 for (i = 0; i < attr.mq_msgsize; ++i) 83 buf = malloc(attr.mq_msgsize); 85 for (i = 0; i < attr [all...] |
/freebsd-9.3-release/tools/regression/mqueue/mqtest4/ |
H A D | mqtest4.c | 29 struct mq_attr attr; local 37 attr.mq_maxmsg = 5; 38 attr.mq_msgsize = 128; 39 mq = mq_open(MQNAME, O_CREAT | O_RDWR | O_EXCL, 0666, &attr); 42 status = mq_getattr(mq, &attr); 59 buf = malloc(attr.mq_msgsize); 65 status = mq_receive(mq, buf, attr.mq_msgsize, &prio); 68 for (i = 0; i < attr.mq_msgsize; ++i) 91 buf = malloc(attr.mq_msgsize); 93 for (i = 0; i < attr [all...] |
/freebsd-9.3-release/tools/regression/mqueue/mqtest5/ |
H A D | mqtest5.c | 29 struct mq_attr attr; local 45 attr.mq_maxmsg = 5; 46 attr.mq_msgsize = 128; 47 mq = mq_open(MQNAME, O_CREAT | O_RDWR | O_EXCL, 0666, &attr); 50 status = mq_getattr(mq, &attr); 69 buf = malloc(attr.mq_msgsize); 80 status = mq_receive(mq, buf, attr.mq_msgsize, &prio); 83 for (i = 0; i < attr.mq_msgsize; ++i) 101 buf = malloc(attr.mq_msgsize); 103 for (i = 0; i < attr [all...] |
/freebsd-9.3-release/usr.sbin/makefs/cd9660/ |
H A D | iso9660_rrip.c | 152 t->attr.su_entry.CE.ca_sector); 157 t->attr.su_entry.CE.ca_sector); 159 t->attr.su_entry.CE.offset); 161 t->attr.su_entry.CE.length); 182 t->attr.rr_entry.CL.dir_loc); 192 t->attr.rr_entry.PL.dir_loc); 323 struct ISO_SUSP_ATTRIBUTES *attr; local 333 attr = cd9660node_susp_create_node(SUSP_TYPE_RRIP, 335 cd9660node_rrip_px(attr, node->node); 337 TAILQ_INSERT_TAIL(&node->head, attr, rr_l [all...] |
/freebsd-9.3-release/contrib/ofed/libibverbs/src/ |
H A D | cmd.c | 453 struct ibv_srq *srq, struct ibv_srq_init_attr *attr, 460 cmd->max_wr = attr->attr.max_wr; 461 cmd->max_sge = attr->attr.max_sge; 462 cmd->srq_limit = attr->attr.srq_limit; 473 attr->attr.max_wr = resp->max_wr; 474 attr 452 ibv_cmd_create_srq(struct ibv_pd *pd, struct ibv_srq *srq, struct ibv_srq_init_attr *attr, struct ibv_create_srq *cmd, size_t cmd_size, struct ibv_create_srq_resp *resp, size_t resp_size) argument 487 ibv_cmd_create_xrc_srq(struct ibv_pd *pd, struct ibv_srq *srq, struct ibv_srq_init_attr *attr, uint32_t xrcd_handle, uint32_t xrc_cq, struct ibv_create_xrc_srq *cmd, size_t cmd_size, struct ibv_create_srq_resp *resp, size_t resp_size) argument 624 ibv_cmd_create_qp(struct ibv_pd *pd, struct ibv_qp *qp, struct ibv_qp_init_attr *attr, struct ibv_create_qp *cmd, size_t cmd_size, struct ibv_create_qp_resp *resp, size_t resp_size) argument 684 ibv_cmd_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr *init_attr, struct ibv_query_qp *cmd, size_t cmd_size) argument 768 ibv_cmd_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_modify_qp *cmd, size_t cmd_size) argument 863 ibv_cmd_modify_xrc_rcv_qp(struct ibv_xrc_domain *d, uint32_t xrc_qp_num, struct ibv_qp_attr *attr, int attr_mask) argument 932 ibv_cmd_query_xrc_rcv_qp(struct ibv_xrc_domain *d, uint32_t xrc_qp_num, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr *init_attr) argument 1239 ibv_cmd_create_ah(struct ibv_pd *pd, struct ibv_ah *ah, struct ibv_ah_attr *attr) argument [all...] |
/freebsd-9.3-release/tools/regression/mqueue/mqtest1/ |
H A D | mqtest1.c | 14 struct mq_attr attr, attr2; local 19 attr.mq_maxmsg = 2; 20 attr.mq_msgsize = 100; 21 mq = mq_open(MQNAME, O_CREAT | O_RDWR | O_EXCL, 0666, &attr); 30 if (attr.mq_maxmsg != attr2.mq_maxmsg) 32 if (attr.mq_msgsize != attr2.mq_msgsize)
|
/freebsd-9.3-release/usr.sbin/bluetooth/btpand/ |
H A D | client.c | 133 sdp_attr_t attr; local 139 attr.flags = SDP_ATTR_INVALID; 140 attr.attr = 0; 141 attr.vlen = sizeof(buffer); 142 attr.value = buffer; 156 rv = sdp_search(ss, 1, &service_class, 1, &range, 1, &attr); 164 if (attr.flags != SDP_ATTR_OK 165 || attr.attr ! [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | Attr.h | 77 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0) 83 attr::Kind getKind() const { 84 return static_cast<attr::Kind>(AttrKind); 111 InheritableAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0) 119 return A->getKind() <= attr::LAST_INHERITABLE; 126 InheritableParamAttr(attr::Kind AK, SourceRange R, 135 return A->getKind() <= attr::LAST_INHERITABLE_PARAM; 142 MSInheritanceAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0) 149 return (A->getKind() <= attr::LAST_MS_INHERITANCE && 150 A->getKind() > attr [all...] |