Home
last modified time | relevance | path

Searched refs:typemask (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/sys/dev/sound/
H A Dclone.c87 int typemask; member
174 SND_CLONE_ASSERT(!(typemask & ~SND_CLONE_MAXUNIT), in snd_clone_create()
175 ("invalid typemask: 0x%08x", typemask)); in snd_clone_create()
179 typemask, maxunit)); in snd_clone_create()
186 c->typemask = typemask; in snd_clone_create()
272 c->typemask, maxunit)); in snd_clone_setmaxunit()
622 SND_CLONE_ASSERT((c->typemask & tmask) == tmask, in snd_clone_alloc()
624 c->typemask, tmask)); in snd_clone_alloc()
628 c->typemask, tmask, *unit)); in snd_clone_alloc()
650 if (tmask > (ce->unit & c->typemask)) { in snd_clone_alloc()
[all …]
/freebsd-12.1/contrib/telnet/libtelnet/
H A Dencrypt.c97 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0) macro
100 | typemask(ENCTYPE_DES_CFB64) | typemask(ENCTYPE_DES_OFB64)
103 | typemask(ENCTYPE_DES_CFB64) | typemask(ENCTYPE_DES_OFB64)
203 i_support_encrypt |= typemask(ep->type); in encrypt_init()
204 i_support_decrypt |= typemask(ep->type); in encrypt_init()
259 i_wont_support_decrypt |= typemask(ep->type); in EncryptDisable()
265 i_wont_support_encrypt |= typemask(ep->type); in EncryptDisable()
291 i_wont_support_decrypt &= ~typemask(ep->type); in EncryptType()
496 (I_SUPPORT_ENCRYPT & typemask(type))) { in encrypt_support()
497 remote_supports_decrypt |= typemask(type); in encrypt_support()
[all …]
H A Dauth.c76 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0) macro
209 i_support |= typemask(ap->type); in auth_init()
228 i_wont_support |= typemask(x); in auth_disable_name()
246 *maskp = typemask(x); in getauthmask()
277 if ((mask & (i = typemask(ap->type))) != 0) in auth_onoff()
320 if ((mask & (i = typemask(ap->type))) != 0) in auth_status()
324 (i_wont_support & typemask(ap->type)) ? in auth_status()
346 if (i_support & ~i_wont_support & typemask(ap->type)) { in auth_request()
415 if ((i_support & ~i_wont_support) & typemask(*auth_send_data)) { in auth_send()
/freebsd-12.1/crypto/heimdal/appl/telnet/libtelnet/
H A Dencrypt.c94 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0) macro
97 | typemask(ENCTYPE_DES_OFB64);
99 | typemask(ENCTYPE_DES_OFB64);
200 i_support_encrypt |= typemask(ep->type); in encrypt_init()
201 i_support_decrypt |= typemask(ep->type); in encrypt_init()
256 i_wont_support_decrypt |= typemask(ep->type); in EncryptDisable()
262 i_wont_support_encrypt |= typemask(ep->type); in EncryptDisable()
288 i_wont_support_decrypt &= ~typemask(ep->type); in EncryptType()
527 (I_SUPPORT_ENCRYPT & typemask(type))) { in encrypt_support()
528 remote_supports_decrypt |= typemask(type); in encrypt_support()
[all …]
H A Dauth.c82 #define typemask(x) (1<<((x)-1)) macro
200 i_support |= typemask(ap->type); in auth_init()
219 i_wont_support |= typemask(x); in auth_disable_name()
237 *maskp = typemask(x); in getauthmask()
268 if ((mask & (i = typemask(ap->type))) != 0) in auth_onoff()
311 if ((mask & (i = typemask(ap->type))) != 0) in auth_status()
315 (i_wont_support & typemask(ap->type)) ? in auth_status()
337 if (i_support & ~i_wont_support & typemask(ap->type)) { in auth_request()
406 if ((i_support & ~i_wont_support) & typemask(*auth_send_data)) { in auth_send()
/freebsd-12.1/sys/sys/
H A Dvmem.h128 vmem_size_t vmem_size(vmem_t *vm, int typemask);
/freebsd-12.1/sys/kern/
H A Dsubr_vmem.c1501 vmem_size(vmem_t *vm, int typemask) in vmem_size() argument
1505 switch (typemask) { in vmem_size()