Searched refs:kmd (Results 1 – 2 of 2) sorted by relevance
1535 struct seccomp_metadata kmd = {}; in seccomp_get_metadata() local1542 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()
285 kmd_end(kern_memdesc_t *kmd) in kmd_end() argument287 return (kmd->start + (kmd->num_pages << EFI_PAGE_SHIFT)); in kmd_end()