Home
last modified time | relevance | path

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

12

/lib/
Dtest_firmware.c108 static ssize_t test_fw_misc_read(struct file *f, char __user *buf, in test_fw_misc_read()
199 const char *buf, size_t count) in reset_store()
227 char *buf) in config_show()
270 const char *buf, size_t count) in config_name_store()
297 static int test_dev_config_update_bool(const char *buf, size_t size, in test_dev_config_update_bool()
313 test_dev_config_show_bool(char *buf, in test_dev_config_show_bool()
325 static ssize_t test_dev_config_show_int(char *buf, int cfg) in test_dev_config_show_int()
336 static int test_dev_config_update_u8(const char *buf, size_t size, u8 *cfg) in test_dev_config_update_u8()
356 static ssize_t test_dev_config_show_u8(char *buf, u8 cfg) in test_dev_config_show_u8()
369 char *buf) in config_name_show()
[all …]
Dvsprintf.c185 char *put_dec_trunc8(char *buf, unsigned r) in put_dec_trunc8()
227 char *put_dec_full8(char *buf, unsigned r) in put_dec_full8()
253 char *put_dec(char *buf, unsigned long long n) in put_dec()
267 put_dec_full4(char *buf, unsigned r) in put_dec_full4()
287 unsigned put_dec_helper4(char *buf, unsigned x) in put_dec_helper4()
301 char *put_dec(char *buf, unsigned long long n) in put_dec()
342 int num_to_str(char *buf, int size, unsigned long long num, unsigned int width) in num_to_str()
416 char *number(char *buf, char *end, unsigned long long num, in number()
537 char *special_hex_number(char *buf, char *end, unsigned long long num, int size) in special_hex_number()
550 static void move_right(char *buf, char *end, unsigned len, unsigned spaces) in move_right()
[all …]
Dtest_kmod.c461 char *buf) in config_show()
566 const char *buf, size_t count) in trigger_config_store()
654 const char *buf, size_t count) in config_test_driver_store()
689 char *buf) in config_test_driver_show()
701 const char *buf, size_t count) in config_test_fs_store()
720 char *buf) in config_test_fs_show()
847 const char *buf, size_t count) in reset_store()
875 const char *buf, size_t size, in test_dev_config_update_uint_sync()
912 const char *buf, size_t size, in test_dev_config_update_uint_range()
936 const char *buf, size_t size, in test_dev_config_update_int()
[all …]
Ddecompress_inflate.c38 STATIC int INIT __gunzip(unsigned char *buf, long len, in __gunzip()
187 STATIC int INIT gunzip(unsigned char *buf, long len, in gunzip()
197 STATIC int INIT __decompress(unsigned char *buf, long len, in __decompress()
Dtest_meminit.c66 void *buf; in do_alloc_pages_order() local
100 void *buf; in do_kmalloc_size() local
117 void *buf; in do_vmalloc_size() local
166 static bool __init check_buf(void *buf, int size, bool want_ctor, in check_buf()
200 void *buf, *buf_copy; in do_kmem_cache_size() local
256 void *buf, *buf_contents, *saved_ptr; in do_kmem_cache_rcu_persistent() local
Dkfifo.c114 const void *buf, unsigned int len) in __kfifo_in()
153 void *buf, unsigned int len) in __kfifo_out_peek()
167 void *buf, unsigned int len) in __kfifo_out()
295 static int setup_sgl_buf(struct scatterlist *sgl, void *buf, in setup_sgl_buf()
438 unsigned int __kfifo_in_r(struct __kfifo *fifo, const void *buf, in __kfifo_in_r()
453 void *buf, unsigned int len, size_t recsize, unsigned int *n) in kfifo_out_copy_r()
464 unsigned int __kfifo_out_peek_r(struct __kfifo *fifo, void *buf, in __kfifo_out_peek_r()
476 unsigned int __kfifo_out_r(struct __kfifo *fifo, void *buf, in __kfifo_out_r()
Dtest_hash.c49 fill_buf(char *buf, size_t len, u32 seed) in fill_buf()
146 char buf[SIZE+1]; in test_hash_init() local
Dtest_printf.c219 char buf[PLAIN_BUF_SIZE]; in plain_format() local
257 plain_hash_to_buffer(const void *p, char *buf, size_t len) in plain_hash_to_buffer()
278 char buf[PLAIN_BUF_SIZE]; in plain_hash() local
317 char buf[PLAIN_BUF_SIZE]; in test_hashed() local
378 const char buf[3] = {0xc0, 0xff, 0xee}; in hex_string() local
Dkobject_uevent.c62 static int kobject_action_type(const char *buf, size_t count, in kobject_action_type()
99 static const char *action_arg_word_end(const char *buf, const char *buf_end, in action_arg_word_end()
114 static int kobject_action_args(const char *buf, size_t count, in kobject_action_args()
192 int kobject_synth_uevent(struct kobject *kobj, const char *buf, size_t count) in kobject_synth_uevent()
685 char buf[sizeof("SEQNUM=") + 21]; in uevent_net_broadcast() local
Dscatterlist.c138 void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen) in sg_init_one()
840 size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents, void *buf, in sg_copy_buffer()
887 const void *buf, size_t buflen) in sg_copy_from_buffer()
904 void *buf, size_t buflen) in sg_copy_to_buffer()
922 const void *buf, size_t buflen, off_t skip) in sg_pcopy_from_buffer()
940 void *buf, size_t buflen, off_t skip) in sg_pcopy_to_buffer()
Dhexdump.c105 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer()
241 const void *buf, size_t len, bool ascii) in print_hex_dump()
Ddynamic_debug.c91 static char *ddebug_describe_flags(struct _ddebug *dp, char *buf, in ddebug_describe_flags()
222 static int ddebug_tokenize(char *buf, char *words[], int maxwords) in ddebug_tokenize()
521 static char *dynamic_emit_prefix(const struct _ddebug *desc, char *buf) in dynamic_emit_prefix()
557 char buf[PREFIX_SIZE]; in __dynamic_pr_debug() local
590 char buf[PREFIX_SIZE]; in __dynamic_dev_dbg() local
619 char buf[PREFIX_SIZE]; in __dynamic_netdev_dbg() local
655 char buf[PREFIX_SIZE]; in __dynamic_ibdev_dbg() local
Dbitmap.c376 int __bitmap_parse(const char *buf, unsigned int buflen, in __bitmap_parse()
490 int bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp, in bitmap_print_to_pagebuf()
642 int bitmap_parselist(const char *buf, unsigned long *maskp, int nmaskbits) in bitmap_parselist()
687 char *buf; in bitmap_parselist_user() local
721 static int bitmap_pos_to_ord(const unsigned long *buf, unsigned int pos, unsigned int nbits) in bitmap_pos_to_ord()
747 unsigned int bitmap_ord_to_pos(const unsigned long *buf, unsigned int ord, unsigned int nbits) in bitmap_ord_to_pos()
1197 void bitmap_from_arr32(unsigned long *bitmap, const u32 *buf, unsigned int nbits) in bitmap_from_arr32()
1220 void bitmap_to_arr32(u32 *buf, const unsigned long *bitmap, unsigned int nbits) in bitmap_to_arr32()
Dparser.c129 char *buf; in match_number() local
161 char *buf; in match_u64int() local
Ddecompress_unxz.c192 static void memzero(void *buf, size_t size) in memzero()
398 STATIC int INIT __decompress(unsigned char *buf, long len, in __decompress()
Dtest_strscpy.c36 char buf[6]; in tc() local
Drandom32.c101 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t bytes) in prandom_bytes_state()
127 void prandom_bytes(void *buf, size_t bytes) in prandom_bytes()
Dtest_uuid.c66 char buf[48]; in test_uuid_test() local
Ddecompress_unlz4.c199 STATIC int INIT __decompress(unsigned char *buf, long in_len, in __decompress()
/lib/xz/
Dxz_dec_bcj.c74 uint8_t buf[16]; member
88 static size_t bcj_x86(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_x86()
160 static size_t bcj_powerpc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_powerpc()
181 static size_t bcj_ia64(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_ia64()
265 static size_t bcj_arm(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_arm()
288 static size_t bcj_armthumb(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_armthumb()
316 static size_t bcj_sparc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_sparc()
346 uint8_t *buf, size_t *pos, size_t size) in bcj_apply()
Dxz_crc32.c49 XZ_EXTERN uint32_t xz_crc32(const uint8_t *buf, size_t size, uint32_t crc) in xz_crc32()
Dxz_stream.h16 # define xz_crc32(buf, size, crc) \ argument
Dxz_dec_test.c102 static ssize_t xz_dec_test_write(struct file *file, const char __user *buf, in xz_dec_test_write()
/lib/zlib_inflate/
Dinfutil.c10 const void *buf, unsigned int len) in zlib_inflate_blob()
/lib/mpi/
Dmpicoder.c143 int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes, in mpi_read_buffer()
205 uint8_t *buf; in mpi_get_buffer() local

12