Searched refs:header (Results 1 – 6 of 6) sorted by relevance
/kernel/ |
D | capability.c | 82 static int cap_validate_magic(cap_user_header_t header, unsigned *tocopy) in cap_validate_magic() argument 86 if (get_user(version, &header->version)) in cap_validate_magic() 101 if (put_user((u32)_KERNEL_CAPABILITY_VERSION, &header->version)) in cap_validate_magic() 148 SYSCALL_DEFINE2(capget, cap_user_header_t, header, cap_user_data_t, dataptr) in SYSCALL_DEFINE2() argument 155 ret = cap_validate_magic(header, &tocopy); in SYSCALL_DEFINE2() 159 if (get_user(pid, &header->pid)) in SYSCALL_DEFINE2() 222 SYSCALL_DEFINE2(capset, cap_user_header_t, header, const cap_user_data_t, data) in SYSCALL_DEFINE2() argument 231 ret = cap_validate_magic(header, &tocopy); in SYSCALL_DEFINE2() 235 if (get_user(pid, &header->pid)) in SYSCALL_DEFINE2()
|
/kernel/events/ |
D | core.c | 6920 static void __perf_event_header__init_id(struct perf_event_header *header, in __perf_event_header__init_id() argument 6926 header->size += event->id_header_size; in __perf_event_header__init_id() 6949 void perf_event_header__init_id(struct perf_event_header *header, in perf_event_header__init_id() argument 6954 __perf_event_header__init_id(header, data, event, event->attr.sample_type); in perf_event_header__init_id() 7104 struct perf_event_header *header, in perf_output_sample() argument 7110 perf_output_put(handle, *header); in perf_output_sample() 7428 void perf_prepare_sample(struct perf_event_header *header, in perf_prepare_sample() argument 7436 header->type = PERF_RECORD_SAMPLE; in perf_prepare_sample() 7437 header->size = sizeof(*header) + event->header_size; in perf_prepare_sample() 7439 header->misc = 0; in perf_prepare_sample() [all …]
|
D | ring_buffer.c | 158 struct perf_event_header header; in __perf_output_begin() member 243 lost_event.header.size = sizeof(lost_event); in __perf_output_begin() 244 lost_event.header.type = PERF_RECORD_LOST; in __perf_output_begin() 245 lost_event.header.misc = 0; in __perf_output_begin() 250 perf_event_header__init_id(&lost_event.header, data, event); in __perf_output_begin()
|
/kernel/power/ |
D | swap.c | 922 struct swsusp_info *header; in swsusp_write() local 948 header = (struct swsusp_info *)data_of(snapshot); in swsusp_write() 949 error = swap_write_page(&handle, header, NULL); in swsusp_write() 1496 struct swsusp_info *header; in swsusp_read() local 1502 header = (struct swsusp_info *)data_of(snapshot); in swsusp_read() 1507 error = swap_read_page(&handle, header, NULL); in swsusp_read() 1510 load_image(&handle, &snapshot, header->pages - 1) : in swsusp_read() 1511 load_image_lzo(&handle, &snapshot, header->pages - 1); in swsusp_read()
|
D | Kconfig | 253 <asm/resume-trace.h> header with a TRACE_RESUME() macro.
|
/kernel/bpf/ |
D | cgroup.c | 2006 if (dir->header.parent) { in sysctl_cpy_dir() 2007 tmp_ret = sysctl_cpy_dir(dir->header.parent, bufp, lenp); in sysctl_cpy_dir() 2012 ret = strscpy(*bufp, dir->header.ctl_table[0].procname, *lenp); in sysctl_cpy_dir()
|