Home
last modified time | relevance | path

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

1234567

/include/linux/
Dzutil.h57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} argument
58 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument
59 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument
60 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument
61 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument
79 const Byte *buf, in zlib_adler32()
Dnvram.h81 static inline ssize_t nvram_read_bytes(char *buf, size_t count, loff_t *ppos) in nvram_read_bytes()
95 static inline ssize_t nvram_write_bytes(char *buf, size_t count, loff_t *ppos) in nvram_write_bytes()
109 static inline ssize_t nvram_read(char *buf, size_t count, loff_t *ppos) in nvram_read()
121 static inline ssize_t nvram_write(char *buf, size_t count, loff_t *ppos) in nvram_write()
Dswab.h24 static inline void swab16_array(u16 *buf, unsigned int words) in swab16_array()
32 static inline void swab32_array(u32 *buf, unsigned int words) in swab32_array()
40 static inline void swab64_array(u64 *buf, unsigned int words) in swab64_array()
Dkfifo.h519 #define kfifo_in(fifo, buf, n) \ argument
541 #define kfifo_in_spinlocked(fifo, buf, n, lock) \ argument
562 #define kfifo_in_spinlocked_noirqsave(fifo, buf, n, lock) \ argument
572 #define kfifo_in_locked(fifo, buf, n, lock) \ argument
587 #define kfifo_out(fifo, buf, n) \ argument
611 #define kfifo_out_spinlocked(fifo, buf, n, lock) \ argument
634 #define kfifo_out_spinlocked_noirqsave(fifo, buf, n, lock) \ argument
646 #define kfifo_out_locked(fifo, buf, n, lock) \ argument
817 #define kfifo_out_peek(fifo, buf, n) \ argument
Dima.h97 static inline int ima_post_load_data(char *buf, loff_t size, in ima_post_load_data()
110 static inline int ima_post_read_file(struct file *file, void *buf, loff_t size, in ima_post_read_file()
122 static inline int ima_file_hash(struct file *file, char *buf, size_t buf_size) in ima_file_hash()
127 static inline int ima_inode_hash(struct inode *inode, char *buf, size_t buf_size) in ima_inode_hash()
132 static inline void ima_kexec_cmdline(int kernel_fd, const void *buf, int size) {} in ima_kexec_cmdline()
136 const void *buf, size_t buf_len, in ima_measure_critical_data()
Donce.h80 #define get_random_once(buf, nbytes) \ argument
83 #define get_random_sleepable_once(buf, nbytes) \ argument
Dhex.h11 static inline char *hex_byte_pack(char *buf, u8 byte) in hex_byte_pack()
22 static inline char *hex_byte_pack_upper(char *buf, u8 byte) in hex_byte_pack_upper()
Drelay.h69 struct rchan_buf * __percpu *buf; /* per-cpu channel buffers */ member
194 struct rchan_buf *buf; in relay_write() local
221 struct rchan_buf *buf; in __relay_write() local
245 struct rchan_buf *buf = *get_cpu_ptr(chan->buf); in relay_reserve() local
268 static inline void subbuf_start_reserve(struct rchan_buf *buf, in subbuf_start_reserve()
Dnvmem-consumer.h125 void *buf, size_t len) in nvmem_cell_write()
185 void *buf) in nvmem_device_cell_read()
192 void *buf) in nvmem_device_cell_write()
199 void *buf) in nvmem_device_read()
206 void *buf) in nvmem_device_write()
Dcciss_ioctl.h15 __u32 buf; /* 32 bit pointer to data buffer */ member
25 __u32 buf; /* 32 bit pointer to data buffer */ member
Dpipe_fs_i.h203 struct pipe_buffer *buf) in pipe_buf_get()
214 struct pipe_buffer *buf) in pipe_buf_release()
228 struct pipe_buffer *buf) in pipe_buf_confirm()
241 struct pipe_buffer *buf) in pipe_buf_try_steal()
Dtpm.h329 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset()
338 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init()
349 static inline void tpm_buf_destroy(struct tpm_buf *buf) in tpm_buf_destroy()
354 static inline u32 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length()
361 static inline u16 tpm_buf_tag(struct tpm_buf *buf) in tpm_buf_tag()
368 static inline void tpm_buf_append(struct tpm_buf *buf, in tpm_buf_append()
389 static inline void tpm_buf_append_u8(struct tpm_buf *buf, const u8 value) in tpm_buf_append_u8()
394 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16()
401 static inline void tpm_buf_append_u32(struct tpm_buf *buf, const u32 value) in tpm_buf_append_u32()
Dstring_helpers.h43 static inline int string_unescape_inplace(char *buf, unsigned int flags) in string_unescape_inplace()
53 static inline int string_unescape_any_inplace(char *buf) in string_unescape_any_inplace()
Dbitmap.h310 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument
313 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument
326 #define bitmap_from_arr64(bitmap, buf, nbits) \ argument
328 #define bitmap_to_arr64(buf, bitmap, nbits) \ argument
/include/soc/fsl/
Dbman.h49 static inline dma_addr_t bm_buf_addr(const struct bm_buffer *buf) in bm_buf_addr()
54 static inline u64 bm_buffer_get64(const struct bm_buffer *buf) in bm_buffer_get64()
59 static inline void bm_buffer_set64(struct bm_buffer *buf, u64 addr) in bm_buffer_set64()
65 static inline u8 bm_buffer_get_bpid(const struct bm_buffer *buf) in bm_buffer_get_bpid()
70 static inline void bm_buffer_set_bpid(struct bm_buffer *buf, int bpid) in bm_buffer_set_bpid()
/include/linux/mtd/
Dnand-ecc-sw-hamming.h57 static inline int ecc_sw_hamming_calculate(const unsigned char *buf, in ecc_sw_hamming_calculate()
65 const unsigned char *buf, in nand_ecc_sw_hamming_calculate()
71 static inline int ecc_sw_hamming_correct(unsigned char *buf, in ecc_sw_hamming_correct()
80 unsigned char *buf, in nand_ecc_sw_hamming_correct()
Dspinand.h35 #define SPINAND_READID_OP(naddr, ndummy, buf, len) \ argument
65 #define SPINAND_PAGE_READ_FROM_CACHE_OP(fast, addr, ndummy, buf, len) \ argument
71 #define SPINAND_PAGE_READ_FROM_CACHE_OP_3A(fast, addr, ndummy, buf, len) \ argument
77 #define SPINAND_PAGE_READ_FROM_CACHE_X2_OP(addr, ndummy, buf, len) \ argument
83 #define SPINAND_PAGE_READ_FROM_CACHE_X2_OP_3A(addr, ndummy, buf, len) \ argument
89 #define SPINAND_PAGE_READ_FROM_CACHE_X4_OP(addr, ndummy, buf, len) \ argument
95 #define SPINAND_PAGE_READ_FROM_CACHE_X4_OP_3A(addr, ndummy, buf, len) \ argument
101 #define SPINAND_PAGE_READ_FROM_CACHE_DUALIO_OP(addr, ndummy, buf, len) \ argument
107 #define SPINAND_PAGE_READ_FROM_CACHE_DUALIO_OP_3A(addr, ndummy, buf, len) \ argument
113 #define SPINAND_PAGE_READ_FROM_CACHE_QUADIO_OP(addr, ndummy, buf, len) \ argument
[all …]
Dnand-ecc-sw-bch.h48 const unsigned char *buf, in nand_ecc_sw_bch_calculate()
55 unsigned char *buf, in nand_ecc_sw_bch_correct()
/include/net/
D6lowpan.h219 const unsigned char *buf, int len) in raw_dump_inline()
234 const unsigned char *buf, int len) in raw_dump_table()
243 const unsigned char *buf, int len) { } in raw_dump_table()
245 const unsigned char *buf, int len) { } in raw_dump_inline()
Dselftests.h17 u64 *buf) in net_selftest()
/include/trace/stages/
Dstage3_trace_output.h107 #define __print_hex(buf, buf_len) \ argument
111 #define __print_hex_str(buf, buf_len) \ argument
124 rowsize, groupsize, buf, len, ascii) \ argument
/include/keys/
Dtrusted_tpm.h77 static inline void dump_tpm_buf(unsigned char *buf) in dump_tpm_buf()
94 static inline void dump_tpm_buf(unsigned char *buf) in dump_tpm_buf()
/include/xen/interface/
Dversion.h69 char buf[1024]; member
79 unsigned char buf[]; member
/include/crypto/
Dsha2.h70 u8 buf[SHA256_BLOCK_SIZE]; member
76 u8 buf[SHA512_BLOCK_SIZE]; member
/include/linux/soc/ti/
Dti-msgmgr.h28 u8 *buf; member

1234567