Home
last modified time | relevance | path

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

12345678910>>...19

/arch/mips/include/asm/
Duasm.h200 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument
201 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument
202 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument
203 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
204 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument
205 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument
206 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument
207 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument
208 # define UASM_i_SC(buf, rs, rt, off) uasm_i_scd(buf, rs, rt, off) argument
209 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument
[all …]
/arch/powerpc/platforms/cell/
Dcbe_thermal.c101 char *buf) in spu_show_temp()
113 static ssize_t show_throttle(struct cbe_pmd_regs __iomem *pmd_regs, char *buf, int pos) in show_throttle()
125 static ssize_t store_throttle(struct cbe_pmd_regs __iomem *pmd_regs, const char *buf, size_t size, … in store_throttle()
151 struct device_attribute *attr, char *buf) in spu_show_throttle_end()
157 struct device_attribute *attr, char *buf) in spu_show_throttle_begin()
163 struct device_attribute *attr, char *buf) in spu_show_throttle_full_stop()
169 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_end()
175 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_begin()
181 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_full_stop()
186 static ssize_t ppe_show_temp(struct device *dev, char *buf, int pos) in ppe_show_temp()
[all …]
/arch/x86/kernel/cpu/
Dperf_event_intel_pt.c90 char *buf) in pt_cap_show()
297 static void pt_config_buffer(void *buf, unsigned int topa_idx, in pt_config_buffer()
388 static void topa_insert_table(struct pt_buffer *buf, struct topa *topa) in topa_insert_table()
434 static int topa_insert_pages(struct pt_buffer *buf, gfp_t gfp) in topa_insert_pages()
471 static void pt_topa_dump(struct pt_buffer *buf) in pt_topa_dump()
503 static void pt_buffer_advance(struct pt_buffer *buf) in pt_buffer_advance()
526 struct pt_buffer *buf = perf_get_aux(&pt->handle); in pt_update_head() local
552 static void *pt_buffer_region(struct pt_buffer *buf) in pt_buffer_region()
561 static size_t pt_buffer_region_size(struct pt_buffer *buf) in pt_buffer_region_size()
572 struct pt_buffer *buf = perf_get_aux(&pt->handle); in pt_handle_status() local
[all …]
Dperf_event_intel_bts.c61 struct bts_phys buf[0]; member
74 struct bts_buffer *buf = data; in bts_buffer_free_aux() local
91 struct bts_buffer *buf; in bts_buffer_setup_aux() local
151 static unsigned long bts_buffer_offset(struct bts_buffer *buf, unsigned int idx) in bts_buffer_offset()
157 bts_config_buffer(struct bts_buffer *buf) in bts_config_buffer()
196 static bool bts_buffer_is_full(struct bts_buffer *buf, struct bts_ctx *bts) in bts_buffer_is_full()
212 struct bts_buffer *buf = perf_get_aux(&bts->handle); in bts_update() local
241 struct bts_buffer *buf = perf_get_aux(&bts->handle); in __bts_event_start() local
322 bts_buffer_reset(struct bts_buffer *buf, struct perf_output_handle *handle) in bts_buffer_reset()
403 struct bts_buffer *buf; in intel_bts_interrupt() local
[all …]
/arch/s390/oprofile/
Dinit.c124 static ssize_t hwsampler_read(struct file *file, char __user *buf, in hwsampler_read()
130 static ssize_t hwsampler_write(struct file *file, char const __user *buf, in hwsampler_write()
172 static ssize_t hw_interval_read(struct file *file, char __user *buf, in hw_interval_read()
179 static ssize_t hw_interval_write(struct file *file, char const __user *buf, in hw_interval_write()
215 static ssize_t hwsampler_zero_read(struct file *file, char __user *buf, in hwsampler_zero_read()
221 static ssize_t hwsampler_zero_write(struct file *file, char const __user *buf, in hwsampler_zero_write()
245 static ssize_t hwsampler_kernel_read(struct file *file, char __user *buf, in hwsampler_kernel_read()
252 static ssize_t hwsampler_kernel_write(struct file *file, char const __user *buf, in hwsampler_kernel_write()
280 static ssize_t hwsampler_user_read(struct file *file, char __user *buf, in hwsampler_user_read()
287 static ssize_t hwsampler_user_write(struct file *file, char const __user *buf, in hwsampler_user_write()
[all …]
/arch/m68k/include/asm/
Draw_io.h114 static inline void raw_insb(volatile u8 __iomem *port, u8 *buf, unsigned int len) in raw_insb()
122 static inline void raw_outsb(volatile u8 __iomem *port, const u8 *buf, in raw_outsb()
131 static inline void raw_insw(volatile u16 __iomem *port, u16 *buf, unsigned int nr) in raw_insw()
170 static inline void raw_outsw(volatile u16 __iomem *port, const u16 *buf, in raw_outsw()
210 static inline void raw_insl(volatile u32 __iomem *port, u32 *buf, unsigned int nr) in raw_insl()
249 static inline void raw_outsl(volatile u32 __iomem *port, const u32 *buf, in raw_outsl()
290 static inline void raw_insw_swapw(volatile u16 __iomem *port, u16 *buf, in raw_insw_swapw()
343 static inline void raw_outsw_swapw(volatile u16 __iomem *port, const u16 *buf, in raw_outsw_swapw()
398 static inline void raw_rom_insb(volatile u8 __iomem *port, u8 *buf, unsigned int len) in raw_rom_insb()
406 static inline void raw_rom_outsb(volatile u8 __iomem *port, const u8 *buf, in raw_rom_outsb()
[all …]
/arch/powerpc/kernel/
Dio.c31 void _insb(const volatile u8 __iomem *port, void *buf, long count) in _insb()
48 void _outsb(volatile u8 __iomem *port, const void *buf, long count) in _outsb()
62 void _insw_ns(const volatile u16 __iomem *port, void *buf, long count) in _insw_ns()
79 void _outsw_ns(volatile u16 __iomem *port, const void *buf, long count) in _outsw_ns()
93 void _insl_ns(const volatile u32 __iomem *port, void *buf, long count) in _insl_ns()
110 void _outsl_ns(volatile u32 __iomem *port, const void *buf, long count) in _outsl_ns()
Dsysfs.c42 const char *buf, in store_smt_snooze_delay()
59 char *buf) in show_smt_snooze_delay()
116 struct device_attribute *attr, char *buf) in show_pw20_state()
145 const char *buf, size_t count) in store_pw20_state()
162 struct device_attribute *attr, char *buf) in show_pw20_wait_time()
212 const char *buf, size_t count) in store_pw20_wait_time()
238 struct device_attribute *attr, char *buf) in show_altivec_idle()
267 const char *buf, size_t count) in store_altivec_idle()
284 struct device_attribute *attr, char *buf) in show_altivec_idle_wait_time()
334 const char *buf, size_t count) in store_altivec_idle_wait_time()
[all …]
/arch/x86/kernel/fpu/
Dsignal.c20 static inline int check_for_xstate(struct fxregs_state __user *buf, in check_for_xstate()
54 static inline int save_fsave_header(struct task_struct *tsk, void __user *buf) in save_fsave_header()
77 static inline int save_xstate_epilog(void __user *buf, int ia32_frame) in save_xstate_epilog()
117 static inline int copy_fpregs_to_sigframe(struct xregs_state __user *buf) in copy_fpregs_to_sigframe()
153 int copy_fpstate_to_sigframe(void __user *buf, void __user *buf_fx, int size) in copy_fpstate_to_sigframe()
229 static inline int copy_user_to_fpregs_zeroing(void __user *buf, u64 xbv, int fx_only) in copy_user_to_fpregs_zeroing()
248 static int __fpu__restore_sig(void __user *buf, void __user *buf_fx, int size) in __fpu__restore_sig()
357 int fpu__restore_sig(void __user *buf, int ia32_frame) in fpu__restore_sig()
/arch/sh/drivers/dma/
Ddma-sysfs.c27 struct device_attribute *attr, char *buf) in dma_show_devices()
62 struct device_attribute *attr, char *buf) in dma_show_dev_id()
70 const char *buf, size_t count) in dma_store_dev_id()
81 const char *buf, size_t count) in dma_store_config()
95 struct device_attribute *attr, char *buf) in dma_show_mode()
103 const char *buf, size_t count) in dma_store_mode()
/arch/avr32/kernel/
Dcpu.c30 struct device_attribute *attr, char *buf) in show_pc0event()
38 struct device_attribute *attr, const char *buf, in store_pc0event()
54 struct device_attribute *attr, char *buf) in show_pc0count()
63 const char *buf, size_t count) in store_pc0count()
77 struct device_attribute *attr, char *buf) in show_pc1event()
85 struct device_attribute *attr, const char *buf, in store_pc1event()
101 struct device_attribute *attr, char *buf) in show_pc1count()
109 struct device_attribute *attr, const char *buf, in store_pc1count()
124 struct device_attribute *attr, char *buf) in show_pccycles()
132 struct device_attribute *attr, const char *buf, in store_pccycles()
[all …]
/arch/um/include/shared/
Dlongjmp.h10 #define UML_LONGJMP(buf, val) do { \ argument
14 #define UML_SETJMP(buf) ({ \ argument
/arch/powerpc/platforms/pseries/
Dreconfig.c118 static char * parse_next_property(char *buf, char *end, char **name, int *length, in parse_next_property()
198 static int do_add_node(char *buf, size_t bufsize) in do_add_node()
244 static int do_remove_node(char *buf) in do_remove_node()
256 static char *parse_node(char *buf, size_t bufsize, struct device_node **npp) in parse_node()
276 static int do_add_property(char *buf, size_t bufsize) in do_add_property()
301 static int do_remove_property(char *buf, size_t bufsize) in do_remove_property()
323 static int do_update_property(char *buf, size_t bufsize) in do_update_property()
365 static ssize_t ofdt_write(struct file *file, const char __user *buf, size_t count, in ofdt_write()
/arch/mips/mm/
Dpage.c106 pg_addiu(u32 **buf, unsigned int reg1, unsigned int reg2, unsigned int off) in pg_addiu()
225 static void build_clear_store(u32 **buf, int off) in build_clear_store()
234 static inline void build_clear_pref(u32 **buf, int off) in build_clear_pref()
269 u32 *buf = &__clear_page_start; in build_clear_page() local
359 static void build_copy_load(u32 **buf, int reg, int off) in build_copy_load()
368 static void build_copy_store(u32 **buf, int reg, int off) in build_copy_store()
377 static inline void build_copy_load_pref(u32 **buf, int off) in build_copy_load_pref()
386 static inline void build_copy_store_pref(u32 **buf, int off) in build_copy_store_pref()
416 u32 *buf = &__copy_page_start; in build_copy_page() local
/arch/sparc/prom/
Dconsole_32.c21 static int prom_nbputchar(const char *buf) in prom_nbputchar()
46 void prom_console_write_buf(const char *buf, int len) in prom_console_write_buf()
Dconsole_64.c15 static int __prom_console_write_buf(const char *buf, int len) in __prom_console_write_buf()
36 void prom_console_write_buf(const char *buf, int len) in prom_console_write_buf()
/arch/s390/kernel/
Dnospec-sysfs.c8 struct device_attribute *attr, char *buf) in cpu_show_spectre_v1()
14 struct device_attribute *attr, char *buf) in cpu_show_spectre_v2()
Dtime.c1162 char *buf) in etr_stepping_port_show()
1171 char *buf) in etr_stepping_mode_show()
1199 char *buf) in etr_online_show()
1209 const char *buf, size_t count) in etr_online_store()
1249 char *buf) in etr_stepping_control_show()
1258 struct device_attribute *attr, char *buf) in etr_mode_code_show()
1270 struct device_attribute *attr, char *buf) in etr_untuned_show()
1282 struct device_attribute *attr, char *buf) in etr_network_id_show()
1294 struct device_attribute *attr, char *buf) in etr_id_show()
1306 struct device_attribute *attr, char *buf) in etr_port_number_show()
[all …]
/arch/mips/txx9/generic/
D7segled.c42 const char *buf, size_t size) in ascii_store()
51 const char *buf, size_t size) in raw_store()
63 char *buf) in map_seg7_show()
71 const char *buf, size_t size) in map_seg7_store()
/arch/m32r/platforms/oaks32r/
Dio.c53 unsigned char *buf = addr; in _ne_insb() local
155 unsigned char *buf = addr; in _insb() local
164 unsigned short *buf = addr; in _insw() local
180 unsigned long *buf = addr; in _insl() local
190 const unsigned char *buf = addr; in _outsb() local
206 const unsigned short *buf = addr; in _outsw() local
222 const unsigned long *buf = addr; in _outsl() local
/arch/m32r/platforms/mappi3/
Dio.c111 unsigned char *buf = addr; in _ne_insb() local
283 unsigned char *buf = addr; in _insb() local
296 unsigned char *buf = addr; in _insb() local
305 unsigned short *buf = addr; in _insw() local
333 unsigned long *buf = addr; in _insl() local
343 const unsigned char *buf = addr; in _outsb() local
371 const unsigned short *buf = addr; in _outsw() local
399 const unsigned long *buf = addr; in _outsl() local
/arch/m32r/platforms/opsput/
Dio.c100 unsigned char *buf = (unsigned char *)addr; in _ne_insb() local
268 unsigned char *buf = addr; in _insb() local
281 unsigned char *buf = addr; in _insb() local
290 unsigned short *buf = addr; in _insw() local
321 unsigned long *buf = addr; in _insl() local
331 const unsigned char *buf = addr; in _outsb() local
358 const unsigned short *buf = addr; in _outsw() local
389 const unsigned long *buf = addr; in _outsl() local
/arch/m32r/platforms/m32700ut/
Dio.c100 unsigned char *buf = (unsigned char *)addr; in _ne_insb() local
268 unsigned char *buf = addr; in _insb() local
281 unsigned char *buf = addr; in _insb() local
290 unsigned short *buf = addr; in _insw() local
321 unsigned long *buf = addr; in _insl() local
331 const unsigned char *buf = addr; in _outsb() local
358 const unsigned short *buf = addr; in _outsw() local
389 const unsigned long *buf = addr; in _outsl() local
/arch/mips/bcm47xx/
Dsprom.c34 const char *name, char *buf, int len) in create_key()
47 const char *name, char *buf, int len, bool fallback) in get_nvram_var()
96 char buf[100]; in NVRAM_READ_VAL() local
117 char buf[100]; in nvram_read_leddc() local
138 static void bcm47xx_nvram_parse_macaddr(char *buf, u8 macaddr[6]) in bcm47xx_nvram_parse_macaddr()
155 char buf[100]; in nvram_read_macaddr() local
168 char buf[10]; in nvram_read_alpha2() local
638 char buf[20]; in bcm47xx_sprom_apply_prefix_alias() local
662 char buf[10]; in bcm47xx_get_sprom_bcma() local
/arch/s390/crypto/
Dprng.c97 u8 *buf; member
178 char buf[16]; in prng_tdes_seed() local
308 u8 buf[sizeof(random)]; in prng_sha512_selftest() local
462 static int prng_sha512_generate(u8 *buf, size_t nbytes) in prng_sha512_generate()
688 char *buf) in prng_chunksize_show()
697 char *buf) in prng_counter_show()
716 char *buf) in prng_errorflag_show()
725 char *buf) in prng_mode_show()
737 const char *buf, size_t count) in prng_reseed_store()
751 char *buf) in prng_reseed_limit_show()
[all …]

12345678910>>...19