Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dauth.c88 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0) macro
168 i_support |= typemask(ap->type); in auth_init()
188 i_wont_support |= typemask(x); in auth_disable_name()
219 *maskp = typemask(x); in getauthmask()
263 if ((mask & (i = typemask(ap->type))) != 0) in auth_onoff()
321 if ((mask & (i = typemask(ap->type))) != 0) in auth_status()
325 (i_wont_support & typemask(ap->type)) ? in auth_status()
373 if (!(i_support & typemask(*auth_send_data))) in auth_send_retry()
375 if (i_wont_support & typemask(*auth_send_data)) in auth_send_retry()
H A Dencrypt.c104 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0) macro
108 static int i_support_encrypt = typemask(TELOPT_ENCTYPE_DES_CFB64);
109 static int i_support_decrypt = typemask(TELOPT_ENCTYPE_DES_CFB64);
143 if (!(I_SUPPORT_ENCRYPT & remote_supports_decrypt & typemask(type))) in findencryption()
154 if (!(I_SUPPORT_DECRYPT & remote_supports_encrypt & typemask(type))) in finddecryption()
199 i_support_encrypt |= typemask(ep->type); in encrypt_init()
200 i_support_decrypt |= typemask(ep->type); in encrypt_init()
201 if ((i_wont_support_decrypt & typemask(ep->type)) == 0) in encrypt_init()
260 i_wont_support_decrypt |= typemask(ep->type); in EncryptDisable()
266 i_wont_support_encrypt |= typemask(ep->type); in EncryptDisable()
[all …]
/titanic_50/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_dataset.c649 zfs_type_t typemask = in zjni_create_add_Dataset() local
650 ((zjni_DatasetArrayCallbackData_t *)data)->typemask; in zjni_create_add_Dataset()
653 if (zfs_get_type(zhp) & typemask) { in zjni_create_add_Dataset()
700 data.typemask = child_typemask; in zjni_get_Datasets_below()
750 data.typemask = ZFS_TYPE_DATASET; in zjni_get_Datasets_dependents()
806 zjni_get_Dataset(JNIEnv *env, jstring nameUTF, zfs_type_t typemask) in zjni_get_Dataset() argument
810 zfs_handle_t *zhp = zfs_open(g_zfs, name, typemask); in zjni_get_Dataset()
812 if ((typemask & ZFS_TYPE_FILESYSTEM) && is_pool_name(name)) { in zjni_get_Dataset()
H A Dlibzfs_jni_dataset.h45 zfs_type_t typemask; member
/titanic_50/usr/src/uts/common/os/
H A Dvmem.c1381 vmem_walk(vmem_t *vmp, int typemask, in vmem_walk() argument
1388 if (typemask & VMEM_WALKER) in vmem_walk()
1397 if (vsp->vs_type & typemask) { in vmem_walk()
1400 if (typemask & VMEM_REENTRANT) { in vmem_walk()
1423 vmem_size(vmem_t *vmp, int typemask) in vmem_size() argument
1427 if (typemask & VMEM_ALLOC) in vmem_size()
1429 if (typemask & VMEM_FREE) in vmem_size()
/titanic_50/usr/src/lib/libumem/common/
H A Dvmem.c1366 vmem_walk(vmem_t *vmp, int typemask, in vmem_walk() argument
1373 if (typemask & VMEM_WALKER) in vmem_walk()
1382 if (vsp->vs_type & typemask) { in vmem_walk()
1385 if (typemask & VMEM_REENTRANT) { in vmem_walk()
1408 vmem_size(vmem_t *vmp, int typemask) in vmem_size() argument
1412 if (typemask & VMEM_ALLOC) in vmem_size()
1414 if (typemask & VMEM_FREE) in vmem_size()