Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/
Dseccomp.c1535 struct seccomp_metadata kmd = {}; in seccomp_get_metadata() local
1542 size = min_t(unsigned long, size, sizeof(kmd)); in seccomp_get_metadata()
1544 if (size < sizeof(kmd.filter_off)) in seccomp_get_metadata()
1547 if (copy_from_user(&kmd.filter_off, data, sizeof(kmd.filter_off))) in seccomp_get_metadata()
1550 filter = get_nth_filter(task, kmd.filter_off); in seccomp_get_metadata()
1555 kmd.flags |= SECCOMP_FILTER_FLAG_LOG; in seccomp_get_metadata()
1558 if (copy_to_user(data, &kmd, size)) in seccomp_get_metadata()
/Linux-v5.4/arch/ia64/kernel/
Defi.c285 kmd_end(kern_memdesc_t *kmd) in kmd_end() argument
287 return (kmd->start + (kmd->num_pages << EFI_PAGE_SHIFT)); in kmd_end()