Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 166) 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()
Dima.h43 static inline int ima_file_hash(struct file *file, char *buf, size_t buf_size) in ima_file_hash()
48 static inline int ima_inode_hash(struct inode *inode, char *buf, size_t buf_size) in ima_inode_hash()
53 static inline void ima_kexec_cmdline(int kernel_fd, const void *buf, int size) {} in ima_kexec_cmdline()
57 const void *buf, size_t buf_len, in ima_measure_critical_data()
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.h530 #define kfifo_in(fifo, buf, n) \ argument
552 #define kfifo_in_spinlocked(fifo, buf, n, lock) \ argument
573 #define kfifo_in_spinlocked_noirqsave(fifo, buf, n, lock) \ argument
583 #define kfifo_in_locked(fifo, buf, n, lock) \ argument
598 #define kfifo_out(fifo, buf, n) \ argument
622 #define kfifo_out_spinlocked(fifo, buf, n, lock) \ argument
645 #define kfifo_out_spinlocked_noirqsave(fifo, buf, n, lock) \ argument
657 #define kfifo_out_locked(fifo, buf, n, lock) \ argument
831 #define kfifo_out_peek(fifo, buf, n) \ argument
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.h126 void *buf, size_t len) in nvmem_cell_write()
192 void *buf) in nvmem_device_cell_read()
199 void *buf) in nvmem_device_cell_write()
206 void *buf) in nvmem_device_read()
213 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()
Dstring_helpers.h47 static inline int string_unescape_inplace(char *buf, unsigned int flags) in string_unescape_inplace()
57 static inline int string_unescape_any_inplace(char *buf) in string_unescape_any_inplace()
/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/uapi/linux/
Dpapr_pdsm.h115 __u8 buf[ND_PDSM_PAYLOAD_MAX_SIZE]; member
131 __u8 buf[ND_PDSM_PAYLOAD_MAX_SIZE]; member
150 __u8 buf[ND_PDSM_PAYLOAD_MAX_SIZE]; member
/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/keys/
Dtrusted_tpm.h75 static inline void dump_tpm_buf(unsigned char *buf) in dump_tpm_buf()
92 static inline void dump_tpm_buf(unsigned char *buf) in dump_tpm_buf()
/include/trace/stages/
Dstage3_trace_output.h107 #define __print_hex(buf, buf_len) \ argument
111 #define __print_hex_str(buf, buf_len) \ argument
132 rowsize, groupsize, buf, len, ascii) \ argument
/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
/include/trace/events/
Ddevlink.h224 const u8 *buf, size_t len) in trace_devlink_hwmsg()

1234567