Searched refs:ns_len (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/fs/ntfs/ |
D | unistr.c | 327 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/ |
D | lib.c | 84 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()
|
D | policy.c | 463 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()
|
D | policy_unpack.c | 679 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/ |
D | lib.h | 52 size_t *ns_len);
|