Searched refs:pattr (Results 1 – 11 of 11) sorted by relevance
/freebsd/lib/libthr/thread/ |
H A D | thr_attr.c | 324 pthread_attr_t pattr; in _thr_attr_init() local 328 if ((pattr = malloc(sizeof(*pattr))) == NULL) in _thr_attr_init() 331 memcpy(pattr, &_pthread_attr_default, sizeof(*pattr)); in _thr_attr_init() 332 *attr = pattr; in _thr_attr_init() 531 _pthread_attr_setaffinity_np(pthread_attr_t *pattr, size_t cpusetsize, in _pthread_attr_setaffinity_np() argument 537 if (pattr == NULL || (attr = (*pattr)) == NULL) in _pthread_attr_setaffinity_np() 574 _pthread_attr_getaffinity_np(const pthread_attr_t *pattr, size_t cpusetsize, in _pthread_attr_getaffinity_np() argument 579 if (pattr == NULL || (attr = (*pattr)) == NULL) in _pthread_attr_getaffinity_np()
|
H A D | thr_condattr.c | 51 pthread_condattr_t pattr; in _pthread_condattr_init() local 54 if ((pattr = (pthread_condattr_t) in _pthread_condattr_init() 58 memcpy(pattr, &_pthread_condattr_default, in _pthread_condattr_init() 60 *attr = pattr; in _pthread_condattr_init()
|
H A D | thr_create.c | 46 static int create_stack(struct pthread_attr *pattr); 235 create_stack(struct pthread_attr *pattr) in create_stack() argument 240 if ((pattr->stackaddr_attr) != NULL) { in create_stack() 241 pattr->guardsize_attr = 0; in create_stack() 242 pattr->flags |= THR_STACK_USER; in create_stack() 246 ret = _thr_stack_alloc(pattr); in create_stack()
|
H A D | thr_mutexattr.c | 98 pthread_mutexattr_t pattr; in _thr_mutexattr_init() local 100 if ((pattr = (pthread_mutexattr_t) in _thr_mutexattr_init() 104 memcpy(pattr, &_pthread_mutexattr_default, in _thr_mutexattr_init() 106 *attr = pattr; in _thr_mutexattr_init()
|
/freebsd/tools/test/stress2/misc/ |
H A D | pthread7.sh | 236 pthread_mutexattr_t attr, *pattr = NULL; 248 pattr = &attr; 249 if ((rc = pthread_mutex_init(&newfiles.mtx, pattr)) != 0)
|
H A D | pthread4.sh | 247 pthread_mutexattr_t attr, *pattr = NULL; 259 pattr = &attr; 260 if ((rc = pthread_mutex_init(&newfiles.mtx, pattr)) != 0)
|
H A D | pthread6.sh | 239 pthread_mutexattr_t attr, *pattr = NULL; 252 pattr = &attr; 253 if ((rc = pthread_mutex_init(&newfiles.mtx, pattr)) != 0)
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_mad.c | 209 struct ib_port_attr pattr; in mthca_process_mad() local 257 !ib_query_port(ibdev, port_num, &pattr)) in mthca_process_mad() 258 prev_lid = pattr.lid; in mthca_process_mad()
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_rc.c | 859 } *pattr; in dpaa2_rc_get_attributes() local 868 pattr = (struct dpaa2_rc_attr *) &cmd->params[0]; in dpaa2_rc_get_attributes() 869 attr->cont_id = pattr->cont_id; in dpaa2_rc_get_attributes() 870 attr->portal_id = pattr->portal_id; in dpaa2_rc_get_attributes() 871 attr->options = pattr->options; in dpaa2_rc_get_attributes() 872 attr->icid = pattr->icid; in dpaa2_rc_get_attributes() 2026 } *pattr; in dpaa2_rc_io_get_attributes() local 2035 pattr = (struct dpaa2_io_attr *) &cmd->params[0]; in dpaa2_rc_io_get_attributes() 2037 attr->swp_ce_paddr = pattr->swp_ce_paddr; in dpaa2_rc_io_get_attributes() 2038 attr->swp_ci_paddr = pattr->swp_ci_paddr; in dpaa2_rc_io_get_attributes() [all …]
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | fasttrap.c | 1608 const dtrace_pattr_t *pattr) in fasttrap_provider_lookup() argument 1617 ASSERT(pattr != NULL); in fasttrap_provider_lookup() 1701 dtrace_register(provname, pattr, in fasttrap_provider_lookup() 1703 pattr == &pid_attr ? &pid_pops : &usdt_pops, new_fp, in fasttrap_provider_lookup()
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mad.c | 770 struct ib_port_attr pattr; in ib_process_mad() local 824 !ib_query_port(ibdev, port_num, &pattr)) in ib_process_mad() 825 prev_lid = pattr.lid; in ib_process_mad()
|