Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 6469) sorted by relevance

12345678910>>...259

/linux-6.12.1/kernel/
Drelay.c36 struct rchan_buf *buf = vmf->vma->vm_private_data; in relay_buf_fault() local
83 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf()
108 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf()
149 struct rchan_buf *buf; in relay_create_buf() local
193 static void relay_destroy_buf(struct rchan_buf *buf) in relay_destroy_buf()
220 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() local
230 static int relay_buf_empty(struct rchan_buf *buf) in relay_buf_empty()
241 int relay_buf_full(struct rchan_buf *buf) in relay_buf_full()
252 static int relay_subbuf_start(struct rchan_buf *buf, void *subbuf, in relay_subbuf_start()
270 struct rchan_buf *buf; in wakeup_readers() local
[all …]
Dksysfs.c40 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
48 struct kobj_attribute *attr, char *buf) in cpu_byteorder_show()
56 struct kobj_attribute *attr, char *buf) in address_bits_show()
65 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
71 const char *buf, size_t count) in uevent_helper_store()
86 struct kobj_attribute *attr, char *buf) in profiling_show()
92 const char *buf, size_t count) in profiling_store()
124 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
132 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
139 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
[all …]
/linux-6.12.1/drivers/net/wireless/st/cw1200/
Dwsm.c27 #define WSM_SKIP(buf, size) \ argument
34 #define WSM_GET(buf, ptr, size) \ argument
42 #define __WSM_GET(buf, type, type2, cvt) \ argument
52 #define WSM_GET8(buf) __WSM_GET(buf, u8, u8, (u8)) argument
53 #define WSM_GET16(buf) __WSM_GET(buf, u16, __le16, __le16_to_cpu) argument
54 #define WSM_GET32(buf) __WSM_GET(buf, u32, __le32, __le32_to_cpu) argument
56 #define WSM_PUT(buf, ptr, size) \ argument
65 #define __WSM_PUT(buf, val, type, type2, cvt) \ argument
74 #define WSM_PUT8(buf, val) __WSM_PUT(buf, val, u8, u8, (u8)) argument
75 #define WSM_PUT16(buf, val) __WSM_PUT(buf, val, u16, __le16, __cpu_to_le16) argument
[all …]
/linux-6.12.1/fs/nilfs2/
Dsysfs.c96 struct nilfs_root *root, char *buf) in nilfs_snapshot_inodes_count_show()
104 struct nilfs_root *root, char *buf) in nilfs_snapshot_blocks_count_show()
117 struct nilfs_root *root, char *buf) in nilfs_snapshot_README_show()
135 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show()
147 const char *buf, size_t len) in nilfs_snapshot_attr_store()
219 struct the_nilfs *nilfs, char *buf) in nilfs_mounted_snapshots_README_show()
243 char *buf) in nilfs_checkpoints_checkpoints_number_show()
266 char *buf) in nilfs_checkpoints_snapshots_number_show()
289 char *buf) in nilfs_checkpoints_last_seg_checkpoint_show()
303 char *buf) in nilfs_checkpoints_next_checkpoint_show()
[all …]
/linux-6.12.1/arch/mips/include/asm/
Duasm.h210 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument
211 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument
212 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument
213 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
214 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument
215 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument
216 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument
217 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument
218 # define UASM_i_SC(buf, rs, rt, off) uasm_i_scd(buf, rs, rt, off) argument
219 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument
[all …]
/linux-6.12.1/net/bridge/
Dbr_sysfs_br.c32 const char *buf, size_t len, in store_bridge_parm()
67 struct device_attribute *attr, char *buf) in forward_delay_show()
81 const char *buf, size_t len) in forward_delay_store()
88 char *buf) in hello_time_show()
101 struct device_attribute *attr, const char *buf, in hello_time_store()
109 char *buf) in max_age_show()
122 const char *buf, size_t len) in max_age_store()
129 struct device_attribute *attr, char *buf) in ageing_time_show()
143 const char *buf, size_t len) in ageing_time_store()
150 struct device_attribute *attr, char *buf) in stp_state_show()
[all …]
Dbr_sysfs_if.c84 static ssize_t show_path_cost(struct net_bridge_port *p, char *buf) in show_path_cost()
92 static ssize_t show_priority(struct net_bridge_port *p, char *buf) in show_priority()
100 static ssize_t show_designated_root(struct net_bridge_port *p, char *buf) in show_designated_root()
106 static ssize_t show_designated_bridge(struct net_bridge_port *p, char *buf) in show_designated_bridge()
112 static ssize_t show_designated_port(struct net_bridge_port *p, char *buf) in show_designated_port()
118 static ssize_t show_designated_cost(struct net_bridge_port *p, char *buf) in show_designated_cost()
124 static ssize_t show_port_id(struct net_bridge_port *p, char *buf) in show_port_id()
130 static ssize_t show_port_no(struct net_bridge_port *p, char *buf) in show_port_no()
137 static ssize_t show_change_ack(struct net_bridge_port *p, char *buf) in show_change_ack()
143 static ssize_t show_config_pending(struct net_bridge_port *p, char *buf) in show_config_pending()
[all …]
/linux-6.12.1/arch/arc/net/
Dbpf_jit_arcv2.c629 static inline void emit_2_bytes(u8 *buf, u16 bytes) in emit_2_bytes()
634 static inline void emit_4_bytes(u8 *buf, u32 bytes) in emit_4_bytes()
659 static u8 arc_movi_r(u8 *buf, u8 reg, s16 imm) in arc_movi_r()
669 static u8 arc_mov_r(u8 *buf, u8 rd, u8 rs) in arc_mov_r()
679 static u8 arc_mov_i(u8 *buf, u8 rd, s32 imm) in arc_mov_i()
694 static u8 arc_mov_i_fixed(u8 *buf, u8 rd, s32 imm) in arc_mov_i_fixed()
706 static u8 arc_mov_cc_r(u8 *buf, u8 cc, u8 rd, u8 rs) in arc_mov_cc_r()
716 static u8 arc_movu_cc_r(u8 *buf, u8 cc, u8 rd, u8 imm) in arc_movu_cc_r()
726 static u8 arc_sexb_r(u8 *buf, u8 rd, u8 rs) in arc_sexb_r()
736 static u8 arc_sexh_r(u8 *buf, u8 rd, u8 rs) in arc_sexh_r()
[all …]
/linux-6.12.1/drivers/char/tpm/
Dtpm-buf.c18 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init()
35 void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset()
57 int tpm_buf_init_sized(struct tpm_buf *buf) in tpm_buf_init_sized()
72 void tpm_buf_reset_sized(struct tpm_buf *buf) in tpm_buf_reset_sized()
81 void tpm_buf_destroy(struct tpm_buf *buf) in tpm_buf_destroy()
93 u32 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length()
105 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length) in tpm_buf_append()
127 void tpm_buf_append_u8(struct tpm_buf *buf, const u8 value) in tpm_buf_append_u8()
133 void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16()
141 void tpm_buf_append_u32(struct tpm_buf *buf, const u32 value) in tpm_buf_append_u32()
[all …]
/linux-6.12.1/drivers/s390/net/
Dqeth_l3_sys.c19 static int qeth_l3_string_to_ipaddr(const char *buf, in qeth_l3_string_to_ipaddr()
31 struct qeth_routing_info *route, char *buf) in qeth_l3_dev_route_show()
59 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show()
68 const char *buf, size_t count) in qeth_l3_dev_route_store()
105 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store()
117 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show()
125 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store()
137 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show()
145 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_sniffer_store()
193 struct device_attribute *attr, char *buf) in qeth_l3_dev_hsuid_show()
[all …]
Dqeth_core_sys.c20 struct device_attribute *attr, char *buf) in qeth_dev_state_show()
41 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show()
51 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show()
61 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show()
85 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show()
95 struct device_attribute *attr, char *buf) in qeth_dev_portno_show()
103 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store()
135 struct device_attribute *attr, char *buf) in qeth_dev_portname_show()
141 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store()
154 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show()
[all …]
/linux-6.12.1/drivers/net/bonding/
Dbond_sysfs.c36 char *buf) in bonding_show_bonds()
166 struct device_attribute *attr, char *buf) in bonding_show_slaves()
198 struct device_attribute *attr, char *buf) in bonding_show_mode()
212 char *buf) in bonding_show_xmit_hash()
227 char *buf) in bonding_show_arp_validate()
243 char *buf) in bonding_show_arp_all_targets()
259 char *buf) in bonding_show_fail_over_mac()
275 char *buf) in bonding_show_arp_interval()
287 char *buf) in bonding_show_arp_targets()
308 char *buf) in bonding_show_missed_max()
[all …]
/linux-6.12.1/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c73 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt()
96 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip()
117 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr()
127 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs()
146 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb()
169 static int intel_pt_get_tma(const unsigned char *buf, size_t len, in intel_pt_get_tma()
187 static int intel_pt_get_mnt(const unsigned char *buf, size_t len, in intel_pt_get_mnt()
197 static int intel_pt_get_3byte(const unsigned char *buf, size_t len, in intel_pt_get_3byte()
211 static int intel_pt_get_ptwrite(const unsigned char *buf, size_t len, in intel_pt_get_ptwrite()
246 static int intel_pt_get_mwait(const unsigned char *buf, size_t len, in intel_pt_get_mwait()
[all …]
/linux-6.12.1/drivers/dma/idxd/
Dsysfs.c21 struct device_attribute *attr, char *buf) in engine_group_id_show()
33 const char *buf, size_t count) in engine_group_id_store()
117 char *buf) in group_read_buffers_reserved_show()
126 char *buf) in group_tokens_reserved_show()
134 const char *buf, size_t count) in group_read_buffers_reserved_store()
167 const char *buf, size_t count) in group_tokens_reserved_store()
183 char *buf) in group_read_buffers_allowed_show()
192 char *buf) in group_tokens_allowed_show()
200 const char *buf, size_t count) in group_read_buffers_allowed_store()
230 const char *buf, size_t count) in group_tokens_allowed_store()
[all …]
/linux-6.12.1/drivers/md/dm-vdo/
Dmessage-stats.c15 static void write_u64(char *prefix, u64 value, char *suffix, char **buf, in write_u64()
26 static void write_u32(char *prefix, u32 value, char *suffix, char **buf, in write_u32()
38 char **buf, unsigned int *maxlen) in write_block_count_t()
48 static void write_string(char *prefix, char *value, char *suffix, char **buf, in write_string()
59 static void write_bool(char *prefix, bool value, char *suffix, char **buf, in write_bool()
70 static void write_u8(char *prefix, u8 value, char *suffix, char **buf, in write_u8()
83 char *suffix, char **buf, in write_block_allocator_statistics()
97 char *suffix, char **buf, unsigned int *maxlen) in write_commit_statistics()
111 char *suffix, char **buf, in write_recovery_journal_statistics()
128 char *suffix, char **buf, unsigned int *maxlen) in write_packer_statistics()
[all …]
/linux-6.12.1/drivers/hwtracing/coresight/
Dcoresight-etm3x-sysfs.c14 struct device_attribute *attr, char *buf) in nr_addr_cmp_show()
25 struct device_attribute *attr, char *buf) in nr_cntr_show()
35 struct device_attribute *attr, char *buf) in nr_ctxid_cmp_show()
46 struct device_attribute *attr, char *buf) in etmsr_show()
67 const char *buf, size_t size) in reset_store()
97 struct device_attribute *attr, char *buf) in mode_show()
109 const char *buf, size_t size) in mode_store()
182 struct device_attribute *attr, char *buf) in trigger_event_show()
194 const char *buf, size_t size) in trigger_event_store()
212 struct device_attribute *attr, char *buf) in enable_event_show()
[all …]
Dcoresight-etm4x-sysfs.c59 char *buf) in nr_pe_cmp_show()
71 char *buf) in nr_addr_cmp_show()
83 char *buf) in nr_cntr_show()
95 char *buf) in nr_ext_inp_show()
107 char *buf) in numcidc_show()
119 char *buf) in numvmidc_show()
131 char *buf) in nrseqstate_show()
143 char *buf) in nr_resource_show()
155 char *buf) in nr_ss_cmp_show()
167 const char *buf, size_t size) in reset_store()
[all …]
/linux-6.12.1/drivers/ufs/core/
Dufs-sysfs.c86 const char *buf, size_t count, in ufs_sysfs_pm_lvl_store()
114 struct device_attribute *attr, char *buf) in rpm_lvl_show()
122 struct device_attribute *attr, const char *buf, size_t count) in rpm_lvl_store()
128 struct device_attribute *attr, char *buf) in rpm_target_dev_state_show()
137 struct device_attribute *attr, char *buf) in rpm_target_link_state_show()
146 struct device_attribute *attr, char *buf) in spm_lvl_show()
154 struct device_attribute *attr, const char *buf, size_t count) in spm_lvl_store()
160 struct device_attribute *attr, char *buf) in spm_target_dev_state_show()
169 struct device_attribute *attr, char *buf) in spm_target_link_state_show()
220 struct device_attribute *attr, char *buf) in auto_hibern8_show()
[all …]
/linux-6.12.1/drivers/net/dsa/sja1105/
Dsja1105_static_config.c17 void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t len) in sja1105_pack()
39 void sja1105_unpack(const void *buf, u64 *val, int start, int end, size_t len) in sja1105_unpack()
56 void sja1105_packing(void *buf, u64 *val, int start, int end, in sja1105_packing()
79 u32 sja1105_crc32(const void *buf, size_t len) in sja1105_crc32()
94 static size_t sja1105et_avb_params_entry_packing(void *buf, void *entry_ptr, in sja1105et_avb_params_entry_packing()
105 size_t sja1105pqrs_avb_params_entry_packing(void *buf, void *entry_ptr, in sja1105pqrs_avb_params_entry_packing()
117 static size_t sja1105et_general_params_entry_packing(void *buf, void *entry_ptr, in sja1105et_general_params_entry_packing()
149 size_t sja1105pqrs_general_params_entry_packing(void *buf, void *entry_ptr, in sja1105pqrs_general_params_entry_packing()
183 size_t sja1110_general_params_entry_packing(void *buf, void *entry_ptr, in sja1110_general_params_entry_packing()
221 sja1105_l2_forwarding_params_entry_packing(void *buf, void *entry_ptr, in sja1105_l2_forwarding_params_entry_packing()
[all …]
/linux-6.12.1/drivers/base/power/
Dsysfs.c102 char *buf) in control_show()
109 const char * buf, size_t n) in control_store()
126 char *buf) in runtime_active_time_show()
139 char *buf) in runtime_suspended_time_show()
151 struct device_attribute *attr, char *buf) in runtime_status_show()
184 char *buf) in autosuspend_delay_ms_show()
193 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store()
213 char *buf) in pm_qos_resume_latency_us_show()
227 const char *buf, size_t n) in pm_qos_resume_latency_us_store()
257 char *buf) in pm_qos_latency_tolerance_us_show()
[all …]
/linux-6.12.1/drivers/nvme/host/
Dsysfs.c14 struct device_attribute *attr, const char *buf, in nvme_sysfs_reset()
28 struct device_attribute *attr, const char *buf, in nvme_sysfs_rescan()
39 struct device_attribute *attr, char *buf) in nvme_adm_passthru_err_log_enabled_show()
48 struct device_attribute *attr, const char *buf, size_t count) in nvme_adm_passthru_err_log_enabled_store()
73 struct device_attribute *attr, char *buf) in nvme_io_passthru_err_log_enabled_show()
81 struct device_attribute *attr, const char *buf, size_t count) in nvme_io_passthru_err_log_enabled_store()
104 char *buf) in wwid_show()
135 char *buf) in nguid_show()
142 char *buf) in uuid_show()
159 char *buf) in eui_show()
[all …]
/linux-6.12.1/drivers/accel/habanalabs/common/
Dsysfs.c13 static ssize_t clk_max_freq_mhz_show(struct device *dev, struct device_attribute *attr, char *buf) in clk_max_freq_mhz_show()
31 const char *buf, size_t count) in clk_max_freq_mhz_store()
56 static ssize_t clk_cur_freq_mhz_show(struct device *dev, struct device_attribute *attr, char *buf) in clk_cur_freq_mhz_show()
80 static ssize_t vrm_ver_show(struct device *dev, struct device_attribute *attr, char *buf) in vrm_ver_show()
117 char *buf) in uboot_ver_show()
125 struct device_attribute *attr, char *buf) in armcp_kernel_ver_show()
133 char *buf) in armcp_ver_show()
141 char *buf) in cpld_ver_show()
151 struct device_attribute *attr, char *buf) in cpucp_kernel_ver_show()
159 char *buf) in cpucp_ver_show()
[all …]
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_tmpl.c15 qla27xx_insert16(uint16_t value, void *buf, ulong *len) in qla27xx_insert16()
25 qla27xx_insert32(uint32_t value, void *buf, ulong *len) in qla27xx_insert32()
35 qla27xx_insertbuf(void *mem, ulong size, void *buf, ulong *len) in qla27xx_insertbuf()
45 qla27xx_read8(void __iomem *window, void *buf, ulong *len) in qla27xx_read8()
56 qla27xx_read16(void __iomem *window, void *buf, ulong *len) in qla27xx_read16()
67 qla27xx_read32(void __iomem *window, void *buf, ulong *len) in qla27xx_read32()
87 uint offset, void *buf, ulong *len) in qla27xx_read_reg()
96 uint offset, uint32_t data, void *buf) in qla27xx_write_reg()
107 uint32_t addr, uint offset, uint count, uint width, void *buf, in qla27xx_read_window()
123 qla27xx_skip_entry(struct qla27xx_fwdt_entry *ent, void *buf) in qla27xx_skip_entry()
[all …]
/linux-6.12.1/fs/xfs/
Dxfs_sysfs.c43 char *buf) in xfs_sysfs_object_show()
54 const char *buf, in xfs_sysfs_object_store()
84 const char *buf, in bug_on_assert_store()
107 char *buf) in bug_on_assert_show()
116 const char *buf, in log_recovery_delay_store()
137 char *buf) in log_recovery_delay_show()
146 const char *buf, in mount_delay_store()
167 char *buf) in mount_delay_show()
176 const char *buf, in always_cow_store()
190 char *buf) in always_cow_show()
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath11k/
Ddebugfs_htt_stats.c43 u8 *buf = stats_req->buf; in htt_print_stats_string_tlv() local
74 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_cmn_tlv() local
194 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_urrn_tlv_v() local
218 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_flush_tlv_v() local
242 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_sifs_tlv_v() local
266 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_phy_err_tlv_v() local
290 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_sifs_hist_tlv_v() local
314 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_tx_ppdu_stats_tlv_v() local
350 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_tried_mpdu_cnt_hist_tlv_v() local
375 u8 *buf = stats_req->buf; in htt_print_hw_stats_intr_misc_tlv() local
[all …]

12345678910>>...259