Searched refs:nls (Results 1 - 25 of 129) sorted by relevance

123456

/linux-master/fs/isofs/
H A Djoliet.c11 #include <linux/nls.h>
18 uni16_to_x8(unsigned char *ascii, __be16 *uni, int len, struct nls_table *nls) argument
28 llen = nls->uni2char(be16_to_cpu(ch), op, NLS_MAX_CHARSET_SIZE);
44 struct nls_table *nls; local
47 nls = ISOFS_SB(inode->i_sb)->s_nls_iocharset;
49 if (!nls) {
55 de->name_len[0] >> 1, nls);
/linux-master/fs/exfat/
H A DMakefile7 exfat-y := inode.o namei.o dir.o super.o fatent.o cache.o nls.o misc.o \
/linux-master/samples/connector/
H A Dcn_test.c22 static struct sock *nls; variable in typeref:struct:sock
105 //netlink_broadcast(nls, skb, 0, ctl->group, GFP_ATOMIC);
106 netlink_unicast(nls, skb, 0, 0);
167 if (nls && nls->sk_socket)
168 sock_release(nls->sk_socket);
179 if (nls && nls->sk_socket)
180 sock_release(nls->sk_socket);
/linux-master/fs/smb/server/
H A Dunicode.h26 #include <linux/nls.h>
28 #include "../../nls/nls_ucs2_utils.h"
/linux-master/fs/hfsplus/
H A Doptions.c16 #include <linux/nls.h>
39 { opt_nls, "nls=%s" },
173 if (sbi->nls) {
174 pr_err("unable to change nls mapping\n");
179 sbi->nls = load_nls(p);
180 if (!sbi->nls) {
181 pr_err("unable to load nls mapping \"%s\"\n",
209 if (!sbi->nls) {
211 sbi->nls = load_nls("utf8");
212 if (!sbi->nls)
[all...]
H A Dxattr_trusted.c10 #include <linux/nls.h>
H A Dxattr_user.c10 #include <linux/nls.h>
H A Dsuper.c19 #include <linux/nls.h>
284 unload_nls(sbi->nls);
388 struct nls_table *nls = NULL; local
411 nls = sbi->nls;
412 sbi->nls = load_nls("utf8");
413 if (!sbi->nls) {
414 pr_err("unable to load nls for utf8\n");
594 unload_nls(sbi->nls);
595 sbi->nls
[all...]
H A Dxattr_security.c11 #include <linux/nls.h>
H A Dunicode.c13 #include <linux/nls.h>
127 struct nls_table *nls = HFSPLUS_SB(sb)->nls; local
193 res = nls->uni2char(c0, op, len);
236 res = nls->uni2char(cc, op, len);
259 int size = HFSPLUS_SB(sb)->nls->char2uni(astr, len, uc);
/linux-master/include/linux/
H A Dconnector.h29 struct sock *nls; member in struct:cn_queue_dev
52 struct sock *nls; member in struct:cn_dev
H A Dnls.h53 #define register_nls(nls) __register_nls((nls), THIS_MODULE)
/linux-master/drivers/connector/
H A Dconnector.c92 if (!portid && !netlink_has_listeners(dev->nls, group))
114 return netlink_broadcast_filtered(dev->nls, skb, portid, group,
117 return netlink_unicast(dev->nls, skb, portid,
285 dev->nls = netlink_kernel_create(&init_net, NETLINK_CONNECTOR, &cfg);
286 if (!dev->nls)
289 dev->cbdev = cn_queue_alloc_dev("cqueue", dev->nls);
291 netlink_kernel_release(dev->nls);
311 netlink_kernel_release(dev->nls);
H A Dcn_queue.c112 struct cn_queue_dev *cn_queue_alloc_dev(const char *name, struct sock *nls) argument
125 dev->nls = nls;
/linux-master/fs/nls/
H A Dnls_base.c2 * linux/fs/nls/nls_base.c
13 #include <linux/nls.h>
235 int __register_nls(struct nls_table *nls, struct module *owner) argument
239 if (nls->next)
242 nls->owner = owner;
245 if (nls == *tmp) {
251 nls->next = tables;
252 tables = nls;
258 int unregister_nls(struct nls_table * nls) argument
264 if (nls
277 struct nls_table *nls; local
296 unload_nls(struct nls_table *nls) argument
[all...]
H A Dnls_koi8-ru.c2 * linux/fs/nls/nls_koi8-ru.c
11 #include <linux/nls.h>
H A Dnls_utf8.c9 #include <linux/nls.h>
/linux-master/fs/ntfs3/
H A Ddir.c11 #include <linux/nls.h>
23 struct nls_table *nls = sbi->options->nls; local
27 if (!nls) {
50 charlen = nls->uni2char(ec, op, buf_len);
69 nls->charset);
85 * put_utf16 - Modified version of put_utf16 from fs/nls/nls_base.c
183 struct nls_table *nls = sbi->options->nls; local
188 if (!nls) {
[all...]
/linux-master/drivers/infiniband/core/
H A Dnetlink.c315 struct sock *nls; local
317 nls = netlink_kernel_create(net, NETLINK_RDMA, &cfg);
318 if (!nls)
321 nls->sk_sndtimeo = 10 * HZ;
322 rnet->nl_sock = nls;
/linux-master/fs/befs/
H A Dlinuxvfs.c16 #include <linux/nls.h>
187 if (BEFS_SB(sb)->nls) {
249 if (BEFS_SB(sb)->nls) {
502 * Uses uni2char() / char2uni() rather than the nls tables directly
508 struct nls_table *nls = BEFS_SB(sb)->nls; local
513 /* The utf8->nls conversion won't make the final nls string bigger
521 if (!nls) {
537 /* convert from Unicode to nls */
585 struct nls_table *nls = BEFS_SB(sb)->nls; local
[all...]
/linux-master/fs/vboxsf/
H A Dsuper.c17 #include <linux/nls.h>
43 fsparam_string ("nls", opt_nls),
69 vbg_err("vboxsf: Cannot reconfigure nls option\n");
143 /* Load nls if not utf8 */
147 sbi->nls = load_nls_default();
149 sbi->nls = load_nls(nls_name);
151 if (!sbi->nls) {
152 vbg_err("vboxsf: Count not load '%s' nls\n", nls_name);
225 if (sbi->nls)
226 unload_nls(sbi->nls);
[all...]
/linux-master/drivers/usb/gadget/
H A Dusbstring.c12 #include <linux/nls.h>
/linux-master/fs/smb/client/
H A Dcifs_unicode.h23 #include <linux/nls.h>
24 #include "../../nls/nls_ucs2_utils.h"
H A Ddfs_cache.h11 #include <linux/nls.h>
/linux-master/drivers/platform/x86/hp/hp-bioscfg/
H A Dbioscfg.c16 #include <linux/nls.h>

Completed in 265 milliseconds

123456