Home
last modified time | relevance | path

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

/Linux-v4.19/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()
/Linux-v4.19/security/apparmor/
Dlib.c88 size_t *ns_len) in aa_splitn_fqname() argument
96 *ns_len = 0; in aa_splitn_fqname()
103 *ns_len = split - *ns_name; in aa_splitn_fqname()
104 if (*ns_len == 0) in aa_splitn_fqname()
113 *ns_len = end - *ns_name; in aa_splitn_fqname()
Dpolicy.c464 size_t ns_len; in aa_fqlookupn_profile() local
466 name = aa_splitn_fqname(fqname, n, &ns_name, &ns_len); in aa_fqlookupn_profile()
468 ns = aa_lookupn_ns(labels_ns(base), ns_name, ns_len); in aa_fqlookupn_profile()
1111 size_t ns_len; in aa_remove_profiles() local
1113 name = aa_splitn_fqname(fqname, size, &ns_name, &ns_len); in aa_remove_profiles()
1116 ns_name, ns_len); in aa_remove_profiles()
Dpolicy_unpack.c592 size_t ns_len; in unpack_profile() local
610 tmpname = aa_splitn_fqname(name, strlen(name), &tmpns, &ns_len); in unpack_profile()
612 *ns_name = kstrndup(tmpns, ns_len, GFP_KERNEL); in unpack_profile()
/Linux-v4.19/security/apparmor/include/
Dlib.h55 size_t *ns_len);