Home
last modified time | relevance | path

Searched refs:ksched (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/kern/
H A Dksched.c55 struct ksched { struct
60 ksched_attach(struct ksched **p) in ksched_attach() argument
62 struct ksched *ksched; in ksched_attach() local
64 ksched = malloc(sizeof(*ksched), M_P31B, M_WAITOK); in ksched_attach()
65 ksched->rr_interval.tv_sec = 0; in ksched_attach()
66 ksched->rr_interval.tv_nsec = 1000000000L / hz * sched_rr_interval(); in ksched_attach()
67 *p = ksched; in ksched_attach()
72 ksched_detach(struct ksched *ks) in ksched_detach()
106 getscheduler(struct ksched *ksched, struct thread *td, int *policy) in getscheduler() argument
128 ksched_setparam(struct ksched *ksched, in ksched_setparam() argument
[all …]
H A Dp1003_1b.c96 static struct ksched *ksched; in SYSCALL_NOT_PRESENT_GEN()
101 int ret = ksched_attach(&ksched);
149 error = ksched_setparam(ksched, targettd,
193 error = ksched_getparam(ksched, targettd, param);
243 error = ksched_setscheduler(ksched, targettd, policy,
286 error = ksched_getscheduler(ksched, targettd, policy);
304 error = ksched_get_priority_max(ksched, uap->policy, &prio);
315 error = ksched_get_priority_min(ksched, uap->policy, &prio);
369 error = ksched_rr_get_interval(ksched, targettd, ts);
/freebsd/sys/sys/
H A Dposix4.h88 struct ksched;
90 int ksched_attach(struct ksched **);
91 int ksched_detach(struct ksched *);
93 int ksched_setparam(struct ksched *,
95 int ksched_getparam(struct ksched *,
98 int ksched_setscheduler(struct ksched *,
100 int ksched_getscheduler(struct ksched *, struct thread *, int *);
102 int ksched_yield(struct ksched *);
104 int ksched_get_priority_max(struct ksched *, int, int *);
105 int ksched_get_priority_min(struct ksched *, int, int *);
[all …]
/freebsd/crypto/openssl/include/crypto/
H A Devp.h360 #define BLOCK_CIPHER_func_ecb(cname, cprefix, kstruct, ksched) \ argument
364 …cprefix##_ecb_encrypt(in + i, out + i, &EVP_C_DATA(kstruct,ctx)->ksched, EVP_CIPHER_CTX_is_encrypt…
370 #define BLOCK_CIPHER_func_ofb(cname, cprefix, cbits, kstruct, ksched) \ argument
375 …b##cbits##_encrypt(in, out, (long)EVP_MAXCHUNK, &EVP_C_DATA(kstruct,ctx)->ksched, ctx->iv, &num); \
383 …cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &EVP_C_DATA(kstruct,ctx)->ksched, ctx->iv, &num…
389 #define BLOCK_CIPHER_func_cbc(cname, cprefix, kstruct, ksched) \ argument
394 …cprefix##_cbc_encrypt(in, out, (long)EVP_MAXCHUNK, &EVP_C_DATA(kstruct,ctx)->ksched, ctx->iv, EVP_…
400 …cprefix##_cbc_encrypt(in, out, (long)inl, &EVP_C_DATA(kstruct,ctx)->ksched, ctx->iv, EVP_CIPHER_CT…
404 #define BLOCK_CIPHER_func_cfb(cname, cprefix, cbits, kstruct, ksched) \ argument
417 &EVP_C_DATA(kstruct, ctx)->ksched, ctx->iv,\
[all …]
/freebsd/sys/conf/
H A Dfiles3767 kern/ksched.c optional _kposix_priority_scheduling