Home
last modified time | relevance | path

Searched refs:nls (Results 1 – 19 of 19) sorted by relevance

/linux/fs/nls/
H A Dnls_base.c246 int __register_nls(struct nls_table *nls, struct module *owner) in __register_nls() argument
250 if (nls->next) in __register_nls()
253 nls->owner = owner; in __register_nls()
256 if (nls == *tmp) { in __register_nls()
262 nls->next = tables; in __register_nls()
263 tables = nls; in __register_nls()
269 int unregister_nls(struct nls_table * nls) in unregister_nls() argument
275 if (nls == *tmp) { in unregister_nls()
276 *tmp = nls->next; in unregister_nls()
288 struct nls_table *nls; in find_nls() local
[all …]
/linux/fs/isofs/
H A Djoliet.c18 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()
/linux/samples/connector/
H A Dcn_test.c22 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()
/linux/drivers/connector/
H A Dconnector.c92 if (!portid && !netlink_has_listeners(dev->nls, group)) in cn_netlink_send_mult()
114 return netlink_broadcast_filtered(dev->nls, skb, portid, group, in cn_netlink_send_mult()
117 return netlink_unicast(dev->nls, skb, portid, in cn_netlink_send_mult()
285 dev->nls = netlink_kernel_create(&init_net, NETLINK_CONNECTOR, &cfg); in cn_init()
286 if (!dev->nls) in cn_init()
289 dev->cbdev = cn_queue_alloc_dev("cqueue", dev->nls); in cn_init()
291 netlink_kernel_release(dev->nls); in cn_init()
311 netlink_kernel_release(dev->nls); in cn_fini()
H A Dcn_queue.c112 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()
/linux/fs/hfsplus/
H A Doptions.c114 if (sbi->nls) { in hfsplus_parse_param()
118 sbi->nls = load_nls(param->string); in hfsplus_parse_param()
119 if (!sbi->nls) { in hfsplus_parse_param()
162 if (sbi->nls) in hfsplus_show_options()
163 seq_printf(seq, ",nls=%s", sbi->nls->charset); in hfsplus_show_options()
/linux/drivers/infiniband/core/
H A Dnetlink.c316 struct sock *nls; in rdma_nl_net_init() local
318 nls = netlink_kernel_create(net, NETLINK_RDMA, &cfg); in rdma_nl_net_init()
319 if (!nls) in rdma_nl_net_init()
322 nls->sk_sndtimeo = 10 * HZ; in rdma_nl_net_init()
323 rnet->nl_sock = nls; in rdma_nl_net_init()
/linux/fs/ntfs3/
H A Ddir.c24 struct nls_table *nls = sbi->options->nls; in ntfs_utf16_to_nls() local
33 if (!nls) { in ntfs_utf16_to_nls()
56 charlen = nls->uni2char(ec, op, buf_len); in ntfs_utf16_to_nls()
75 nls->charset); in ntfs_utf16_to_nls()
189 struct nls_table *nls = sbi->options->nls; in ntfs_nls_to_utf16() local
194 if (!nls) { in ntfs_nls_to_utf16()
203 slen = nls->char2uni(name, end - name, uname + ret); in ntfs_nls_to_utf16()
H A Dsuper.c250 unload_nls(options->nls); in put_mount_options()
314 static struct nls_table *ntfs_load_nls(const char *nls) in ntfs_load_nls() argument
318 if (!nls) in ntfs_load_nls()
319 nls = CONFIG_NLS_DEFAULT; in ntfs_load_nls()
321 if (strcmp(nls, "utf8") == 0) in ntfs_load_nls()
324 if (strcmp(nls, CONFIG_NLS_DEFAULT) == 0) in ntfs_load_nls()
327 ret = load_nls(nls); in ntfs_load_nls()
456 new_opts->nls = ntfs_load_nls(new_opts->nls_name); in ntfs_fs_reconfigure()
457 if (IS_ERR(new_opts->nls)) { in ntfs_fs_reconfigure()
458 new_opts->nls = NULL; in ntfs_fs_reconfigure()
[all …]
H A Dntfs_fs.h93 struct nls_table *nls; member
/linux/include/linux/
H A Dconnector.h29 struct sock *nls; member
52 struct sock *nls; member
H A Dnls.h53 #define register_nls(nls) __register_nls((nls), THIS_MODULE) argument
/linux/fs/fat/
H A Ddir.c169 const wchar_t *uni, int len, struct nls_table *nls) in uni16_to_x8() argument
182 charlen = nls->uni2char(ec, op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8()
261 fat_shortname2uni(struct nls_table *nls, unsigned char *buf, int buf_size, in fat_shortname2uni() argument
267 len = fat_short2lower_uni(nls, buf, buf_size, uni_buf); in fat_shortname2uni()
269 len = fat_short2uni(nls, buf, buf_size, uni_buf); in fat_shortname2uni()
272 len = fat_short2lower_uni(nls, buf, buf_size, uni_buf); in fat_shortname2uni()
274 len = fat_short2uni(nls, buf, buf_size, uni_buf); in fat_shortname2uni()
276 len = fat_short2uni(nls, buf, buf_size, uni_buf); in fat_shortname2uni()
/linux/fs/befs/
H A Dbefs.h60 struct nls_table *nls; member
H A Dsuper.c52 befs_sb->nls = NULL; in befs_load_sb()
H A DChangeLog389 (fs/nls/Config.in)
/linux/Documentation/filesystems/
H A Dhfsplus.rst52 nls=cccc
/linux/drivers/scsi/
H A Dscsi_transport_iscsi.c1602 static struct sock *nls; variable
2534 return nlmsg_multicast(nls, skb, 0, group, gfp); in iscsi_multicast_skb()
2540 return nlmsg_unicast(nls, skb, portid); in iscsi_unicast_skb()
4983 nls = netlink_kernel_create(&init_net, NETLINK_ISCSI, &cfg); in iscsi_transport_init()
4984 if (!nls) { in iscsi_transport_init()
5000 netlink_kernel_release(nls); in iscsi_transport_init()
5021 netlink_kernel_release(nls); in iscsi_transport_exit()
/linux/fs/smb/client/
H A Dcifssmb.c1351 const struct nls_table *nls = cifs_sb->local_nls; in CIFS_open() local
1372 path, PATH_MAX, nls, remap); in CIFS_open()