/openbmc/linux/fs/nls/ |
H A D | nls_base.c | 235 int __register_nls(struct nls_table *nls, struct module *owner) in __register_nls() argument 239 if (nls->next) in __register_nls() 242 nls->owner = owner; in __register_nls() 245 if (nls == *tmp) { in __register_nls() 251 nls->next = tables; in __register_nls() 252 tables = nls; in __register_nls() 258 int unregister_nls(struct nls_table * nls) in unregister_nls() argument 264 if (nls == *tmp) { in unregister_nls() 265 *tmp = nls->next; in unregister_nls() 277 struct nls_table *nls; in find_nls() local [all …]
|
/openbmc/u-boot/cmd/ |
H A D | echo.c | 17 char *nls; /* new-line suppression */ in do_echo() local 22 nls = strstr(p, "\\c"); in do_echo() 23 if (nls) { in do_echo() 31 while (nls) { in do_echo() 32 *nls = '\0'; in do_echo() 34 *nls = '\\'; in do_echo() 35 prenls = nls + 2; in do_echo() 36 nls = strstr(prenls, "\\c"); in do_echo()
|
/openbmc/qemu/target/ppc/ |
H A D | mmu-radix64.c | 293 static bool ppc_radix64_is_valid_level(int level, int psize, uint64_t nls) in ppc_radix64_is_valid_level() argument 308 ret = psize == 52 && nls == 13; in ppc_radix64_is_valid_level() 312 ret = nls == 9; in ppc_radix64_is_valid_level() 315 ret = nls == 9 || nls == 5; in ppc_radix64_is_valid_level() 324 level, psize, nls); in ppc_radix64_is_valid_level() 330 uint64_t *pte_addr, uint64_t *nls, in ppc_radix64_next_level() argument 343 *psize -= *nls; in ppc_radix64_next_level() 345 *nls = pde & R_PDE_NLS; in ppc_radix64_next_level() 346 index = eaddr >> (*psize - *nls); /* Shift */ in ppc_radix64_next_level() 347 index &= ((1UL << *nls) - 1); /* Mask */ in ppc_radix64_next_level() [all …]
|
/openbmc/linux/fs/hfsplus/ |
H A D | options.c | 173 if (sbi->nls) { in hfsplus_parse_options() 179 sbi->nls = load_nls(p); in hfsplus_parse_options() 180 if (!sbi->nls) { in hfsplus_parse_options() 209 if (!sbi->nls) { in hfsplus_parse_options() 211 sbi->nls = load_nls("utf8"); in hfsplus_parse_options() 212 if (!sbi->nls) in hfsplus_parse_options() 213 sbi->nls = load_nls_default(); in hfsplus_parse_options() 214 if (!sbi->nls) in hfsplus_parse_options() 236 if (sbi->nls) in hfsplus_show_options() 237 seq_printf(seq, ",nls=%s", sbi->nls->charset); in hfsplus_show_options()
|
H A D | super.c | 305 unload_nls(sbi->nls); in hfsplus_put_super() 382 struct nls_table *nls = NULL; in hfsplus_fill_super() local 405 nls = sbi->nls; in hfsplus_fill_super() 406 sbi->nls = load_nls("utf8"); in hfsplus_fill_super() 407 if (!sbi->nls) { in hfsplus_fill_super() 588 unload_nls(sbi->nls); in hfsplus_fill_super() 589 sbi->nls = nls; in hfsplus_fill_super() 610 unload_nls(sbi->nls); in hfsplus_fill_super() 611 unload_nls(nls); in hfsplus_fill_super()
|
/openbmc/linux/fs/isofs/ |
H A D | joliet.c | 18 uni16_to_x8(unsigned char *ascii, __be16 *uni, int len, struct nls_table *nls) in uni16_to_x8() argument 28 llen = nls->uni2char(be16_to_cpu(ch), op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8() 44 struct nls_table *nls; in get_joliet_filename() local 47 nls = ISOFS_SB(inode->i_sb)->s_nls_iocharset; in get_joliet_filename() 49 if (!nls) { in get_joliet_filename() 55 de->name_len[0] >> 1, nls); in get_joliet_filename()
|
/openbmc/linux/samples/connector/ |
H A D | cn_test.c | 22 static struct sock *nls; variable 106 netlink_unicast(nls, skb, 0, 0); 167 if (nls && nls->sk_socket) in cn_test_init() 168 sock_release(nls->sk_socket); in cn_test_init() 179 if (nls && nls->sk_socket) in cn_test_fini() 180 sock_release(nls->sk_socket); in cn_test_fini()
|
/openbmc/linux/drivers/connector/ |
H A D | connector.c | 93 if (!portid && !netlink_has_listeners(dev->nls, group)) in cn_netlink_send_mult() 115 return netlink_broadcast_filtered(dev->nls, skb, portid, group, in cn_netlink_send_mult() 118 return netlink_unicast(dev->nls, skb, portid, in cn_netlink_send_mult() 286 dev->nls = netlink_kernel_create(&init_net, NETLINK_CONNECTOR, &cfg); in cn_init() 287 if (!dev->nls) in cn_init() 290 dev->cbdev = cn_queue_alloc_dev("cqueue", dev->nls); in cn_init() 292 netlink_kernel_release(dev->nls); in cn_init() 312 netlink_kernel_release(dev->nls); in cn_fini()
|
H A D | cn_queue.c | 112 struct cn_queue_dev *cn_queue_alloc_dev(const char *name, struct sock *nls) in cn_queue_alloc_dev() argument 125 dev->nls = nls; in cn_queue_alloc_dev()
|
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-lib/libx11/ |
H A D | disable_tests.patch | 9 diff -Nurd libX11-1.5.0/nls/Makefile.am libX11-1.5.0/nls/Makefile.am 10 --- libX11-1.5.0/nls/Makefile.am 2012-06-02 09:37:18.000000000 +0300 11 +++ libX11-1.5.0/nls/Makefile.am 2013-01-02 16:10:24.960156131 +0200
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/neon/ |
H A D | neon_0.33.0.bb | 19 PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib nls" 20 PACKAGECONFIG:class-native = "expat gnutls webdav zlib nls" 21 PACKAGECONFIG:remove:libc-musl = "nls" 28 PACKAGECONFIG[nls] = ",--disable-nls,gettext-native" 43 if ${@bb.utils.contains('PACKAGECONFIG', 'nls', 'true', 'false', d)}; then
|
/openbmc/openbmc/meta-security/recipes-security/cryptmount/ |
H A D | cryptmount_6.2.0.bb | 13 PACKAGECONFIG ?="intl luks gcrypt nls" 20 PACKAGECONFIG[nls] = "--enable-nls, --disable-nls, "
|
/openbmc/linux/fs/befs/ |
H A D | linuxvfs.c | 186 if (BEFS_SB(sb)->nls) { in befs_lookup() 248 if (BEFS_SB(sb)->nls) { in befs_readdir() 508 struct nls_table *nls = BEFS_SB(sb)->nls; in befs_utf2nls() local 521 if (!nls) { in befs_utf2nls() 540 unilen = nls->uni2char(uni, &result[o], in_len - o); in befs_utf2nls() 553 "cannot be converted to unicode.", nls->charset); in befs_utf2nls() 585 struct nls_table *nls = BEFS_SB(sb)->nls; in befs_nls2utf() local 599 if (!nls) { in befs_nls2utf() 614 unilen = nls->char2uni(&in[i], in_len - i, &uni); in befs_nls2utf() 633 "cannot be converted to unicode.", nls->charset); in befs_nls2utf() [all …]
|
/openbmc/linux/fs/exfat/ |
H A D | nls.c | 405 static int exfat_convert_char_to_ucs2(struct nls_table *nls, in exfat_convert_char_to_ucs2() argument 418 len = nls->char2uni(ch, ch_len, ucs2); in exfat_convert_char_to_ucs2() 429 static int exfat_convert_ucs2_to_char(struct nls_table *nls, in exfat_convert_ucs2_to_char() argument 441 len = nls->uni2char(ucs2, ch, MAX_CHARSET_SIZE); in exfat_convert_ucs2_to_char() 547 struct nls_table *nls = EXFAT_SB(sb)->nls_io; in __exfat_utf16_to_nls() local 554 len = exfat_convert_ucs2_to_char(nls, *uniname, buf, in __exfat_utf16_to_nls() 602 struct nls_table *nls = EXFAT_SB(sb)->nls_io; in exfat_nls_to_ucs2() local 607 i += exfat_convert_char_to_ucs2(nls, p_cstring + i, len - i, in exfat_nls_to_ucs2()
|
/openbmc/linux/fs/ntfs/ |
H A D | unistr.c | 248 struct nls_table *nls = vol->nls_map; in ntfs_nlstoucs() local 258 wc_len = nls->char2uni(ins + i, ins_len - i, in ntfs_nlstoucs() 286 "Unicode.", nls->charset); in ntfs_nlstoucs() 325 struct nls_table *nls = vol->nls_map; in ntfs_ucstonls() local 344 retry: wc = nls->uni2char(le16_to_cpu(ins[i]), ns + o, in ntfs_ucstonls() 375 "try to use the mount option nls=utf8.", nls->charset); in ntfs_ucstonls()
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | gettext.bbclass | 16 return '--disable-nls' 19 return '--disable-nls' 20 return "--enable-nls"
|
/openbmc/linux/fs/ntfs3/ |
H A D | dir.c | 23 struct nls_table *nls = sbi->options->nls; in ntfs_utf16_to_nls() local 27 if (!nls) { in ntfs_utf16_to_nls() 50 charlen = nls->uni2char(ec, op, buf_len); in ntfs_utf16_to_nls() 69 nls->charset); in ntfs_utf16_to_nls() 183 struct nls_table *nls = sbi->options->nls; in ntfs_nls_to_utf16() local 188 if (!nls) { in ntfs_nls_to_utf16() 199 slen = nls->char2uni(name, end - name, uname + ret); in ntfs_nls_to_utf16()
|
H A D | super.c | 236 unload_nls(options->nls); in put_mount_options() 290 static struct nls_table *ntfs_load_nls(char *nls) in ntfs_load_nls() argument 294 if (!nls) in ntfs_load_nls() 295 nls = CONFIG_NLS_DEFAULT; in ntfs_load_nls() 297 if (strcmp(nls, "utf8") == 0) in ntfs_load_nls() 300 if (strcmp(nls, CONFIG_NLS_DEFAULT) == 0) in ntfs_load_nls() 303 ret = load_nls(nls); in ntfs_load_nls() 419 new_opts->nls = ntfs_load_nls(new_opts->nls_name); in ntfs_fs_reconfigure() 420 if (IS_ERR(new_opts->nls)) { in ntfs_fs_reconfigure() 421 new_opts->nls = NULL; in ntfs_fs_reconfigure() [all …]
|
/openbmc/linux/fs/vboxsf/ |
H A D | super.c | 147 sbi->nls = load_nls_default(); in vboxsf_fill_super() 149 sbi->nls = load_nls(nls_name); in vboxsf_fill_super() 151 if (!sbi->nls) { in vboxsf_fill_super() 225 if (sbi->nls) in vboxsf_fill_super() 226 unload_nls(sbi->nls); in vboxsf_fill_super() 273 if (sbi->nls) in vboxsf_put_super() 274 unload_nls(sbi->nls); in vboxsf_put_super()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | netlink.c | 315 struct sock *nls; in rdma_nl_net_init() local 317 nls = netlink_kernel_create(net, NETLINK_RDMA, &cfg); in rdma_nl_net_init() 318 if (!nls) in rdma_nl_net_init() 321 nls->sk_sndtimeo = 10 * HZ; in rdma_nl_net_init() 322 rnet->nl_sock = nls; in rdma_nl_net_init()
|
/openbmc/openbmc/poky/meta/recipes-support/libexif/ |
H A D | libexif_0.6.24.bb | 34 install -d ${D}${PTEST_PATH}/nls 35 install ${B}/test/nls/*[!\.o] ${D}${PTEST_PATH}/nls
|
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-lib/ |
H A D | libx11-compose-data_1.8.4.bb | 22 oe_runmake -C nls 26 oe_runmake DESTDIR=${D} -C nls install
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-gnome/gcab/ |
H A D | gcab_1.6.bb | 18 ${@bb.utils.contains('USE_NLS', 'yes', 'nls', '', d)} \ 22 PACKAGECONFIG[nls] = "-Dnls=true,-Dnls=false"
|
/openbmc/linux/include/linux/ |
H A D | connector.h | 29 struct sock *nls; member 52 struct sock *nls; member
|
H A D | nls.h | 53 #define register_nls(nls) __register_nls((nls), THIS_MODULE) argument
|