/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/infiniband/core/ |
H A D | sysfs.c | 53 struct attribute attr; member in struct:port_attribute 66 struct port_attribute attr; member in struct:port_table_attribute 72 struct attribute *attr, char *buf) 75 container_of(attr, struct port_attribute, attr); 91 struct ib_port_attr attr; local 103 ret = ib_query_port(p->ibdev, p->port_num, &attr); 107 return sprintf(buf, "%d: %s\n", attr.state, 108 attr.state < ARRAY_SIZE(state_name) ? 109 state_name[attr 71 port_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 115 struct ib_port_attr attr; local 129 struct ib_port_attr attr; local 142 struct ib_port_attr attr; local 155 struct ib_port_attr attr; local 168 struct ib_port_attr attr; local 181 struct ib_port_attr attr; local 207 struct ib_port_attr attr; local 263 show_port_gid(struct ib_port *p, struct port_attribute *attr, char *buf) argument 282 show_port_pkey(struct ib_port *p, struct port_attribute *attr, char *buf) argument 297 get_pma_counters(struct ib_port *p, struct port_attribute *attr, char *buf, int c_ext) argument 374 show_pma_counter(struct ib_port *p, struct port_attribute *attr, char *buf) argument 428 show_pma_counter_ext(struct ib_port *p, struct port_attribute *attr, char *buf) argument 557 struct ib_port_attr attr; local 648 show_node_type(struct device *device, struct device_attribute *attr, char *buf) argument 666 struct ib_device_attr attr; local 680 show_node_guid(struct device *device, struct device_attribute *attr, char *buf) argument 692 show_node_desc(struct device *device, struct device_attribute *attr, char *buf) argument 700 set_node_desc(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument 740 show_protocol_stat(const struct device *device, struct device_attribute *attr, char *buf, unsigned offset) argument [all...] |
H A D | uverbs_cmd.c | 369 struct ib_device_attr attr; local 378 ret = ib_query_device(file->device->ib_dev, &attr); 384 resp.fw_ver = attr.fw_ver; 386 resp.sys_image_guid = attr.sys_image_guid; 387 resp.max_mr_size = attr.max_mr_size; 388 resp.page_size_cap = attr.page_size_cap; 389 resp.vendor_id = attr.vendor_id; 390 resp.vendor_part_id = attr.vendor_part_id; 391 resp.hw_ver = attr.hw_ver; 392 resp.max_qp = attr 438 struct ib_port_attr attr; local 1046 struct ib_qp_init_attr attr; local 1196 struct ib_qp_attr *attr; local 1296 struct ib_qp_attr *attr; local 1779 struct ib_ah_attr attr; local 1990 struct ib_srq_init_attr attr; local 2095 struct ib_srq_init_attr attr; local 2221 struct ib_srq_attr attr; local 2250 struct ib_srq_attr attr; local 2752 struct ib_qp_attr *attr; local 2829 struct ib_qp_attr *attr; local [all...] |
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/x509/ |
H A D | x509_att.c | 122 X509_ATTRIBUTE *attr) 141 if ((new_attr=X509_ATTRIBUTE_dup(attr)) == NULL) 160 X509_ATTRIBUTE *attr; local 162 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len); 163 if(!attr) return 0; 164 ret = X509at_add1_attr(x, attr); 165 X509_ATTRIBUTE_free(attr); 173 X509_ATTRIBUTE *attr; local 175 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len); 176 if(!attr) retur 186 X509_ATTRIBUTE *attr; local 211 X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid, int atrtype, const void *data, int len) argument 228 X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr, const ASN1_OBJECT *obj, int atrtype, const void *data, int len) argument 257 X509_ATTRIBUTE_create_by_txt(X509_ATTRIBUTE **attr, const char *atrname, int type, const unsigned char *bytes, int len) argument 276 X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj) argument 285 X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, const void *data, int len) argument 327 X509_ATTRIBUTE_count(X509_ATTRIBUTE *attr) argument 334 X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr) argument 340 X509_ATTRIBUTE_get0_data(X509_ATTRIBUTE *attr, int idx, int atrtype, void *data) argument 353 X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx) argument [all...] |
H A D | x509_req.c | 188 X509_ATTRIBUTE *attr; local 200 attr = X509_REQ_get_attr(req, idx); 201 if(attr->single) ext = attr->value.single; 202 else if(sk_ASN1_TYPE_num(attr->value.set)) 203 ext = sk_ASN1_TYPE_value(attr->value.set, 0); 222 X509_ATTRIBUTE *attr = NULL; local 232 if(!(attr = X509_ATTRIBUTE_new())) goto err; 233 if(!(attr->value.set = sk_ASN1_TYPE_new_null())) goto err; 234 if(!sk_ASN1_TYPE_push(attr 285 X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr) argument [all...] |
/barrelfish-2018-10-04/lib/octopus/parser/ |
H A D | ast.c | 40 free_ast(p->u.an.attr); 78 struct ast_object** attr = &ast->u.on.attrs; local 79 for (; *attr != NULL; attr = &(*attr)->u.an.next) { 85 new_attr->u.an.attr = to_insert; 87 *attr = new_attr; 92 struct ast_object** attr = &ast->u.on.attrs; local 94 for (; *attr != NULL; attr 108 struct ast_object** attr = &ast->u.on.attrs; local [all...] |
H A D | read.c | 93 struct ast_object* attr = format_ast->u.on.attrs; local 94 for(; attr != NULL; attr = attr->u.an.next) { 96 struct ast_object* format_attr = attr->u.an.attr;
|
H A D | test_parser.c | 128 assert(p->u.an.attr != NULL); 130 translate(p->u.an.attr); 227 struct ast_object* attr = ast->u.on.attrs; local 229 while(attr != NULL) { 230 assert(attr->type == nodeType_Attribute); 232 struct ast_object* pair = attr->u.an.attr; 242 attr = attr->u.an.next;
|
/barrelfish-2018-10-04/lib/posixcompat/ |
H A D | pthreads.c | 107 int pthread_create(pthread_t *pthread, const pthread_attr_t *attr, argument 112 if(attr != NULL) { 113 stacksize = (*attr)->stacksize; 126 if (attr && (*attr)->affinity_set) { 129 if (CPU_ISSET(i, &(*attr)->affinity)) { 191 int pthread_attr_init(pthread_attr_t *attr) argument 193 *attr = malloc(sizeof(struct pthread_attr)); 194 (*attr)->stacksize = THREADS_DEFAULT_STACK_BYTES; 195 CPU_ZERO(&(*attr) 200 pthread_attr_destroy(pthread_attr_t *attr) argument 218 pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) argument 307 pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr) argument 437 pthread_mutexattr_init(pthread_mutexattr_t *attr) argument 457 pthread_mutexattr_destroy(pthread_mutexattr_t *attr) argument 473 pthread_mutexattr_getpshared(const pthread_mutexattr_t *attr, int *pshared) argument 488 pthread_mutexattr_gettype(pthread_mutexattr_t *attr, int *type) argument 501 pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type) argument 523 pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, int pshared) argument 550 pthread_barrier_init(pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned max_count) argument 608 pthread_rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr) argument 807 pthread_attr_setaffinity_np(pthread_attr_t *attr, size_t cpusetsize, const cpuset_t *cpuset) argument 843 pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize) argument 849 pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) argument [all...] |
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/ |
H A D | test_ib.c | 17 struct ib_qp_init_attr attr; local 51 memset(&attr, 0, sizeof attr); 52 attr.create_flags = 0; 53 attr.event_handler = NULL; 54 attr.qp_context = NULL; 55 attr.send_cq = cq; 56 attr.recv_cq = cq; 57 attr.srq = NULL; 58 attr [all...] |
/barrelfish-2018-10-04/usr/eclipseclp/Kernel/src/ |
H A D | fd.h | 74 #define Var_Attr(var, attr) \ 75 attr = MetaTerm(var); /* attribute */ \ 76 Dereference_(attr); \ 77 attr = attr->val.ptr + domain_slot; \ 78 Dereference_(attr); 80 #define Attr_Domain(attr, domptr) \ 81 domptr = attr->val.ptr + DOMAIN_OFF; \
|
/barrelfish-2018-10-04/usr/tests/posixcompat/ |
H A D | pthreads.c | 50 pthread_attr_t attr; local 51 pthread_attr_init(&attr); 55 int rv = pthread_create(&tid, &attr, prj_thread, NULL); 76 pthread_attr_t attr; local 77 pthread_attr_init(&attr); 86 pthread_attr_setaffinity_np(&attr, sizeof(cpu_set_t), &set); 87 int rv = pthread_create(&tid, &attr, prj_thread, NULL); 132 pthread_attr_t attr; local 133 pthread_attr_init(&attr); 141 pthread_attr_setaffinity_np(&attr, sizeo [all...] |
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/infiniband/hw/mlx4/ |
H A D | sysfs.c | 47 struct device_attribute *attr, char *buf) 52 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); 73 struct device_attribute *attr, 79 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); 132 struct device_attribute *attr, 136 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); 159 struct device_attribute *attr, 163 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); 179 sysfs_remove_file((_dentry)->kobj, &(_dentry)->dentry.attr); \ 185 struct device_attribute *attr, 46 show_admin_alias_guid(struct device *dev, struct device_attribute *attr, char *buf) argument 72 store_admin_alias_guid(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 131 show_port_gid(struct device *dev, struct device_attribute *attr, char *buf) argument 158 show_phys_port_pkey(struct device *dev, struct device_attribute *attr, char *buf) argument 182 create_sysfs_entry(void *_ctx, struct mlx4_ib_iov_sysfs_attr *_dentry, char *_name, struct kobject *_kobj, ssize_t (*show)(struct device *dev, struct device_attribute *attr, char *buf), ssize_t (*store)(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ) argument 220 add_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, struct attribute *attr) argument 233 del_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, struct attribute *attr) argument 247 struct ib_port_attr attr; local 413 struct attribute attr; member in struct:port_attribute 419 port_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 431 port_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t size) argument 455 struct port_attribute attr; member in struct:port_table_attribute 460 show_port_pkey(struct mlx4_port *p, struct port_attribute *attr, char *buf) argument 477 store_port_pkey(struct mlx4_port *p, struct port_attribute *attr, const char *buf, size_t count) argument 509 show_port_gid_idx(struct mlx4_port *p, struct port_attribute *attr, char *buf) argument [all...] |
H A D | qp.c | 593 static int qp_has_rq(struct ib_qp_init_attr *attr) { argument 594 if (attr->qp_type == IB_QPT_XRC_INI || attr->qp_type == IB_QPT_XRC_TGT) 597 return !attr->srq; 602 struct ib_qp_init_attr *attr, int *qpn) { 610 tss_num = 1 + attr->parent_attrib.tss_child_count; 612 rss_num = attr->parent_attrib.rss_child_count; 622 attr->parent_attrib.rss_child_count = rss_align_num; 662 qpg_data->tss_child_count = attr->parent_attrib.tss_child_count; 663 qpg_data->rss_child_count = attr 773 alloc_qpn_common(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp, struct ib_qp_init_attr *attr, int *qpn) argument 1259 get_sqp_num(struct mlx4_ib_dev *dev, struct ib_qp_init_attr *attr) argument 1492 to_mlx4_access_flags(struct mlx4_ib_qp *qp, const struct ib_qp_attr *attr, int attr_mask) argument 1521 store_sqp_attrs(struct mlx4_ib_sqp *sqp, const struct ib_qp_attr *attr, int attr_mask) argument 1722 __mlx4_ib_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) argument 2072 store_sqp_attrs(to_msqp(qp), attr, attr_mask); local 2231 mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument [all...] |
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/infiniband/hw/mthca/ |
H A D | mthca_av.c | 292 int mthca_ah_query(struct ib_ah *ibah, struct ib_ah_attr *attr) argument 301 memset(attr, 0, sizeof *attr); 302 attr->dlid = be16_to_cpu(ah->av->dlid); 303 attr->sl = be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 28; 304 attr->port_num = be32_to_cpu(ah->av->port_pd) >> 24; 305 attr->static_rate = mthca_rate_to_ib(dev, ah->av->msg_sr & 0x7, 306 attr->port_num); 307 attr->src_path_bits = ah->av->g_slid & 0x7F; 308 attr [all...] |
/barrelfish-2018-10-04/lib/cxx/cxx/ |
H A D | mutex.cpp | 53 pthread_mutexattr_t attr; local 54 int ec = pthread_mutexattr_init(&attr); 57 ec = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); 60 pthread_mutexattr_destroy(&attr); 63 ec = pthread_mutex_init(&__m_, &attr); 66 pthread_mutexattr_destroy(&attr); 69 ec = pthread_mutexattr_destroy(&attr);
|
/barrelfish-2018-10-04/include/sys/ |
H A D | tree.h | 385 #define RB_PROTOTYPE_INTERNAL(name, type, field, cmp, attr) \ 386 RB_PROTOTYPE_INSERT_COLOR(name, type, attr); \ 387 RB_PROTOTYPE_REMOVE_COLOR(name, type, attr); \ 388 RB_PROTOTYPE_INSERT(name, type, attr); \ 389 RB_PROTOTYPE_REMOVE(name, type, attr); \ 390 RB_PROTOTYPE_FIND(name, type, attr); \ 391 RB_PROTOTYPE_NFIND(name, type, attr); \ 392 RB_PROTOTYPE_NEXT(name, type, attr); \ 393 RB_PROTOTYPE_PREV(name, type, attr); \ 394 RB_PROTOTYPE_MINMAX(name, type, attr); [all...] |
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/ |
H A D | kobject.h | 140 struct attribute attr; member in struct:kobj_attribute 141 ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr, 143 ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr,
|
/barrelfish-2018-10-04/usr/drivers/e10k/ |
H A D | helper.h | 18 void* alloc_map_frame(vregion_flags_t attr, size_t size, struct capref *retcap);
|
/barrelfish-2018-10-04/usr/drivers/solarflare/ |
H A D | helper.h | 17 void* alloc_map_frame(vregion_flags_t attr, size_t size, struct capref *retcap);
|
H A D | helper.c | 18 void* alloc_map_frame(vregion_flags_t attr, size_t size, struct capref *retcap) argument 26 r = vspace_map_one_frame_attr(&va, size, frame, attr,
|
/barrelfish-2018-10-04/lib/devif/backends/net/e10k/ |
H A D | helper.h | 18 void* alloc_map_frame(vregion_flags_t attr, size_t size, struct capref *retcap);
|
/barrelfish-2018-10-04/usr/eclipseclp/Eplex/ |
H A D | eplex_coin.c | 162 int attr; /* variable for integer attribute */ local 176 Get_Dual_Infeas(lpd->lpcopy, &attr); 177 if (attr == 0) 179 /* attr == 0 ==> we have a feasible dual `solution' for 192 Get_Dual_Infeas(lpd->lp, &attr); 193 /* attr == 0 ==> we have a feasible dual `solution' (i.e. 196 if (attr == 0) 216 Get_Primal_Infeas(lpd->lp, &attr); 217 /* attr == 0 ==> we have a feasible primal solution */ 218 if (attr [all...] |
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/infiniband/ |
H A D | driver.h | 94 struct ibv_srq_init_attr *attr, struct ibv_create_srq *cmd, 97 struct ibv_srq_init_attr *attr, uint32_t xrc_domain, uint32_t xrc_cq, 107 struct ibv_qp_init_attr *attr, struct ibv_create_qp *cmd, 112 int ibv_cmd_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, 122 struct ibv_ah_attr *attr); 138 struct ibv_qp_attr *attr, int attr_mask); 140 struct ibv_qp_attr *attr, int attr_mask,
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/cms/ |
H A D | cms_att.c | 90 int CMS_signed_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr) argument 92 if(X509at_add1_attr(&si->signedAttrs, attr)) return 1; 156 int CMS_unsigned_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr) argument 158 if(X509at_add1_attr(&si->unsignedAttrs, attr)) return 1;
|
/barrelfish-2018-10-04/usr/tests/nkm/ |
H A D | invalid_mappings.c | 136 paging_x86_64_flags_t attr = 0; local 143 attr = FRAME_ACCESS_DEFAULT; 146 attr = PTABLE_ACCESS_DEFAULT; 149 err = vnode_map(caps[i], caps[j], /*slot*/0, attr, /*off*/0,
|