Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 79) sorted by relevance

1234

/glibc-2.36/stdlib/
Dlcong48_r.c24 __lcong48_r (unsigned short int param[7], struct drand48_data *buffer) in __lcong48_r()
27 memcpy (buffer->__x, &param[0], sizeof (buffer->__x)); in __lcong48_r()
28 buffer->__a = ((uint64_t) param[5] << 32 | (uint32_t) param[4] << 16 in __lcong48_r()
29 | param[3]); in __lcong48_r()
30 buffer->__c = param[6]; in __lcong48_r()
Dlcong48.c22 lcong48 (unsigned short int param[7]) in lcong48()
24 (void) __lcong48_r (param, &__libc_drand48_data); in lcong48()
/glibc-2.36/nptl/
Dpthread_setschedparam.c27 const struct sched_param *param) in __pthread_setschedparam() argument
42 const struct sched_param *orig_param = param; in __pthread_setschedparam()
47 && pd->tpp->priomax > param->sched_priority) in __pthread_setschedparam()
49 p = *param; in __pthread_setschedparam()
51 param = &p; in __pthread_setschedparam()
56 param) == -1, 0)) in __pthread_setschedparam()
Dpthread_setschedprio.c37 struct sched_param param; in __pthread_setschedprio() local
38 param.sched_priority = prio; in __pthread_setschedprio()
46 param.sched_priority = pd->tpp->priomax; in __pthread_setschedprio()
49 if (__glibc_unlikely (__sched_setparam (pd->tid, &param) == -1)) in __pthread_setschedprio()
55 param.sched_priority = prio; in __pthread_setschedprio()
56 memcpy (&pd->schedparam, &param, sizeof (struct sched_param)); in __pthread_setschedprio()
Dtst-default-attr.c210 struct sched_param param; in verify_sched_result() local
226 RETURN_IF_FAIL (pthread_attr_getschedparam, attr, &param); in verify_sched_result()
227 if (param.sched_priority != 42) in verify_sched_result()
230 param.sched_priority, 42); in verify_sched_result()
250 struct sched_param param; in do_sched_test() local
251 param.sched_priority = 42; in do_sched_test()
252 RETURN_IF_FAIL (pthread_attr_setschedparam, &attr, &param); in do_sched_test()
Dpthread_attr_setschedparam.c25 const struct sched_param *param) in __pthread_attr_setschedparam() argument
29 int ret = check_sched_priority_attr (param->sched_priority, in __pthread_attr_setschedparam()
35 memcpy (&iattr->schedparam, param, sizeof (struct sched_param)); in __pthread_attr_setschedparam()
Dpthread_setattr_default_np.c39 const struct sched_param *param = &real_in->schedparam; in __pthread_setattr_default_np() local
40 if (param->sched_priority > 0) in __pthread_setattr_default_np()
42 ret = check_sched_priority_attr (param->sched_priority, policy); in __pthread_setattr_default_np()
Dpthread_attr_getschedparam.c24 struct sched_param *param) in __pthread_attr_getschedparam() argument
31 memcpy (param, &iattr->schedparam, sizeof (struct sched_param)); in __pthread_attr_getschedparam()
Dpthread_getschedparam.c26 struct sched_param *param) in __pthread_getschedparam() argument
65 memcpy (param, &pd->schedparam, sizeof (struct sched_param)); in __pthread_getschedparam()
/glibc-2.36/htl/
Dforward.c72 (const pthread_attr_t *attr, struct sched_param *param),
73 (attr, param), 0)
75 (pthread_attr_t *attr, const struct sched_param *param),
76 (attr, param), 0)
116 (pthread_t target_thread, int *policy, struct sched_param *param),
117 (target_thread, policy, param), 0)
120 const struct sched_param *param), (target_thread, policy, param), 0)
/glibc-2.36/rt/
Daio_suspend.c63 const struct clparam *param = (const struct clparam *) arg; in cleanup() local
67 int cnt = param->nent; in cleanup()
69 if (param->list[cnt] != NULL in cleanup()
70 && param->list[cnt]->__error_code == EINPROGRESS) in cleanup()
74 assert (param->requestlist[cnt] != NULL); in cleanup()
78 listp = &param->requestlist[cnt]->waiting; in cleanup()
79 while (*listp != NULL && *listp != &param->waitlist[cnt]) in cleanup()
88 (void) pthread_cond_destroy (param->cond); in cleanup()
Daio_misc.c314 struct sched_param param; in __aio_enqueue_request() local
334 __pthread_getschedparam (__pthread_self (), &policy, &param); in __aio_enqueue_request()
335 prio = param.sched_priority - aiocbp->aiocb.aio_reqprio; in __aio_enqueue_request()
494 struct sched_param param; in handle_fildes_io() local
500 __pthread_getschedparam (self, &policy, &param); in handle_fildes_io()
521 if (aiocbp->aiocb.__abs_prio != param.sched_priority in handle_fildes_io()
524 param.sched_priority = aiocbp->aiocb.__abs_prio; in handle_fildes_io()
526 __pthread_setschedparam (self, policy, &param); in handle_fildes_io()
/glibc-2.36/sysdeps/powerpc/powerpc64/power4/
DMakefile4 CFLAGS-wordcopy.c += --param max-variable-expansions-in-unroller=2 --param max-unroll-times=2 -funr…
5 CFLAGS-memmove.c += --param max-variable-expansions-in-unroller=2 --param max-unroll-times=2 -funro…
/glibc-2.36/sysdeps/powerpc/powerpc32/power4/
DMakefile4 CFLAGS-wordcopy.c += --param max-variable-expansions-in-unroller=2 --param max-unroll-times=2 -funr…
5 CFLAGS-memmove.c += --param max-variable-expansions-in-unroller=2 --param max-unroll-times=2 -funro…
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-skeleton-thread-affinity.c79 struct burn_thread *param = closure; in thread_burn_any_cpu() local
90 if (cpu > param->conf->last_cpu in thread_burn_any_cpu()
91 || !CPU_ISSET_S (cpu, CPU_ALLOC_SIZE (param->conf->set_size), in thread_burn_any_cpu()
92 param->initial_set)) in thread_burn_any_cpu()
95 param->thread, cpu); in thread_burn_any_cpu()
99 CPU_SET_S (cpu, CPU_ALLOC_SIZE (param->conf->set_size), in thread_burn_any_cpu()
100 param->seen_set); in thread_burn_any_cpu()
Dmq_notify.c46 union sigval param; /* The parameter to pass. */ member
89 union sigval param = data->param; in notification_function() local
102 fct (param); in notification_function()
233 data.param = notification->sigev_value; in __mq_notify()
/glibc-2.36/sysdeps/htl/
Dpt-attr-setschedparam.c27 const struct sched_param *param) in __pthread_attr_setschedparam() argument
29 if (param->sched_priority == __pthread_default_attr.__schedparam.__sched_priority) in __pthread_attr_setschedparam()
31 attr->__schedparam.__sched_priority = param->sched_priority; in __pthread_attr_setschedparam()
Dpt-attr-getschedparam.c27 struct sched_param *param) in __pthread_attr_getschedparam() argument
29 param->sched_priority = attr->__schedparam.__sched_priority; in __pthread_attr_getschedparam()
Dpt-getschedparam.c24 struct sched_param *param) in __pthread_getschedparam() argument
27 param->sched_priority = 0; in __pthread_getschedparam()
/glibc-2.36/string/
Dtest-ffs.c23 void try (const char *name, long long int param, int value, int expected) in try() argument
28 name, param, expected, value); in try()
32 printf ("%s(%#llx) as expected %d\n", name, param, value); in try()
/glibc-2.36/localedata/
Dtst-langinfo.c164 int param; in do_test() local
262 param = map_paramstr (paramstr); in do_test()
263 if (param == -1) in do_test()
270 result = test_locale (locale, paramstr, param, expected); in do_test()
Dtst-langinfo-setlocale.c26 test_locale (char *locale, char *paramstr, int param, char *expected) in test_locale() argument
40 actual = nl_langinfo (param); in test_locale()
Dtst-langinfo-newlocale.c26 test_locale (char *locale, char *paramstr, int param, char *expected) in test_locale() argument
40 actual = nl_langinfo_l(param, loc); in test_locale()
/glibc-2.36/sysdeps/mach/hurd/
Dsched_sets.c26 __sched_setscheduler (pid_t pid, int policy, const struct sched_param *param) in __sched_setscheduler() argument
31 if (param->sched_priority != 0) in __sched_setscheduler()
/glibc-2.36/posix/
Dtst-sched_rr_get_interval.c27 const struct sched_param param = { in do_test() local
30 int result = sched_setscheduler (0, SCHED_RR, &param); in do_test()

1234