Searched refs:header (Results 1 – 7 of 7) 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/printk/ |
D | printk_safe.c | 128 bool header; in printk_safe_flush_buffer() local 132 header = true; in printk_safe_flush_buffer() 139 header = true; in printk_safe_flush_buffer() 145 if (header) { in printk_safe_flush_buffer() 152 header = true; in printk_safe_flush_buffer() 156 header = false; in printk_safe_flush_buffer() 161 if (start < end && !header) { in printk_safe_flush_buffer()
|
/kernel/events/ |
D | core.c | 6728 static void __perf_event_header__init_id(struct perf_event_header *header, in __perf_event_header__init_id() argument 6735 header->size += event->id_header_size; in __perf_event_header__init_id() 6758 void perf_event_header__init_id(struct perf_event_header *header, in perf_event_header__init_id() argument 6763 __perf_event_header__init_id(header, data, event); in perf_event_header__init_id() 6903 struct perf_event_header *header, in perf_output_sample() argument 6909 perf_output_put(handle, *header); in perf_output_sample() 7134 void perf_prepare_sample(struct perf_event_header *header, in perf_prepare_sample() argument 7141 header->type = PERF_RECORD_SAMPLE; in perf_prepare_sample() 7142 header->size = sizeof(*header) + event->header_size; in perf_prepare_sample() 7144 header->misc = 0; in perf_prepare_sample() [all …]
|
D | ring_buffer.c | 158 struct perf_event_header header; in __perf_output_begin() member 241 lost_event.header.size = sizeof(lost_event); in __perf_output_begin() 242 lost_event.header.type = PERF_RECORD_LOST; in __perf_output_begin() 243 lost_event.header.misc = 0; in __perf_output_begin() 248 perf_event_header__init_id(&lost_event.header, data, event); in __perf_output_begin()
|
/kernel/power/ |
D | swap.c | 915 struct swsusp_info *header; in swsusp_write() local 940 header = (struct swsusp_info *)data_of(snapshot); in swsusp_write() 941 error = swap_write_page(&handle, header, NULL); in swsusp_write() 1491 struct swsusp_info *header; in swsusp_read() local 1497 header = (struct swsusp_info *)data_of(snapshot); in swsusp_read() 1502 error = swap_read_page(&handle, header, NULL); in swsusp_read() 1505 load_image(&handle, &snapshot, header->pages - 1) : in swsusp_read() 1506 load_image_lzo(&handle, &snapshot, header->pages - 1); in swsusp_read()
|
D | Kconfig | 235 <asm/resume-trace.h> header with a TRACE_RESUME() macro.
|
/kernel/bpf/ |
D | cgroup.c | 1556 if (dir->header.parent) { in sysctl_cpy_dir() 1557 tmp_ret = sysctl_cpy_dir(dir->header.parent, bufp, lenp); in sysctl_cpy_dir() 1562 ret = strscpy(*bufp, dir->header.ctl_table[0].procname, *lenp); in sysctl_cpy_dir()
|