Home
last modified time | relevance | path

Searched refs:um (Results 1 – 25 of 111) sorted by relevance

12345

/linux-6.1.9/fs/unicode/
Dutf8-core.c12 int utf8_validate(const struct unicode_map *um, const struct qstr *str) in utf8_validate() argument
14 if (utf8nlen(um, UTF8_NFDI, str->name, str->len) < 0) in utf8_validate()
20 int utf8_strncmp(const struct unicode_map *um, in utf8_strncmp() argument
26 if (utf8ncursor(&cur1, um, UTF8_NFDI, s1->name, s1->len) < 0) in utf8_strncmp()
29 if (utf8ncursor(&cur2, um, UTF8_NFDI, s2->name, s2->len) < 0) in utf8_strncmp()
46 int utf8_strncasecmp(const struct unicode_map *um, in utf8_strncasecmp() argument
52 if (utf8ncursor(&cur1, um, UTF8_NFDICF, s1->name, s1->len) < 0) in utf8_strncasecmp()
55 if (utf8ncursor(&cur2, um, UTF8_NFDICF, s2->name, s2->len) < 0) in utf8_strncasecmp()
75 int utf8_strncasecmp_folded(const struct unicode_map *um, in utf8_strncasecmp_folded() argument
83 if (utf8ncursor(&cur1, um, UTF8_NFDICF, s1->name, s1->len) < 0) in utf8_strncasecmp_folded()
[all …]
Dutf8-selftest.c161 static ssize_t utf8len(const struct unicode_map *um, enum utf8_normalization n, in utf8len() argument
164 return utf8nlen(um, n, s, (size_t)-1); in utf8len()
167 static int utf8cursor(struct utf8cursor *u8c, const struct unicode_map *um, in utf8cursor() argument
170 return utf8ncursor(u8c, um, n, s, (unsigned int)-1); in utf8cursor()
173 static void check_utf8_nfdi(struct unicode_map *um) in check_utf8_nfdi() argument
184 test((utf8len(um, UTF8_NFDI, nfdi_test_data[i].str) == nlen)); in check_utf8_nfdi()
185 test((utf8nlen(um, UTF8_NFDI, nfdi_test_data[i].str, len) == in check_utf8_nfdi()
188 if (utf8cursor(&u8c, um, UTF8_NFDI, nfdi_test_data[i].str) < 0) in check_utf8_nfdi()
202 static void check_utf8_nfdicf(struct unicode_map *um) in check_utf8_nfdicf() argument
213 test((utf8len(um, UTF8_NFDICF, nfdicf_test_data[i].str) == in check_utf8_nfdicf()
[all …]
Dutf8-norm.c9 int utf8version_is_supported(const struct unicode_map *um, unsigned int version) in utf8version_is_supported() argument
11 int i = um->tables->utf8agetab_size - 1; in utf8version_is_supported()
13 while (i >= 0 && um->tables->utf8agetab[i] != 0) { in utf8version_is_supported()
14 if (version == um->tables->utf8agetab[i]) in utf8version_is_supported()
302 static utf8leaf_t *utf8nlookup(const struct unicode_map *um, in utf8nlookup() argument
306 utf8trie_t *trie = um->tables->utf8data + um->ntab[n]->offset; in utf8nlookup()
376 static utf8leaf_t *utf8lookup(const struct unicode_map *um, in utf8lookup() argument
379 return utf8nlookup(um, n, hangul, s, (size_t)-1); in utf8lookup()
386 ssize_t utf8nlen(const struct unicode_map *um, enum utf8_normalization n, in utf8nlen() argument
394 leaf = utf8nlookup(um, n, hangul, s, len); in utf8nlen()
[all …]
Dutf8n.h16 int utf8version_is_supported(const struct unicode_map *um, unsigned int version);
24 ssize_t utf8nlen(const struct unicode_map *um, enum utf8_normalization n,
34 const struct unicode_map *um; member
52 int utf8ncursor(struct utf8cursor *u8c, const struct unicode_map *um,
Dmkutf8data.c1558 unsigned int *um; in utf8_create() local
1567 um = data->utf32nfdi; in utf8_create()
1568 if (um) { in utf8_create()
1569 for (i = 0; um[i]; i++) in utf8_create()
1570 u += utf8encode(u, um[i]); in utf8_create()
1575 um = data->utf32nfdicf; in utf8_create()
1576 if (um) { in utf8_create()
1577 for (i = 0; um[i]; i++) in utf8_create()
1578 u += utf8encode(u, um[i]); in utf8_create()
2123 unsigned int *um; in nfdi_init() local
[all …]
/linux-6.1.9/include/linux/
Dunicode.h56 int utf8_validate(const struct unicode_map *um, const struct qstr *str);
58 int utf8_strncmp(const struct unicode_map *um,
61 int utf8_strncasecmp(const struct unicode_map *um,
63 int utf8_strncasecmp_folded(const struct unicode_map *um,
67 int utf8_normalize(const struct unicode_map *um, const struct qstr *str,
70 int utf8_casefold(const struct unicode_map *um, const struct qstr *str,
73 int utf8_casefold_hash(const struct unicode_map *um, const void *salt,
77 void utf8_unload(struct unicode_map *um);
/linux-6.1.9/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.c350 struct pcan_usb_pro_msg um; in pcan_usb_pro_set_ts() local
352 pcan_msg_init_empty(&um, dev->cmd_buf, PCAN_USB_MAX_CMD_LEN); in pcan_usb_pro_set_ts()
353 pcan_msg_add_rec(&um, PCAN_USBPRO_SETTS, onoff); in pcan_usb_pro_set_ts()
355 return pcan_usb_pro_send_cmd(dev, &um); in pcan_usb_pro_set_ts()
362 struct pcan_usb_pro_msg um; in pcan_usb_pro_set_bitrate() local
364 pcan_msg_init_empty(&um, dev->cmd_buf, PCAN_USB_MAX_CMD_LEN); in pcan_usb_pro_set_bitrate()
365 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBTR, dev->ctrl_idx, ccbt); in pcan_usb_pro_set_bitrate()
370 return pcan_usb_pro_send_cmd(dev, &um); in pcan_usb_pro_set_bitrate()
375 struct pcan_usb_pro_msg um; in pcan_usb_pro_set_bus() local
385 pcan_msg_init_empty(&um, dev->cmd_buf, PCAN_USB_MAX_CMD_LEN); in pcan_usb_pro_set_bus()
[all …]
/linux-6.1.9/arch/um/
DMakefile20 ARCH_DIR := arch/um
45 include $(srctree)/$(HOST_DIR)/Makefile.um
47 core-y += $(HOST_DIR)/um/
51 ARCH_INCLUDE += -I$(srctree)/$(HOST_DIR)/um/shared
52 KBUILD_CPPFLAGS += -I$(srctree)/$(HOST_DIR)/um
118 $(Q)$(MAKE) $(build)=$(HOST_DIR)/um include/generated/user_constants.h
/linux-6.1.9/fs/ksmbd/
Dmisc.c230 char *ksmbd_casefold_sharename(struct unicode_map *um, const char *name) in ksmbd_casefold_sharename() argument
239 if (IS_ENABLED(CONFIG_UNICODE) && um) { in ksmbd_casefold_sharename()
242 cf_len = utf8_casefold(um, &q_name, cf_name, in ksmbd_casefold_sharename()
268 char *ksmbd_extract_sharename(struct unicode_map *um, const char *treename) in ksmbd_extract_sharename() argument
276 return ksmbd_casefold_sharename(um, name); in ksmbd_extract_sharename()
Dmisc.h23 char *ksmbd_casefold_sharename(struct unicode_map *um, const char *name);
24 char *ksmbd_extract_sharename(struct unicode_map *um, const char *treename);
Dconnection.c64 conn->um = utf8_load(UNICODE_AGE(12, 1, 0)); in ksmbd_conn_alloc()
66 conn->um = ERR_PTR(-EOPNOTSUPP); in ksmbd_conn_alloc()
67 if (IS_ERR(conn->um)) in ksmbd_conn_alloc()
68 conn->um = NULL; in ksmbd_conn_alloc()
376 utf8_unload(conn->um); in ksmbd_conn_handler_loop()
/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-ctrl.c296 long sm,um; in gen_bitmask_string() local
303 um = 0; in gen_bitmask_string()
317 um |= sm; in gen_bitmask_string()
321 if (um) { in gen_bitmask_string()
325 um); in gen_bitmask_string()
328 } else if (um & val) { in gen_bitmask_string()
331 um & val); in gen_bitmask_string()
334 } else if (um & ~val) { in gen_bitmask_string()
337 um & ~val); in gen_bitmask_string()
/linux-6.1.9/fs/ksmbd/mgmt/
Dshare_config.c123 static struct ksmbd_share_config *share_config_request(struct unicode_map *um, in share_config_request() argument
142 cf_resp_name = ksmbd_casefold_sharename(um, resp->share_name); in share_config_request()
208 struct ksmbd_share_config *ksmbd_share_config_get(struct unicode_map *um, in ksmbd_share_config_get() argument
221 return share_config_request(um, name); in ksmbd_share_config_get()
Dtree_connect.c29 sc = ksmbd_share_config_get(conn->um, share_name); in ksmbd_tree_conn_connect()
64 new_sc = ksmbd_share_config_get(conn->um, share_name); in ksmbd_tree_conn_connect()
/linux-6.1.9/net/xfrm/
Dxfrm_user.c2671 struct xfrm_user_migrate *um; in copy_from_user_migrate() local
2684 um = nla_data(rt); in copy_from_user_migrate()
2685 num_migrate = nla_len(rt) / sizeof(*um); in copy_from_user_migrate()
2690 for (i = 0; i < num_migrate; i++, um++, ma++) { in copy_from_user_migrate()
2691 memcpy(&ma->old_daddr, &um->old_daddr, sizeof(ma->old_daddr)); in copy_from_user_migrate()
2692 memcpy(&ma->old_saddr, &um->old_saddr, sizeof(ma->old_saddr)); in copy_from_user_migrate()
2693 memcpy(&ma->new_daddr, &um->new_daddr, sizeof(ma->new_daddr)); in copy_from_user_migrate()
2694 memcpy(&ma->new_saddr, &um->new_saddr, sizeof(ma->new_saddr)); in copy_from_user_migrate()
2696 ma->proto = um->proto; in copy_from_user_migrate()
2697 ma->mode = um->mode; in copy_from_user_migrate()
[all …]
/linux-6.1.9/drivers/dma/
Ddmatest.c686 struct dmaengine_unmap_data *um; in dmatest_func() local
735 um = dmaengine_get_unmap_data(dma_dev, src->cnt + dst->cnt, in dmatest_func()
737 if (!um) { in dmatest_func()
744 um->len = buf_size; in dmatest_func()
750 um->addr[i] = dma_map_page(dma_dev, pg, pg_off, in dmatest_func()
751 um->len, DMA_TO_DEVICE); in dmatest_func()
752 srcs[i] = um->addr[i] + src->off; in dmatest_func()
753 ret = dma_mapping_error(dma_dev, um->addr[i]); in dmatest_func()
759 um->to_cnt++; in dmatest_func()
762 dsts = &um->addr[src->cnt]; in dmatest_func()
[all …]
/linux-6.1.9/drivers/clk/
Dclk-cdce925.c113 unsigned long um; in cdce925_pll_find_rate() local
129 um = parent_rate / g; in cdce925_pll_find_rate()
132 while ((un > 4095) || (um > 511)) { in cdce925_pll_find_rate()
134 um >>= 1; in cdce925_pll_find_rate()
138 if (um == 0) in cdce925_pll_find_rate()
139 um = 1; in cdce925_pll_find_rate()
142 *m = um; in cdce925_pll_find_rate()
/linux-6.1.9/arch/um/os-Linux/skas/
DMakefile10 include arch/um/scripts/Makefile.rules
/linux-6.1.9/fs/hostfs/
DMakefile11 include arch/um/scripts/Makefile.rules
/linux-6.1.9/include/asm-generic/
DKbuild3 # asm headers that all architectures except um should have
4 # (This file is not included when SRCARCH=um since UML borrows several
/linux-6.1.9/arch/x86/um/os-Linux/
DMakefile13 include arch/um/scripts/Makefile.rules
/linux-6.1.9/arch/um/kernel/skas/
DMakefile17 include arch/um/scripts/Makefile.rules
/linux-6.1.9/arch/um/os-Linux/drivers/
DMakefile13 include arch/um/scripts/Makefile.rules
/linux-6.1.9/tools/testing/selftests/wireguard/qemu/
DMakefile251 else ifeq ($(ARCH),um)
254 KERNEL_ARCH := um
255 KERNEL_CMDLINE := $(shell sed -n 's/CONFIG_CMDLINE=\(.*\)/\1/p' arch/um.config)
257 …mips, mipsel, mips64, mips64el, powerpc64, powerpc64le, powerpc, m68k, riscv64, riscv32, s390x, um)
270 ifneq ($(ARCH),um)
289 ifneq ($(ARCH),um)
346 ifneq ($(ARCH),um)
/linux-6.1.9/Documentation/features/sched/numa-balancing/
Darch-support.txt28 | um: | .. |

12345