Home
last modified time | relevance | path

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

123

/lib/
Dtest_firmware.c130 char *buf; member
150 static ssize_t test_fw_misc_read(struct file *f, char __user *buf, in test_fw_misc_read()
251 const char *buf, size_t count) in reset_store()
279 char *buf) in config_show()
336 const char *buf, size_t count) in config_name_store()
363 static inline int __test_dev_config_update_bool(const char *buf, size_t size, in __test_dev_config_update_bool()
376 static int test_dev_config_update_bool(const char *buf, size_t size, in test_dev_config_update_bool()
388 static ssize_t test_dev_config_show_bool(char *buf, bool val) in test_dev_config_show_bool()
394 const char *buf, in __test_dev_config_update_size_t()
411 static ssize_t test_dev_config_show_size_t(char *buf, size_t val) in test_dev_config_show_size_t()
[all …]
Dvsprintf.c222 char *put_dec_trunc8(char *buf, unsigned r) in put_dec_trunc8()
264 char *put_dec_full8(char *buf, unsigned r) in put_dec_full8()
290 char *put_dec(char *buf, unsigned long long n) in put_dec()
304 put_dec_full4(char *buf, unsigned r) in put_dec_full4()
324 unsigned put_dec_helper4(char *buf, unsigned x) in put_dec_helper4()
338 char *put_dec(char *buf, unsigned long long n) in put_dec()
379 int num_to_str(char *buf, int size, unsigned long long num, unsigned int width) in num_to_str()
457 char *number(char *buf, char *end, unsigned long long num, in number()
578 char *special_hex_number(char *buf, char *end, unsigned long long num, int size) in special_hex_number()
591 static void move_right(char *buf, char *end, unsigned len, unsigned spaces) in move_right()
[all …]
Dbitmap-str.c28 char *buf; in bitmap_parse_user() local
58 int bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp, in bitmap_print_to_pagebuf()
79 static int bitmap_print_to_buf(bool list, char *buf, const unsigned long *maskp, in bitmap_print_to_buf()
180 int bitmap_print_bitmask_to_buf(char *buf, const unsigned long *maskp, in bitmap_print_bitmask_to_buf()
198 int bitmap_print_list_to_buf(char *buf, const unsigned long *maskp, in bitmap_print_list_to_buf()
374 int bitmap_parselist(const char *buf, unsigned long *maskp, int nmaskbits) in bitmap_parselist()
419 char *buf; in bitmap_parselist_user() local
Dtest_kmod.c454 char *buf) in config_show()
559 const char *buf, size_t count) in trigger_config_store()
647 const char *buf, size_t count) in config_test_driver_store()
682 char *buf) in config_test_driver_show()
694 const char *buf, size_t count) in config_test_fs_store()
713 char *buf) in config_test_fs_show()
840 const char *buf, size_t count) in reset_store()
868 const char *buf, size_t size, in test_dev_config_update_uint_sync()
902 const char *buf, size_t size, in test_dev_config_update_uint_range()
926 const char *buf, size_t size, in test_dev_config_update_int()
[all …]
Ddecompress_inflate.c42 static int INIT __gunzip(unsigned char *buf, long len, in __gunzip()
200 STATIC int INIT gunzip(unsigned char *buf, long len, in gunzip()
210 STATIC int INIT __decompress(unsigned char *buf, long len, in __decompress()
Dtest_meminit.c66 void *buf; in do_alloc_pages_order() local
107 void *buf; in do_kmalloc_size() local
131 void *buf; in do_vmalloc_size() local
187 static bool __init check_buf(void *buf, int size, bool want_ctor, in check_buf()
224 void *buf, *buf_copy; in do_kmem_cache_size() local
295 void *buf, *buf_contents, *saved_ptr; in do_kmem_cache_rcu_persistent() local
Dtest_hash.c46 static void fill_buf(char *buf, size_t len, u32 seed) in fill_buf()
146 char buf[SIZE+1]; in test_string_or() local
171 char buf[SIZE+1]; in test_hash_or() local
Dparser.c141 char buf[NUMBER_BUF_LEN]; in match_number() local
172 char buf[NUMBER_BUF_LEN]; in match_u64int() local
212 char buf[NUMBER_BUF_LEN]; in match_uint() local
Dkfifo.c115 const void *buf, unsigned int len) in __kfifo_in()
154 void *buf, unsigned int len) in __kfifo_out_peek()
181 void *buf, unsigned int len) in __kfifo_out()
313 const void *buf = fifo->data + data_offset; in setup_sgl_buf() local
434 unsigned int __kfifo_in_r(struct __kfifo *fifo, const void *buf, in __kfifo_in_r()
449 void *buf, unsigned int len, size_t recsize, unsigned int *n) in kfifo_out_copy_r()
460 unsigned int __kfifo_out_peek_r(struct __kfifo *fifo, void *buf, in __kfifo_out_peek_r()
485 unsigned int __kfifo_out_r(struct __kfifo *fifo, void *buf, in __kfifo_out_r()
Dbuildid.c15 void *buf; member
33 static void freader_init_from_file(struct freader *r, void *buf, u32 buf_sz, in freader_init_from_file()
295 char buf[MAX_FREADER_BUF_SZ]; in __build_id_parse() local
370 int build_id_parse_buf(const void *buf, unsigned char *build_id, u32 buf_size) in build_id_parse_buf()
Dkobject_uevent.c61 static int kobject_action_type(const char *buf, size_t count, in kobject_action_type()
98 static const char *action_arg_word_end(const char *buf, const char *buf_end, in action_arg_word_end()
113 static int kobject_action_args(const char *buf, size_t count, in kobject_action_args()
191 int kobject_synth_uevent(struct kobject *kobj, const char *buf, size_t count) in kobject_synth_uevent()
700 char buf[sizeof("SEQNUM=") + 21]; in uevent_net_broadcast() local
Dhexdump.c127 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer()
263 const void *buf, size_t len, bool ascii) in print_hex_dump()
Dtest_printf.c224 char buf[PLAIN_BUF_SIZE]; in plain_format() local
263 plain_hash_to_buffer(const void *p, char *buf, size_t len) in plain_hash_to_buffer()
284 char buf[PLAIN_BUF_SIZE]; in plain_hash() local
329 char buf[PLAIN_BUF_SIZE]; in test_hashed() local
404 const char buf[3] = {0xc0, 0xff, 0xee}; in hex_string() local
Ddynamic_debug.c101 struct flagsbuf { char buf[ARRAY_SIZE(opt_array)+1]; }; member
279 static int ddebug_tokenize(char *buf, char *words[], int maxwords) in ddebug_tokenize()
824 static char *__dynamic_emit_prefix(const struct _ddebug *desc, char *buf) in __dynamic_emit_prefix()
857 static inline char *dynamic_emit_prefix(struct _ddebug *desc, char *buf) in dynamic_emit_prefix()
868 char buf[PREFIX_SIZE] = ""; in __dynamic_pr_debug() local
901 char buf[PREFIX_SIZE] = ""; in __dynamic_dev_dbg() local
930 char buf[PREFIX_SIZE] = ""; in __dynamic_netdev_dbg() local
966 char buf[PREFIX_SIZE] = ""; in __dynamic_ibdev_dbg() local
Ddecompress_unzstd.c333 STATIC int INIT unzstd(unsigned char *buf, long len, in unzstd()
343 STATIC int INIT __decompress(unsigned char *buf, long len, in __decompress()
Dbitmap.c457 static int bitmap_pos_to_ord(const unsigned long *buf, unsigned int pos, unsigned int nbits) in bitmap_pos_to_ord()
788 void bitmap_from_arr32(unsigned long *bitmap, const u32 *buf, unsigned int nbits) in bitmap_from_arr32()
811 void bitmap_to_arr32(u32 *buf, const unsigned long *bitmap, unsigned int nbits) in bitmap_to_arr32()
836 void bitmap_from_arr64(unsigned long *bitmap, const u64 *buf, unsigned int nbits) in bitmap_from_arr64()
866 void bitmap_to_arr64(u64 *buf, const unsigned long *bitmap, unsigned int nbits) in bitmap_to_arr64()
Dscatterlist.c141 void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen) in sg_init_one()
963 size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents, void *buf, in sg_copy_buffer()
1010 const void *buf, size_t buflen) in sg_copy_from_buffer()
1027 void *buf, size_t buflen) in sg_copy_to_buffer()
1045 const void *buf, size_t buflen, off_t skip) in sg_pcopy_from_buffer()
1063 void *buf, size_t buflen, off_t skip) in sg_pcopy_to_buffer()
/lib/xz/
Dxz_dec_bcj.c75 uint8_t buf[16]; member
89 static size_t bcj_x86(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_x86()
161 static size_t bcj_powerpc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_powerpc()
184 static size_t bcj_ia64(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_ia64()
270 static size_t bcj_arm(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_arm()
295 static size_t bcj_armthumb(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_armthumb()
328 static size_t bcj_sparc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_sparc()
352 static size_t bcj_arm64(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_arm64()
393 static size_t bcj_riscv(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_riscv()
494 uint8_t *buf, size_t *pos, size_t size) in bcj_apply()
Dxz_crc32.c48 uint32_t xz_crc32(const uint8_t *buf, size_t size, uint32_t crc) in xz_crc32()
Dxz_stream.h15 # define xz_crc32(buf, size, crc) \ argument
/lib/zlib_dfltcc/
Ddfltcc.c10 char *buf, in oesc_msg()
/lib/zlib_inflate/
Dinfutil.c10 const void *buf, unsigned int len) in zlib_inflate_blob()
/lib/crypto/
Daesgcm.c93 u8 buf[AES_BLOCK_SIZE]; in aesgcm_mac() local
111 u8 buf[AES_BLOCK_SIZE]; in aesgcm_crypt() local
700 u8 buf[sizeof(ptext12)]; in libaesgcm_init() local
/lib/test_fortify/
Dtest_fortify.h13 char buf[__BUF_SMALL]; member
/lib/crypto/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

123