Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ntfs/
Dunistr.c327 int i, o, ns_len, wc; in ntfs_ucstonls() local
332 ns_len = outs_len; in ntfs_ucstonls()
333 if (ns && !ns_len) { in ntfs_ucstonls()
338 ns_len = ins_len * NLS_MAX_CHARSET_SIZE; in ntfs_ucstonls()
339 ns = kmalloc(ns_len + 1, GFP_NOFS); in ntfs_ucstonls()
345 ns_len - o); in ntfs_ucstonls()
354 tc = kmalloc((ns_len + 64) & in ntfs_ucstonls()
357 memcpy(tc, ns, ns_len); in ntfs_ucstonls()
358 ns_len = ((ns_len + 64) & ~63) - 1; in ntfs_ucstonls()
/kernel/linux/linux-5.10/security/apparmor/
Dlib.c84 size_t *ns_len) in aa_splitn_fqname() argument
90 *ns_len = 0; in aa_splitn_fqname()
101 *ns_len = split - *ns_name; in aa_splitn_fqname()
102 if (*ns_len == 0) in aa_splitn_fqname()
111 *ns_len = end - *ns_name; in aa_splitn_fqname()
Dpolicy.c463 size_t ns_len; in aa_fqlookupn_profile() local
465 name = aa_splitn_fqname(fqname, n, &ns_name, &ns_len); in aa_fqlookupn_profile()
467 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.c679 size_t ns_len; in unpack_profile() local
697 tmpname = aa_splitn_fqname(name, strlen(name), &tmpns, &ns_len); in unpack_profile()
699 *ns_name = kstrndup(tmpns, ns_len, GFP_KERNEL); in unpack_profile()
/kernel/linux/linux-5.10/security/apparmor/include/
Dlib.h52 size_t *ns_len);