Home
last modified time | relevance | path

Searched refs:ns_len (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/security/apparmor/
Dprocattr.c39 int len = 0, mode_len = 0, ns_len = 0, name_len; in aa_getprocattr() local
50 ns_len = strlen(ns_name); in aa_getprocattr()
53 if (ns_len) in aa_getprocattr()
54 ns_len += 4; in aa_getprocattr()
61 len = mode_len + ns_len + name_len + 1; /* + 1 for \n */ in aa_getprocattr()
66 if (ns_len) { in aa_getprocattr()
69 s += ns_len; in aa_getprocattr()
/linux-4.4.14/fs/ntfs/
Dunistr.c341 int i, o, ns_len, wc; in ntfs_ucstonls() local
346 ns_len = outs_len; in ntfs_ucstonls()
347 if (ns && !ns_len) { in ntfs_ucstonls()
352 ns_len = ins_len * NLS_MAX_CHARSET_SIZE; in ntfs_ucstonls()
353 ns = kmalloc(ns_len + 1, GFP_NOFS); in ntfs_ucstonls()
359 ns_len - o); in ntfs_ucstonls()
368 tc = kmalloc((ns_len + 64) & in ntfs_ucstonls()
371 memcpy(tc, ns, ns_len); in ntfs_ucstonls()
372 ns_len = ((ns_len + 64) & ~63) - 1; in ntfs_ucstonls()