Home
last modified time | relevance | path

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

12345678910>>...18

/arch/powerpc/platforms/pseries/
Dpapr-sysparm.c16 struct papr_sysparm_buf *buf = kzalloc(sizeof(*buf), GFP_KERNEL); in papr_sysparm_buf_alloc() local
21 void papr_sysparm_buf_free(struct papr_sysparm_buf *buf) in papr_sysparm_buf_free()
26 static size_t papr_sysparm_buf_get_length(const struct papr_sysparm_buf *buf) in papr_sysparm_buf_get_length()
31 static void papr_sysparm_buf_set_length(struct papr_sysparm_buf *buf, size_t length) in papr_sysparm_buf_set_length()
44 static void papr_sysparm_buf_clamp_length(struct papr_sysparm_buf *buf) in papr_sysparm_buf_clamp_length()
53 static bool papr_sysparm_buf_can_submit(const struct papr_sysparm_buf *buf) in papr_sysparm_buf_can_submit()
91 int papr_sysparm_get(papr_sysparm_t param, struct papr_sysparm_buf *buf) in papr_sysparm_get()
147 int papr_sysparm_set(papr_sysparm_t param, const struct papr_sysparm_buf *buf) in papr_sysparm_set()
Dreconfig.c114 static char * parse_next_property(char *buf, char *end, char **name, int *length, in parse_next_property()
194 static int do_add_node(char *buf, size_t bufsize) in do_add_node()
240 static int do_remove_node(char *buf) in do_remove_node()
252 static char *parse_node(char *buf, size_t bufsize, struct device_node **npp) in parse_node()
272 static int do_add_property(char *buf, size_t bufsize) in do_add_property()
297 static int do_remove_property(char *buf, size_t bufsize) in do_remove_property()
316 static int do_update_property(char *buf, size_t bufsize) in do_update_property()
358 static ssize_t ofdt_write(struct file *file, const char __user *buf, size_t count, in ofdt_write()
Dhvconsole.c28 int hvc_get_chars(uint32_t vtermno, char *buf, int count) in hvc_get_chars()
55 int hvc_put_chars(uint32_t vtermno, const char *buf, int count) in hvc_put_chars()
/arch/mips/include/asm/
Duasm.h212 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument
213 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument
214 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument
215 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
216 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument
217 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument
218 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument
219 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument
220 # define UASM_i_SC(buf, rs, rt, off) uasm_i_scd(buf, rs, rt, off) argument
221 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument
[all …]
/arch/powerpc/platforms/cell/
Dcbe_thermal.c88 char *buf) in spu_show_temp()
100 static ssize_t show_throttle(struct cbe_pmd_regs __iomem *pmd_regs, char *buf, int pos) in show_throttle()
112 static ssize_t store_throttle(struct cbe_pmd_regs __iomem *pmd_regs, const char *buf, size_t size, … in store_throttle()
138 struct device_attribute *attr, char *buf) in spu_show_throttle_end()
144 struct device_attribute *attr, char *buf) in spu_show_throttle_begin()
150 struct device_attribute *attr, char *buf) in spu_show_throttle_full_stop()
156 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_end()
162 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_begin()
168 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_full_stop()
173 static ssize_t ppe_show_temp(struct device *dev, char *buf, int pos) in ppe_show_temp()
[all …]
/arch/s390/kernel/
Duv.c486 struct kobj_attribute *attr, char *buf) in uv_query_facilities()
499 struct kobj_attribute *attr, char *buf) in uv_query_supp_se_hdr_ver()
508 struct kobj_attribute *attr, char *buf) in uv_query_supp_se_hdr_pcf()
517 struct kobj_attribute *attr, char *buf) in uv_query_dump_cpu_len()
526 struct kobj_attribute *attr, char *buf) in uv_query_dump_storage_state_len()
535 struct kobj_attribute *attr, char *buf) in uv_query_dump_finalize_len()
544 struct kobj_attribute *attr, char *buf) in uv_query_feature_indications()
553 struct kobj_attribute *attr, char *buf) in uv_query_max_guest_cpus()
562 struct kobj_attribute *attr, char *buf) in uv_query_max_guest_vms()
571 struct kobj_attribute *attr, char *buf) in uv_query_max_guest_addr()
[all …]
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()
/arch/m68k/include/asm/
Draw_io.h101 static inline void raw_insb(volatile u8 __iomem *port, u8 *buf, unsigned int len) in raw_insb()
109 static inline void raw_outsb(volatile u8 __iomem *port, const u8 *buf, in raw_outsb()
149 static inline void raw_insw(volatile u16 __iomem *port, u16 *buf, unsigned int nr) in raw_insw()
188 static inline void raw_outsw(volatile u16 __iomem *port, const u16 *buf, in raw_outsw()
228 static inline void raw_insl(volatile u32 __iomem *port, u32 *buf, unsigned int nr) in raw_insl()
267 static inline void raw_outsl(volatile u32 __iomem *port, const u32 *buf, in raw_outsl()
308 static inline void raw_insw_swapw(volatile u16 __iomem *port, u16 *buf, in raw_insw_swapw()
361 static inline void raw_outsw_swapw(volatile u16 __iomem *port, const u16 *buf, in raw_outsw_swapw()
416 static inline void raw_rom_insb(volatile u8 __iomem *port, u8 *buf, unsigned int len) in raw_rom_insb()
424 static inline void raw_rom_outsb(volatile u8 __iomem *port, const u8 *buf, in raw_rom_outsb()
[all …]
Dparport.h17 #define insl(port,buf,len) isa_insb(port,buf,(len)<<2) argument
18 #define outsl(port,buf,len) isa_outsb(port,buf,(len)<<2) argument
Dio_mm.h271 #define isa_insb(port, buf, nr) raw_insb(isa_itb(port), (u8 *)(buf), (nr)) argument
272 #define isa_outsb(port, buf, nr) raw_outsb(isa_itb(port), (u8 *)(buf), (nr)) argument
274 #define isa_insw(port, buf, nr) \ argument
278 #define isa_outsw(port, buf, nr) \ argument
282 #define isa_insl(port, buf, nr) \ argument
286 #define isa_outsl(port, buf, nr) \ argument
297 #define isa_rom_insb(port, buf, nr) raw_rom_insb(isa_itb(port), (u8 *)(buf), (nr)) argument
299 #define isa_rom_insw(port, buf, nr) \ argument
303 #define isa_rom_outsb(port, buf, nr) raw_rom_outsb(isa_itb(port), (u8 *)(buf), (nr)) argument
305 #define isa_rom_outsw(port, buf, nr) \ argument
[all …]
/arch/alpha/kernel/
Dbugs.c20 struct device_attribute *attr, char *buf) in cpu_show_meltdown()
29 struct device_attribute *attr, char *buf) in cpu_show_spectre_v1()
38 struct device_attribute *attr, char *buf) in cpu_show_spectre_v2()
/arch/powerpc/kernel/
Dio.c27 void _insb(const volatile u8 __iomem *port, void *buf, long count) in _insb()
44 void _outsb(volatile u8 __iomem *port, const void *buf, long count) in _outsb()
58 void _insw_ns(const volatile u16 __iomem *port, void *buf, long count) in _insw_ns()
75 void _outsw_ns(volatile u16 __iomem *port, const void *buf, long count) in _outsw_ns()
89 void _insl_ns(const volatile u32 __iomem *port, void *buf, long count) in _insl_ns()
106 void _outsl_ns(volatile u32 __iomem *port, const void *buf, long count) in _outsl_ns()
Dsignal.c32 u64 buf[ELF_NFPREG]; in copy_fpr_to_user() local
45 u64 buf[ELF_NFPREG]; in copy_fpr_from_user() local
60 u64 buf[ELF_NVSRHALFREG]; in copy_vsx_to_user() local
72 u64 buf[ELF_NVSRHALFREG]; in copy_vsx_from_user() local
86 u64 buf[ELF_NFPREG]; in copy_ckfpr_to_user() local
99 u64 buf[ELF_NFPREG]; in copy_ckfpr_from_user() local
114 u64 buf[ELF_NVSRHALFREG]; in copy_ckvsx_to_user() local
126 u64 buf[ELF_NVSRHALFREG]; in copy_ckvsx_from_user() local
Dsysfs.c51 const char *buf, in store_smt_snooze_delay()
61 char *buf) in show_smt_snooze_delay()
183 struct device_attribute *attr, char *buf) in show_dscr_default()
198 struct device_attribute *attr, const char *buf, in store_dscr_default()
265 struct device_attribute *attr, char *buf) in show_pw20_state()
294 const char *buf, size_t count) in store_pw20_state()
311 struct device_attribute *attr, char *buf) in show_pw20_wait_time()
361 const char *buf, size_t count) in store_pw20_wait_time()
387 struct device_attribute *attr, char *buf) in show_altivec_idle()
416 const char *buf, size_t count) in store_altivec_idle()
[all …]
/arch/um/include/shared/
Dlongjmp.h12 #define UML_LONGJMP(buf, val) do { \ argument
16 #define UML_SETJMP(buf) ({ \ argument
/arch/sh/drivers/dma/
Ddma-sysfs.c24 struct device_attribute *attr, char *buf) in dma_show_devices()
65 struct device_attribute *attr, char *buf) in dma_show_dev_id()
73 const char *buf, size_t count) in dma_store_dev_id()
84 const char *buf, size_t count) in dma_store_config()
98 struct device_attribute *attr, char *buf) in dma_show_mode()
106 const char *buf, size_t count) in dma_store_mode()
/arch/mips/mm/
Dpage.c103 pg_addiu(u32 **buf, unsigned int reg1, unsigned int reg2, unsigned int off) in pg_addiu()
233 static void build_clear_store(u32 **buf, int off) in build_clear_store()
242 static inline void build_clear_pref(u32 **buf, int off) in build_clear_pref()
279 u32 *buf = &__clear_page_start; in build_clear_page() local
369 static void build_copy_load(u32 **buf, int reg, int off) in build_copy_load()
378 static void build_copy_store(u32 **buf, int reg, int off) in build_copy_store()
387 static inline void build_copy_load_pref(u32 **buf, int off) in build_copy_load_pref()
396 static inline void build_copy_store_pref(u32 **buf, int off) in build_copy_store_pref()
428 u32 *buf = &__copy_page_start; in build_copy_page() local
/arch/sparc/prom/
Dconsole_32.c22 static int prom_nbputchar(const char *buf) in prom_nbputchar()
47 void prom_console_write_buf(const char *buf, int len) in prom_console_write_buf()
Dconsole_64.c16 static int __prom_console_write_buf(const char *buf, int len) in __prom_console_write_buf()
37 void prom_console_write_buf(const char *buf, int len) in prom_console_write_buf()
/arch/x86/kernel/fpu/
Dsignal.c69 static inline bool save_fsave_header(struct task_struct *tsk, void __user *buf) in save_fsave_header()
117 static inline bool save_xstate_epilog(void __user *buf, int ia32_frame, in save_xstate_epilog()
159 static inline int copy_fpregs_to_sigframe(struct xregs_state __user *buf) in copy_fpregs_to_sigframe()
188 bool copy_fpstate_to_sigframe(void __user *buf, void __user *buf_fx, int size) in copy_fpstate_to_sigframe()
251 static int __restore_fpregs_from_user(void __user *buf, u64 ufeatures, in __restore_fpregs_from_user()
277 static bool restore_fpregs_from_user(void __user *buf, u64 xrestore, bool fx_only) in restore_fpregs_from_user()
335 static bool __fpu_restore_sig(void __user *buf, void __user *buf_fx, in __fpu_restore_sig()
457 bool fpu__restore_sig(void __user *buf, int ia32_frame) in fpu__restore_sig()
/arch/powerpc/kernel/ptrace/
Dptrace-vsx.c24 u64 buf[33]; in fpr_get() local
53 u64 buf[33]; in fpr_set() local
100 u64 buf[32]; in vsr_get() local
130 u64 buf[32]; in vsr_set() local
/arch/x86/events/intel/
Dpt.c93 char *buf) in pt_cap_show()
502 struct pt_buffer *buf = perf_get_aux(&pt->handle); in pt_config() local
623 static void pt_config_buffer(struct pt_buffer *buf) in pt_config_buffer()
700 static void topa_insert_table(struct pt_buffer *buf, struct topa *topa) in topa_insert_table()
746 static int topa_insert_pages(struct pt_buffer *buf, int cpu, gfp_t gfp) in topa_insert_pages()
789 static void pt_topa_dump(struct pt_buffer *buf) in pt_topa_dump()
824 static void pt_buffer_advance(struct pt_buffer *buf) in pt_buffer_advance()
847 struct pt_buffer *buf = perf_get_aux(&pt->handle); in pt_update_head() local
878 static void *pt_buffer_region(struct pt_buffer *buf) in pt_buffer_region()
887 static size_t pt_buffer_region_size(struct pt_buffer *buf) in pt_buffer_region_size()
[all …]
/arch/s390/pci/
Dpci_sysfs.c44 struct device_attribute *attr, char *buf) in mio_enabled_show()
53 const char *buf, size_t count) in recover_store()
124 struct bin_attribute *attr, char *buf, in util_string_read()
137 struct bin_attribute *attr, char *buf, in report_error_write()
156 struct device_attribute *attr, char *buf) in uid_is_unique_show()
165 struct device_attribute *attr, char *buf) in index_show()
/arch/arm/kernel/
Dearly_printk.c17 char buf[128]; in early_write() local
40 static int __init setup_early_printk(char *buf) in setup_early_printk()
/arch/ia64/kernel/
Dtopology.c171 char *buf) in show_coherency_line_size()
177 char *buf) in show_ways_of_associativity()
182 static ssize_t show_attributes(struct cache_info *this_leaf, char *buf) in show_attributes()
189 static ssize_t show_size(struct cache_info *this_leaf, char *buf) in show_size()
194 static ssize_t show_number_of_sets(struct cache_info *this_leaf, char *buf) in show_number_of_sets()
203 static ssize_t show_shared_cpu_map(struct cache_info *this_leaf, char *buf) in show_shared_cpu_map()
213 static ssize_t show_type(struct cache_info *this_leaf, char *buf) in show_type()
219 static ssize_t show_level(struct cache_info *this_leaf, char *buf) in show_level()
262 static ssize_t ia64_cache_show(struct kobject * kobj, struct attribute * attr, char * buf) in ia64_cache_show()

12345678910>>...18