/include/linux/ceph/ |
H A D | ceph_hash.h | 7 extern unsigned ceph_str_hash_linux(const char *s, unsigned len); 8 extern unsigned ceph_str_hash_rjenkins(const char *s, unsigned len); 10 extern unsigned ceph_str_hash(int type, const char *s, unsigned len);
|
/include/trace/events/ |
H A D | printk.h | 10 TP_PROTO(const char *text, size_t len), 12 TP_ARGS(text, len), 15 __dynamic_array(char, msg, len + 1) 19 memcpy(__get_dynamic_array(msg), text, len); 20 ((char *)__get_dynamic_array(msg))[len] = 0;
|
/include/linux/decompress/ |
H A D | generic.h | 4 typedef int (*decompress_fn) (unsigned char *inbuf, long len, 12 *len - len of pre-read data in inbuf 19 *If len != 0, inbuf should contain all the necessary input data, and fill 21 *If len = 0, inbuf can be NULL, in which case the decompressor will allocate 36 decompress_fn decompress_method(const unsigned char *inbuf, long len,
|
H A D | bunzip2.h | 4 int bunzip2(unsigned char *inbuf, long len,
|
H A D | inflate.h | 4 int gunzip(unsigned char *inbuf, long len,
|
H A D | unlz4.h | 4 int unlz4(unsigned char *inbuf, long len,
|
H A D | unlzo.h | 4 int unlzo(unsigned char *inbuf, long len,
|
/include/uapi/linux/ |
H A D | hidraw.h | 36 #define HIDIOCGRAWNAME(len) _IOC(_IOC_READ, 'H', 0x04, len) 37 #define HIDIOCGRAWPHYS(len) _IOC(_IOC_READ, 'H', 0x05, len) 39 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) 40 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
|
H A D | netlink.h | 80 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) 82 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN) 83 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) 85 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ 87 #define NLMSG_OK(nlh,len) ((len) > [all...] |
/include/net/ |
H A D | udplite.h | 20 int len, int odd, struct sk_buff *skb) 22 return memcpy_fromiovecend(to, (struct iovec *) from, offset, len); 47 cscov = ntohs(uh->len); 51 else if (cscov < 8 || cscov > skb->len) { 56 cscov, skb->len); 59 } else if (cscov < skb->len) { 73 int cscov = up->len; 81 if (up->pcslen < up->len) { 84 udp_hdr(skb)->len = htons(up->pcslen); 87 * NOTE: Causes for the error case `up->pcslen > up->len' 19 udplite_getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb) argument 102 const int len = skb->len - off; local 117 int len = skb->len - off; local [all...] |
/include/net/caif/ |
H A D | cfpkt.h | 14 * len: Length of packet to be created 17 struct cfpkt *cfpkt_create(u16 len); 30 * len Length of head data to copy. 33 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len); 41 * len Length of head data to copy. 44 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len); 51 * len Length of header data to copy. 54 int cfpkt_extr_trail(struct cfpkt *pkt, void *data, u16 len); 62 * len Length of header data to copy. 65 int cfpkt_add_head(struct cfpkt *pkt, const void *data, u16 len); [all...] |
/include/uapi/linux/netfilter/ |
H A D | nfnetlink_compat.h | 37 #define NFA_ALIGN(len) (((len) + NFA_ALIGNTO - 1) & ~(NFA_ALIGNTO - 1)) 38 #define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct nfattr) \ 39 && (nfa)->nfa_len <= (len)) 42 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len)) 43 #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len)) 52 (skb)->len; }) [all...] |
/include/asm-generic/ |
H A D | cacheflush.h | 22 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) 26 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ 28 memcpy(dst, src, len); \ 29 flush_icache_user_range(vma, page, vaddr, len); \ 31 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ 32 memcpy(dst, src, len)
|
H A D | checksum.h | 5 * computes the checksum of a memory block at buff, length len, 16 extern __wsum csum_partial(const void *buff, int len, __wsum sum); 25 extern __wsum csum_partial_copy(const void *src, void *dst, int len, __wsum sum); 34 int len, __wsum sum, int *csum_err); 37 #define csum_partial_copy_nocheck(src, dst, len, sum) \ 38 csum_partial_copy((src), (dst), (len), (sum)) 68 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, unsigned short len, 74 csum_tcpudp_magic(__be32 saddr, __be32 daddr, unsigned short len, argument 77 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); 85 extern __sum16 ip_compute_csum(const void *buff, int len); [all...] |
H A D | syscalls.h | 13 asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, 19 asmlinkage long sys_mmap(unsigned long addr, unsigned long len,
|
/include/linux/netfilter/ipset/ |
H A D | ip_set_comment.h | 23 size_t len = ext->comment ? strlen(ext->comment) : 0; local 29 if (!len) 31 if (unlikely(len > IPSET_MAX_COMMENT_SIZE)) 32 len = IPSET_MAX_COMMENT_SIZE; 33 comment->str = kzalloc(len + 1, GFP_ATOMIC); 36 strlcpy(comment->str, ext->comment, len + 1);
|
/include/linux/ |
H A D | dm9000.h | 36 void (*inblk)(void __iomem *reg, void *data, int len); 37 void (*outblk)(void __iomem *reg, void *data, int len); 38 void (*dumpblk)(void __iomem *reg, int len);
|
H A D | ntb.h | 69 void *data, int len); 71 void *data, int len); 82 unsigned int len); 84 unsigned int len); 85 void *ntb_transport_rx_remove(struct ntb_transport_qp *qp, unsigned int *len);
|
H A D | rpmsg.h | 52 * @len: length of payload (in bytes) 54 * @data: @len bytes of message payload data 62 u16 len; member in struct:rpmsg_hdr 184 * @len: length of payload 186 * This function sends @data of length @len on the @rpdev channel. 197 static inline int rpmsg_send(struct rpmsg_channel *rpdev, void *data, int len) argument 201 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, true); 208 * @len: length of payload 211 * This function sends @data of length @len to the remote @dst address. 223 int rpmsg_sendto(struct rpmsg_channel *rpdev, void *data, int len, u3 argument 251 rpmsg_send_offchannel(struct rpmsg_channel *rpdev, u32 src, u32 dst, void *data, int len) argument 274 rpmsg_trysend(struct rpmsg_channel *rpdev, void *data, int len) argument 299 rpmsg_trysendto(struct rpmsg_channel *rpdev, void *data, int len, u32 dst) argument 326 rpmsg_trysend_offchannel(struct rpmsg_channel *rpdev, u32 src, u32 dst, void *data, int len) argument [all...] |
/include/net/netfilter/ |
H A D | nf_tables_core.h | 13 u8 len; member in struct:nft_cmp_fast_expr 20 static inline u32 nft_cmp_fast_mask(unsigned int len) argument 23 data) * BITS_PER_BYTE - len)); 43 u8 len; member in struct:nft_payload
|
/include/net/irda/ |
H A D | crc.h | 26 /* Recompute the FCS with len bytes appended. */ 27 #define irda_calc_crc16(fcs, buf, len) crc_ccitt(fcs, buf, len)
|
/include/scsi/ |
H A D | osd_types.h | 36 u16 len; /* byte count of operand */ member in struct:osd_attr 42 u64 len; member in struct:osd_sg_entry
|
/include/uapi/scsi/ |
H A D | scsi_netlink_fc.h | 44 #define FC_NL_MSGALIGN(len) (((len) + 7) & ~7)
|
/include/net/sctp/ |
H A D | checksum.h | 46 static inline __wsum sctp_csum_update(const void *buff, int len, __wsum sum) argument 51 return crc32c(sum, buff, len); 55 int offset, int len) 57 return __crc32c_le_combine(csum, csum2, len); 71 ret = cpu_to_le32(~__skb_checksum(skb, offset, skb->len - offset, 54 sctp_csum_combine(__wsum csum, __wsum csum2, int offset, int len) argument
|
/include/linux/sunrpc/ |
H A D | svcauth.h | 165 int len = 0; local 169 c = (char)len; len = -1; 172 len++; 173 if ((len & (BITS_PER_LONG/8-1))==0) 175 } while (len); 183 int len = 0; local 186 if (len == length) { 187 c = (char)len; len [all...] |