Searched refs:ns_len (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/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()
|
/linux-6.6.21/security/apparmor/ |
D | lib.c | 105 size_t *ns_len) in aa_splitn_fqname() argument 111 *ns_len = 0; in aa_splitn_fqname() 122 *ns_len = split - *ns_name; in aa_splitn_fqname() 123 if (*ns_len == 0) in aa_splitn_fqname() 132 *ns_len = end - *ns_name; in aa_splitn_fqname()
|
D | policy.c | 557 size_t ns_len; in aa_fqlookupn_profile() local 559 name = aa_splitn_fqname(fqname, n, &ns_name, &ns_len); in aa_fqlookupn_profile() 561 ns = aa_lookupn_ns(labels_ns(base), ns_name, ns_len); in aa_fqlookupn_profile() 1310 size_t ns_len; in aa_remove_profiles() local 1312 name = aa_splitn_fqname(fqname, size, &ns_name, &ns_len); in aa_remove_profiles() 1315 ns_name, ns_len); in aa_remove_profiles()
|
D | policy_unpack.c | 808 size_t ns_len; in unpack_profile() local 826 tmpname = aa_splitn_fqname(name, strlen(name), &tmpns, &ns_len); in unpack_profile() 832 *ns_name = kstrndup(tmpns, ns_len, GFP_KERNEL); in unpack_profile()
|
/linux-6.6.21/security/apparmor/include/ |
D | lib.h | 62 size_t *ns_len);
|