Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 50) sorted by relevance

12

/kernel/
Drelay.c74 size_t pa_size = n_pages * sizeof(struct page *); in relay_alloc_page_array()
133 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf()
178 buf->padding = kmalloc(chan->n_subbufs * sizeof(size_t *), GFP_KERNEL); in relay_create_buf()
263 size_t ready = buf->subbufs_produced - buf->subbufs_consumed; in relay_buf_full()
283 size_t prev_padding) in subbuf_start_default_callback()
357 size_t i; in __relay_reset()
574 size_t subbuf_size, in relay_open()
575 size_t n_subbufs, in relay_open()
725 size_t relay_switch_subbuf(struct rchan_buf *buf, size_t length) in relay_switch_subbuf()
728 size_t old_subbuf, new_subbuf; in relay_switch_subbuf()
[all …]
Dsysctl.c158 void __user *buffer, size_t *lenp, loff_t *ppos);
160 void __user *buffer, size_t *lenp, loff_t *ppos);
1617 void __user *oldval, size_t __user *oldlenp, in do_sysctl_strategy()
1618 void __user *newval, size_t newlen) in do_sysctl_strategy()
1648 void __user *oldval, size_t __user *oldlenp, in parse_table()
1649 void __user *newval, size_t newlen, in parse_table()
1681 int do_sysctl(int __user *name, int nlen, void __user *oldval, size_t __user *oldlenp, in do_sysctl()
1682 void __user *newval, size_t newlen) in do_sysctl()
2099 size_t *lenp, loff_t *ppos) in _proc_do_string()
2101 size_t len; in _proc_do_string()
[all …]
Dutsname_sysctl.c46 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_uts_string()
64 void __user *oldval, size_t __user *oldlenp, in sysctl_uts_string()
65 void __user *newval, size_t newlen) in sysctl_uts_string()
Dksysfs.c44 const char *buf, size_t count) in uevent_helper_store()
65 const char *buf, size_t count) in profiling_store()
122 char *buf, loff_t off, size_t count) in notes_read()
Daudit.h147 extern char *audit_unpack_string(void **, size_t *, size_t);
Ddma-coherent.c17 dma_addr_t device_addr, size_t size, int flags) in dma_declare_coherent_memory()
76 dma_addr_t device_addr, size_t size) in dma_mark_declared_memory_occupied()
Drcupreempt_trace.c174 size_t count, loff_t *ppos) in rcustats_read()
212 size_t count, loff_t *ppos) in rcugp_read()
228 size_t count, loff_t *ppos) in rcuctrs_read()
Dtaskstats.c80 size_t size) in prepare_reply()
389 size_t size; in cgroupstats_user_cmd()
433 size_t size; in taskstats_user_cmd()
527 size_t size; in taskstats_exit()
Duser.c148 const char *buf, size_t size) in cpu_shares_store()
177 const char *buf, size_t size) in cpu_rt_runtime_store()
204 const char *buf, size_t size) in cpu_rt_period_store()
Dkexec.c47 size_t vmcoreinfo_size;
48 size_t vmcoreinfo_max_size = sizeof(vmcoreinfo_data);
121 size_t segment_bytes; in do_kimage_alloc()
801 size_t uchunk, mchunk; in kimage_load_normal_segment()
860 size_t uchunk, mchunk; in kimage_load_crash_segment()
1086 size_t data_len) in append_elf_note()
Dconfigs.c59 size_t len, loff_t * offset) in ikconfig_read_current()
Dmarker.c380 size_t name_len = strlen(name) + 1; in add_marker()
381 size_t format_len = 0; in add_marker()
437 size_t len = strlen(name) + 1; in remove_marker()
871 size_t name_len = strlen(name) + 1; in marker_get_private_data()
Dpm_qos_params.c117 size_t count, loff_t *f_pos);
384 size_t count, loff_t *f_pos) in pm_qos_power_write()
Daudit.c825 size_t msglen = nlmsg_len(nlh); in audit_receive_msg()
1314 size_t len) in audit_log_n_hex()
1350 size_t slen) in audit_log_n_string()
1382 int audit_string_contains_control(const char *string, size_t len) in audit_string_contains_control()
1407 size_t len) in audit_log_n_untrustedstring()
/kernel/power/
Dpower.h132 extern int snapshot_read_next(struct snapshot_handle *handle, size_t count);
133 extern int snapshot_write_next(struct snapshot_handle *handle, size_t count);
238 const char *buf, size_t n);
242 const char *buf, size_t n);
Duserwakelock.c151 const char *buf, size_t n) in wake_lock_store()
199 const char *buf, size_t n) in wake_unlock_store()
Dmain.c91 const char *buf, size_t n) in pm_test_store()
512 const char *buf, size_t n) in state_store()
568 const char *buf, size_t n) in pm_trace_store()
Ddisk.c775 const char *buf, size_t n) in disk_store()
828 const char *buf, size_t n) in resume_store()
861 const char *buf, size_t n) in image_size_store()
Duser.c142 size_t count, loff_t *offp) in snapshot_read()
169 size_t count, loff_t *offp) in snapshot_write()
/kernel/trace/
Dtrace_stack.c140 size_t count, loff_t *ppos) in stack_max_size_read()
154 size_t count, loff_t *ppos) in stack_max_size_write()
304 struct file *file, void __user *buffer, size_t *lenp, in stack_trace_sysctl()
Dftrace.c1013 size_t cnt, loff_t *ppos) in ftrace_regex_read()
1125 size_t cnt, loff_t *ppos, int enable) in ftrace_regex_write()
1129 size_t read = 0; in ftrace_regex_write()
1207 size_t cnt, loff_t *ppos) in ftrace_filter_write()
1214 size_t cnt, loff_t *ppos) in ftrace_notrace_write()
1425 size_t cnt, loff_t *ppos) in ftrace_graph_read()
1476 size_t cnt, loff_t *ppos) in ftrace_graph_write()
1480 size_t read = 0; in ftrace_graph_write()
1695 size_t cnt, loff_t *ppos) in ftrace_pid_read()
1780 size_t cnt, loff_t *ppos) in ftrace_pid_write()
[all …]
Dtrace.c402 trace_seq_putmem(struct trace_seq *s, void *mem, size_t len) in trace_seq_putmem()
417 trace_seq_putmem_hex(struct trace_seq *s, void *mem, size_t len)
465 ssize_t trace_seq_to_user(struct trace_seq *s, char __user *ubuf, size_t cnt)
2665 size_t count, loff_t *ppos)
2687 size_t count, loff_t *ppos)
2741 size_t cnt, loff_t *ppos)
2833 size_t cnt, loff_t *ppos)
2905 size_t cnt, loff_t *ppos)
2918 size_t cnt, loff_t *ppos)
2929 size_t cnt, loff_t *ppos)
[all …]
Dtrace_sysprof.c279 size_t cnt, loff_t *ppos) in sysprof_sample_read()
291 size_t cnt, loff_t *ppos) in sysprof_sample_write()
/kernel/irq/
Dproc.c40 const char __user *buffer, size_t count, loff_t *pos) in irq_affinity_proc_write()
102 const char __user *buffer, size_t count, loff_t *ppos) in default_affinity_write()
/kernel/time/
Dclocksource.c406 const char *buf, size_t count) in sysfs_override_clocksource()
409 size_t ret = count; in sysfs_override_clocksource()

12