Searched refs:ucs (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/include/linux/ |
D | consolemap.h | 23 extern int conv_uni_to_pc(struct vc_data *conp, long ucs); 30 #define conv_uni_to_pc(conp, ucs) ((int) (ucs > 0xff ? -1: ucs)) argument
|
/linux-5.19.10/fs/ksmbd/ |
D | unicode.h | 100 static inline wchar_t *UniStrchr(const wchar_t *ucs, wchar_t uc) in UniStrchr() argument 102 while ((*ucs != uc) && *ucs) in UniStrchr() 103 ucs++; in UniStrchr() 105 if (*ucs == uc) in UniStrchr() 106 return (wchar_t *)ucs; in UniStrchr()
|
/linux-5.19.10/fs/ntfs/ |
D | unistr.c | 249 ntfschar *ucs; in ntfs_nlstoucs() local 255 ucs = kmem_cache_alloc(ntfs_name_cache, GFP_NOFS); in ntfs_nlstoucs() 256 if (likely(ucs)) { in ntfs_nlstoucs() 263 ucs[o++] = cpu_to_le16(wc); in ntfs_nlstoucs() 271 ucs[o] = 0; in ntfs_nlstoucs() 272 *outs = ucs; in ntfs_nlstoucs() 282 kmem_cache_free(ntfs_name_cache, ucs); in ntfs_nlstoucs()
|
/linux-5.19.10/fs/cifs/ |
D | cifs_unicode.h | 136 UniStrchr(const wchar_t *ucs, wchar_t uc) in UniStrchr() argument 138 while ((*ucs != uc) && *ucs) in UniStrchr() 139 ucs++; in UniStrchr() 141 if (*ucs == uc) in UniStrchr() 142 return (wchar_t *) ucs; in UniStrchr()
|
/linux-5.19.10/drivers/tty/vt/ |
D | consolemap.c | 809 conv_uni_to_pc(struct vc_data *conp, long ucs) in conv_uni_to_pc() argument 816 if (ucs > 0xffff) in conv_uni_to_pc() 818 else if (ucs < 0x20) in conv_uni_to_pc() 820 else if (ucs == 0xfeff || (ucs >= 0x200b && ucs <= 0x200f)) in conv_uni_to_pc() 827 else if ((ucs & ~UNI_DIRECT_MASK) == UNI_DIRECT_BASE) in conv_uni_to_pc() 828 return ucs & UNI_DIRECT_MASK; in conv_uni_to_pc() 834 if ((p1 = p->uni_pgdir[ucs >> 11]) && in conv_uni_to_pc() 835 (p2 = p1[(ucs >> 6) & 0x1f]) && in conv_uni_to_pc() 836 (h = p2[ucs & 0x3f]) < MAX_GLYPH) in conv_uni_to_pc()
|
D | vt.c | 2581 uint32_t ucs = *(uint32_t *)key; in ucs_cmp() local 2584 if (ucs > e.last) in ucs_cmp() 2586 else if (ucs < e.first) in ucs_cmp() 2591 static int is_double_width(uint32_t ucs) in is_double_width() argument 2599 if (ucs < double_width[0].first || in is_double_width() 2600 ucs > double_width[ARRAY_SIZE(double_width) - 1].last) in is_double_width() 2603 return bsearch(&ucs, double_width, ARRAY_SIZE(double_width), in is_double_width()
|
/linux-5.19.10/drivers/s390/crypto/ |
D | pkey_api.c | 1169 struct pkey_clr2seck __user *ucs = (void __user *)arg; in pkey_unlocked_ioctl() local 1172 if (copy_from_user(&kcs, ucs, sizeof(kcs))) in pkey_unlocked_ioctl() 1179 if (copy_to_user(ucs, &kcs, sizeof(kcs))) in pkey_unlocked_ioctl() 1346 struct pkey_clr2seck2 __user *ucs = (void __user *)arg; in pkey_unlocked_ioctl() local 1352 if (copy_from_user(&kcs, ucs, sizeof(kcs))) in pkey_unlocked_ioctl() 1382 if (copy_to_user(ucs, &kcs, sizeof(kcs))) in pkey_unlocked_ioctl()
|