/linux/drivers/xen/ |
H A D | sys-hypervisor.c | 40 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) in type_show() 52 static ssize_t guest_type_show(struct hyp_sysfs_attr *attr, char *buffer) in guest_type_show() 82 static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) in major_show() 92 static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) in minor_show() 102 static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) in extra_show() 139 static ssize_t uuid_show_fallback(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show_fallback() 160 static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show() 180 static ssize_t compiler_show(struct hyp_sysfs_attr *attr, char *buffer) in compiler_show() 198 static ssize_t compiled_by_show(struct hyp_sysfs_attr *attr, char *buffer) in compiled_by_show() 216 static ssize_t compile_date_show(struct hyp_sysfs_attr *attr, char *buffer) in compile_date_show() [all …]
|
/linux/drivers/iio/ |
H A D | industrialio-buffer.c | 45 struct iio_buffer *buffer; member 347 struct iio_buffer *buffer; in iio_buffer_wakeup_poll() local 356 int iio_pop_from_buffer(struct iio_buffer *buffer, void *data) in iio_pop_from_buffer() 365 void iio_buffer_init(struct iio_buffer *buffer) in iio_buffer_init() 381 struct iio_buffer *buffer; in iio_device_detach_buffers() local 443 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in iio_scan_el_show() local 509 struct iio_buffer *buffer, int bit) in iio_scan_mask_set() 546 static int iio_scan_mask_clear(struct iio_buffer *buffer, int bit) in iio_scan_mask_clear() 553 struct iio_buffer *buffer, int bit) in iio_scan_mask_query() 575 struct iio_buffer *buffer = this_attr->buffer; in iio_scan_el_store() local [all …]
|
/linux/sound/hda/common/ |
H A D | proc.c | 47 static void print_nid_array(struct snd_info_buffer *buffer, in print_nid_array() 74 static void print_nid_pcms(struct snd_info_buffer *buffer, in print_nid_pcms() 93 static void print_amp_caps(struct snd_info_buffer *buffer, in print_amp_caps() 133 static void print_amp_vals(struct snd_info_buffer *buffer, in print_amp_vals() 161 static void print_pcm_rates(struct snd_info_buffer *buffer, unsigned int pcm) in print_pcm_rates() 177 static void print_pcm_bits(struct snd_info_buffer *buffer, unsigned int pcm) in print_pcm_bits() 186 static void print_pcm_formats(struct snd_info_buffer *buffer, in print_pcm_formats() 199 static void print_pcm_caps(struct snd_info_buffer *buffer, in print_pcm_caps() 304 static void print_pin_caps(struct snd_info_buffer *buffer, in print_pin_caps() 400 static void print_pin_ctls(struct snd_info_buffer *buffer, in print_pin_ctls() [all …]
|
/linux/drivers/s390/char/ |
H A D | sclp_rw.c | 43 struct sclp_buffer *buffer; in sclp_make_buffer() local 73 sclp_unmake_buffer(struct sclp_buffer *buffer) in sclp_unmake_buffer() 83 sclp_initialize_mto(struct sclp_buffer *buffer, int max_len) in sclp_initialize_mto() 133 sclp_finalize_mto(struct sclp_buffer *buffer) in sclp_finalize_mto() 170 sclp_write(struct sclp_buffer *buffer, const unsigned char *msg, int count) in sclp_write() 306 sclp_buffer_space(struct sclp_buffer *buffer) in sclp_buffer_space() 322 sclp_chars_in_buffer(struct sclp_buffer *buffer) in sclp_chars_in_buffer() 360 struct sclp_buffer *buffer; in sclp_writedata_callback() local 425 sclp_emit_buffer(struct sclp_buffer *buffer, in sclp_emit_buffer()
|
/linux/kernel/ |
H A D | sysctl.c | 77 char *buffer, size_t *lenp, loff_t *ppos) in _proc_do_string() 190 void *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() 348 char **buffer = (char **)buf; in proc_put_char() local 402 int write, void *buffer, in __do_proc_dointvec() 475 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec() 486 void *buffer, in do_proc_douintvec_w() 541 static int do_proc_douintvec_r(unsigned int *tbl_data, void *buffer, in do_proc_douintvec_r() 573 int write, void *buffer, in __do_proc_douintvec() 609 void *buffer, size_t *lenp, loff_t *ppos, in do_proc_douintvec() 635 int proc_dobool(const struct ctl_table *table, int write, void *buffer, in proc_dobool() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hibmcge/ |
H A D | hbg_txrx.c | 13 #define buffer_to_dma_dir(buffer) (((buffer)->dir == HBG_DIR_RX) ? \ argument 34 static int hbg_dma_map(struct hbg_buffer *buffer) in hbg_dma_map() 53 static void hbg_dma_unmap(struct hbg_buffer *buffer) in hbg_dma_unmap() 65 static void hbg_init_tx_desc(struct hbg_buffer *buffer, in hbg_init_tx_desc() 93 struct hbg_buffer *buffer; in hbg_net_start_xmit() local 129 static void hbg_buffer_free_skb(struct hbg_buffer *buffer) in hbg_buffer_free_skb() 138 static int hbg_buffer_alloc_skb(struct hbg_buffer *buffer) in hbg_buffer_alloc_skb() 152 static void hbg_buffer_free(struct hbg_buffer *buffer) in hbg_buffer_free() 166 struct hbg_buffer *buffer; in hbg_napi_tx_recycle() local 374 struct hbg_buffer *buffer; in hbg_rx_fill_one_buffer() local [all …]
|
/linux/drivers/android/ |
H A D | binder_alloc.c | 51 static struct binder_buffer *binder_buffer_next(struct binder_buffer *buffer) in binder_buffer_next() 56 static struct binder_buffer *binder_buffer_prev(struct binder_buffer *buffer) in binder_buffer_prev() 62 struct binder_buffer *buffer) in binder_alloc_buffer_size() 75 struct binder_buffer *buffer; in binder_insert_free_buffer() local 108 struct binder_buffer *buffer; in binder_insert_allocated_buffer_locked() local 133 struct binder_buffer *buffer; in binder_alloc_prepare_to_free_locked() local 362 struct binder_buffer *buffer, in binder_install_buffer_pages() 428 struct binder_buffer *buffer; in debug_no_space_locked() local 471 struct binder_buffer *buffer; in debug_low_async_space_locked() local 523 struct binder_buffer *buffer; in binder_alloc_new_buf_locked() local [all …]
|
/linux/drivers/parport/ |
H A D | ieee1284_ops.c | 36 const void *buffer, size_t len, in parport_ieee1284_write_compat() 145 void *buffer, size_t len, in parport_ieee1284_read_nibble() 233 void *buffer, size_t len, in parport_ieee1284_read_byte() 389 const void *buffer, size_t len, in parport_ieee1284_ecp_write_data() 475 void *buffer, size_t len, int flags) in parport_ieee1284_ecp_read_data() 619 const void *buffer, size_t len, in parport_ieee1284_ecp_write_addr() 710 const void *buffer, size_t len, in parport_ieee1284_epp_write_data() 754 void *buffer, size_t len, in parport_ieee1284_epp_read_data() 798 const void *buffer, size_t len, in parport_ieee1284_epp_write_addr() 842 void *buffer, size_t len, in parport_ieee1284_epp_read_addr()
|
/linux/tools/testing/selftests/mm/ |
H A D | hmm-tests.c | 180 struct hmm_buffer *buffer, in hmm_dmirror_cmd() 205 static void hmm_buffer_free(struct hmm_buffer *buffer) in hmm_buffer_free() 269 struct hmm_buffer *buffer, in hmm_migrate_sys_to_dev() 276 struct hmm_buffer *buffer, in hmm_migrate_dev_to_sys() 294 struct hmm_buffer *buffer; in TEST_F() local 358 struct hmm_buffer *buffer; in TEST_F() local 417 struct hmm_buffer *buffer; in TEST_F() local 465 struct hmm_buffer *buffer; in TEST_F() local 531 struct hmm_buffer *buffer; in TEST_F() local 609 struct hmm_buffer *buffer; in TEST_F() local [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106_proc.c | 84 static void snd_ca0106_proc_dump_iec958( struct snd_info_buffer *buffer, u32 value) in snd_ca0106_proc_dump_iec958() 259 struct snd_info_buffer *buffer) in snd_ca0106_proc_iec958() 281 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_write32() 299 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read32() 315 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read16() 331 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read8() 347 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read1() 365 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_read2() 383 struct snd_info_buffer *buffer) in snd_ca0106_proc_reg_write() 397 struct snd_info_buffer *buffer) in snd_ca0106_proc_i2c_write()
|
/linux/drivers/input/ |
H A D | input-compat.c | 14 int input_event_from_user(const char __user *buffer, in input_event_from_user() 38 int input_event_to_user(char __user *buffer, in input_event_to_user() 62 int input_ff_effect_from_user(const char __user *buffer, size_t size, in input_ff_effect_from_user() 99 int input_event_from_user(const char __user *buffer, in input_event_from_user() 108 int input_event_to_user(char __user *buffer, in input_event_to_user() 117 int input_ff_effect_from_user(const char __user *buffer, size_t size, in input_ff_effect_from_user()
|
/linux/sound/pci/lola/ |
H A D | lola_proc.c | 16 static void print_audio_widget(struct snd_info_buffer *buffer, in print_audio_widget() 27 static void print_pin_widget(struct snd_info_buffer *buffer, in print_pin_widget() 48 static void print_clock_widget(struct snd_info_buffer *buffer, in print_clock_widget() 88 static void print_mixer_widget(struct snd_info_buffer *buffer, in print_mixer_widget() 98 struct snd_info_buffer *buffer) in lola_proc_codec_read() 135 struct snd_info_buffer *buffer) in lola_proc_codec_rw_write() 150 struct snd_info_buffer *buffer) in lola_proc_codec_rw_read() 160 struct snd_info_buffer *buffer) in lola_proc_regs_read()
|
/linux/drivers/connector/ |
H A D | cn_proc.c | 33 static inline struct cn_msg *buffer_to_cn_msg(__u8 *buffer) in buffer_to_cn_msg() 121 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_fork_connector() local 151 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_exec_connector() local 175 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_id_connector() local 213 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_sid_connector() local 237 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_ptrace_connector() local 269 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_comm_connector() local 295 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_coredump_connector() local 328 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in proc_exit_connector() local 370 __u8 buffer[CN_PROC_MSG_SIZE] __aligned(8); in cn_proc_ack() local
|
/linux/scripts/kconfig/ |
H A D | lexer.l | 40 struct buffer { struct 41 struct buffer *parent; argument 48 static struct buffer *current_buf; argument
|
/linux/drivers/md/dm-vdo/ |
H A D | encodings.c | 204 static void encode_version_number(u8 *buffer, size_t *offset, in encode_version_number() 213 void vdo_encode_header(u8 *buffer, size_t *offset, const struct header *header) in vdo_encode_header() 221 static void decode_version_number(u8 *buffer, size_t *offset, in decode_version_number() 231 void vdo_decode_header(u8 *buffer, size_t *offset, struct header *header) in vdo_decode_header() 248 static void decode_volume_geometry(u8 *buffer, size_t *offset, in decode_volume_geometry() 335 struct block_map_page *vdo_format_block_map_page(void *buffer, nonce_t nonce, in vdo_format_block_map_page() 366 static int decode_block_map_state_2_0(u8 *buffer, size_t *offset, in decode_block_map_state_2_0() 415 static void encode_block_map_state_2_0(u8 *buffer, size_t *offset, in encode_block_map_state_2_0() 468 static void encode_recovery_journal_state_7_0(u8 *buffer, size_t *offset, in encode_recovery_journal_state_7_0() 491 static int __must_check decode_recovery_journal_state_7_0(u8 *buffer, size_t *offset, in decode_recovery_journal_state_7_0() [all …]
|
/linux/net/core/ |
H A D | sysctl_net_core.c | 56 static int dump_cpumask(void *buffer, size_t *lenp, loff_t *ppos, in dump_cpumask() 103 void *buffer, size_t *lenp, loff_t *ppos) in rps_default_mask_sysctl() 138 void *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl() 210 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_cpu_sysctl() 267 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_table_len_sysctl() 289 void *buffer, size_t *lenp, loff_t *ppos) in set_default_qdisc() 308 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_dev_weight() 326 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_rss_key() 339 void *buffer, size_t *lenp, in proc_dointvec_minmax_bpf_enable() 372 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_bpf_restricted() [all …]
|
/linux/drivers/pnp/ |
H A D | interface.c | 26 char *buffer; /* pointer to begin of buffer */ member 37 static int pnp_printf(pnp_info_buffer_t * buffer, char *fmt, ...) in pnp_printf() 56 static void pnp_print_port(pnp_info_buffer_t * buffer, char *space, in pnp_print_port() 68 static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space, in pnp_print_irq() 101 static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space, in pnp_print_dma() 153 static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space, in pnp_print_mem() 189 static void pnp_print_option(pnp_info_buffer_t * buffer, char *space, in pnp_print_option() 212 pnp_info_buffer_t *buffer; in options_show() local 252 pnp_info_buffer_t *buffer; in resources_show() local
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_packet_manager_v9.c | 33 uint32_t *buffer, struct qcm_process_device *qpd) in pm_map_process_v9() 90 uint32_t *buffer, struct qcm_process_device *qpd) in pm_map_process_aldebaran() 148 static int pm_runlist_v9(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_v9() 191 static int pm_set_resources_v9(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_v9() 227 static int pm_map_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_v9() 324 uint32_t *buffer, in pm_config_dequeue_wait_counts_v9() 394 static int pm_unmap_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_v9() 445 static int pm_query_status_v9(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_v9()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
H A D | gp100.c | 30 gp100_fault_buffer_intr(struct nvkm_fault_buffer *buffer, bool enable) in gp100_fault_buffer_intr() 37 gp100_fault_buffer_fini(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_fini() 44 gp100_fault_buffer_init(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_init() 52 u64 gp100_fault_buffer_pin(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_pin() 58 gp100_fault_buffer_info(struct nvkm_fault_buffer *buffer) in gp100_fault_buffer_info()
|
/linux/tools/wmi/ |
H A D | dell-smbios-example.c | 32 static void show_buffer(struct dell_wmi_smbios_buffer *buffer) in show_buffer() 42 static int run_wmi_smbios_cmd(struct dell_wmi_smbios_buffer *buffer) in run_wmi_smbios_cmd() 95 struct dell_wmi_smbios_buffer *buffer) in token_is_active() 109 static int query_token(__u16 token, struct dell_wmi_smbios_buffer *buffer) in query_token() 123 static int activate_token(struct dell_wmi_smbios_buffer *buffer, in activate_token() 157 struct dell_wmi_smbios_buffer *buffer; in main() local
|
/linux/sound/usb/ |
H A D | proc.c | 33 static void proc_audio_usbbus_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbbus_read() 40 static void proc_audio_usbid_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbid_read() 92 …ic void proc_dump_substream_formats(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) in proc_dump_substream_formats() 175 struct snd_info_buffer *buffer) in proc_dump_ep_status() 194 struct snd_info_buffer *buffer) in proc_dump_substream_status() 210 static void proc_pcm_format_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_pcm_format_read()
|
/linux/fs/configfs/ |
H A D | file.c | 56 static int fill_read_buffer(struct file *file, struct configfs_buffer *buffer) in fill_read_buffer() 83 struct configfs_buffer *buffer = file->private_data; in configfs_read_iter() local 110 struct configfs_buffer *buffer = file->private_data; in configfs_bin_read_iter() local 181 static int fill_write_buffer(struct configfs_buffer *buffer, in fill_write_buffer() 200 flush_write_buffer(struct file *file, struct configfs_buffer *buffer, size_t count) in flush_write_buffer() 223 struct configfs_buffer *buffer = file->private_data; in configfs_write_iter() local 240 struct configfs_buffer *buffer = file->private_data; in configfs_bin_write_iter() local 295 struct configfs_buffer *buffer; in __configfs_open_file() local 381 struct configfs_buffer *buffer = filp->private_data; in configfs_release() local 403 struct configfs_buffer *buffer = file->private_data; in configfs_release_bin_file() local
|
/linux/net/ipv4/ |
H A D | sysctl_net_ipv4.c | 68 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_local_port_range() 102 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_privileged_ports() 165 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_ping_group_range() 200 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_fwd_update_priority() 216 void *buffer, size_t *lenp, loff_t *ppos) in proc_tcp_congestion_control() 236 int write, void *buffer, in proc_tcp_available_congestion_control() 252 int write, void *buffer, in proc_allowed_congestion_control() 289 void *buffer, size_t *lenp, loff_t *ppos) in proc_tcp_fastopen_key() 360 int write, void *buffer, in proc_tfo_blackhole_detect_timeout() 375 int write, void *buffer, size_t *lenp, in proc_tcp_available_ulp() [all …]
|
/linux/kernel/trace/ |
H A D | ring_buffer.c | 312 #define for_each_buffer_cpu(buffer, cpu) \ argument 315 #define for_each_online_buffer_cpu(buffer, cpu) \ argument 481 struct trace_buffer *buffer; member 579 int ring_buffer_print_page_header(struct trace_buffer *buffer, struct trace_seq *s) in ring_buffer_print_page_header() 697 u64 ring_buffer_event_time_stamp(struct trace_buffer *buffer, in ring_buffer_event_time_stamp() 735 size_t ring_buffer_nr_dirty_pages(struct trace_buffer *buffer, int cpu) in ring_buffer_nr_dirty_pages() 759 static __always_inline bool full_hit(struct trace_buffer *buffer, int cpu, int full) in full_hit() 819 void ring_buffer_wake_waiters(struct trace_buffer *buffer, int cpu) in ring_buffer_wake_waiters() 851 static bool rb_watermark_hit(struct trace_buffer *buffer, int cpu, int full) in rb_watermark_hit() 883 rb_wait_cond(struct rb_irq_work *rbwork, struct trace_buffer *buffer, in rb_wait_cond() [all …]
|
/linux/tools/testing/selftests/powerpc/ |
H A D | utils.c | 72 char *buffer = NULL; in read_file_alloc() local 186 static int validate_int_parse(const char *buffer, size_t count, char *end) in validate_int_parse() 212 static int parse_bounded_int(const char *buffer, size_t count, intmax_t *result, in parse_bounded_int() 236 static int parse_bounded_uint(const char *buffer, size_t count, uintmax_t *result, in parse_bounded_uint() 260 int parse_intmax(const char *buffer, size_t count, intmax_t *result, int base) in parse_intmax() 265 int parse_uintmax(const char *buffer, size_t count, uintmax_t *result, int base) in parse_uintmax() 270 int parse_int(const char *buffer, size_t count, int *result, int base) in parse_int() 279 int parse_uint(const char *buffer, size_t count, unsigned int *result, int base) in parse_uint() 288 int parse_long(const char *buffer, size_t count, long *result, int base) in parse_long() 297 int parse_ulong(const char *buffer, size_t count, unsigned long *result, int base) in parse_ulong() [all …]
|