Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 256) sorted by relevance

1234567891011

/include/linux/
Drelay.h174 size_t length);
191 size_t length) in relay_write() argument
198 if (unlikely(buf->offset + length > chan->subbuf_size)) in relay_write()
199 length = relay_switch_subbuf(buf, length); in relay_write()
200 memcpy(buf->data + buf->offset, data, length); in relay_write()
201 buf->offset += length; in relay_write()
219 size_t length) in __relay_write() argument
224 if (unlikely(buf->offset + length > buf->chan->subbuf_size)) in __relay_write()
225 length = relay_switch_subbuf(buf, length); in __relay_write()
226 memcpy(buf->data + buf->offset, data, length); in __relay_write()
[all …]
Dxxhash.h95 uint32_t xxh32(const void *input, size_t length, uint32_t seed);
108 uint64_t xxh64(const void *input, size_t length, uint64_t seed);
123 static inline unsigned long xxhash(const void *input, size_t length, in xxhash() argument
127 return xxh64(input, length, seed); in xxhash()
129 return xxh32(input, length, seed); in xxhash()
191 int xxh32_update(struct xxh32_state *state, const void *input, size_t length);
224 int xxh64_update(struct xxh64_state *state, const void *input, size_t length);
Dcrc32.h66 #define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)(data), length) argument
76 #define ether_crc(length, data) bitrev32(crc32_le(~0, data, length)) argument
77 #define ether_crc_le(length, data) crc32_le(~0, data, length) argument
Diova_bitmap.h14 unsigned long iova, size_t length,
17 struct iova_bitmap *iova_bitmap_alloc(unsigned long iova, size_t length,
24 unsigned long iova, size_t length);
Djhash.h70 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() argument
76 a = b = c = JHASH_INITVAL + length + initval; in jhash()
79 while (length > 12) { in jhash()
84 length -= 12; in jhash()
88 switch (length) { in jhash()
117 static inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() argument
122 a = b = c = JHASH_INITVAL + (length<<2) + initval; in jhash2()
125 while (length > 3) { in jhash2()
130 length -= 3; in jhash2()
135 switch (length) { in jhash2()
Dmei_cl_bus.h95 size_t length);
96 ssize_t mei_cldev_recv(struct mei_cl_device *cldev, u8 *buf, size_t length);
98 size_t length);
100 size_t length, u8 vtag);
101 ssize_t mei_cldev_recv_vtag(struct mei_cl_device *cldev, u8 *buf, size_t length,
104 size_t length, u8 *vtag);
Defi_embedded_fw.h18 size_t length; member
33 u32 length; member
Dwireless.h21 __u16 length; member
40 #define IW_EV_COMPAT_POINT_OFF offsetof(struct compat_iw_point, length)
Dhdmi.h68 unsigned char length; member
172 unsigned char length; member
196 unsigned char length; member
246 unsigned char length; member
322 unsigned char length; member
362 unsigned char length; member
407 unsigned char length; member
Datm.h12 int length; member
/include/rdma/
Drdmavt_mr.h21 size_t length; member
35 size_t length; member
71 u32 length; /* remaining length of the segment */ member
102 static inline u32 rvt_get_sge_length(struct rvt_sge *sge, u32 length) in rvt_get_sge_length() argument
104 u32 len = sge->length; in rvt_get_sge_length()
106 if (len > length) in rvt_get_sge_length()
107 len = length; in rvt_get_sge_length()
114 static inline void rvt_update_sge(struct rvt_sge_state *ss, u32 length, in rvt_update_sge() argument
119 sge->vaddr += length; in rvt_update_sge()
120 sge->length -= length; in rvt_update_sge()
[all …]
/include/linux/sunrpc/
Drpc_rdma.h138 u32 length, u64 offset) in xdr_encode_rdma_segment() argument
141 *p++ = cpu_to_be32(length); in xdr_encode_rdma_segment()
157 u32 handle, u32 length, in xdr_encode_read_segment() argument
161 return xdr_encode_rdma_segment(p, handle, length, offset); in xdr_encode_read_segment()
175 u32 *length, u64 *offset) in xdr_decode_rdma_segment() argument
178 *length = be32_to_cpup(p++); in xdr_decode_rdma_segment()
194 u32 *handle, u32 *length, in xdr_decode_read_segment() argument
198 return xdr_decode_rdma_segment(p, handle, length, offset); in xdr_decode_read_segment()
/include/linux/surface_aggregator/
Dcontroller.h46 u16 length; member
89 u16 length; member
102 size_t length; member
366 rqst.length = 0; \
406 rqst.length = sizeof(atype); \
449 rqst.length = 0; \
453 rsp.length = 0; \
460 if (rsp.length != sizeof(rtype)) { \
464 sizeof(rtype), rsp.length, rqst.target_category,\
510 rqst.length = sizeof(atype); \
[all …]
/include/uapi/linux/
Dfirewire-cdev.h120 __u32 length; member
144 __u32 length; member
207 __u32 length; member
357 __u32 length; member
513 __u32 length; member
535 __u32 length; member
580 __u32 length; member
647 __u32 length; member
998 __u32 length; member
Dwmi.h20 __u64 length; member
41 __u64 length; member
Dndctl.h56 __u64 length; member
66 __u64 length; member
78 __u64 length; member
88 __u64 length; member
94 __u64 length; member
/include/net/
Dgtp.h24 __be16 length; member
35 __be16 length; member
42 __be16 length; member
Dgeneve.h30 u8 length:5; member
38 u8 length:5; member
/include/uapi/linux/surface_aggregator/
Dcdev.h65 __u16 length; member
71 __u16 length; member
137 __u16 length; member
/include/uapi/mtd/
Dmtd-abi.h28 __u32 length; member
33 __u64 length; member
38 __u32 length; member
45 __u32 length; member
195 __u32 length; member
277 __u32 length; member
/include/trace/events/
Dmmap.h20 __field(unsigned long, length)
31 __entry->length = info->length;
41 __entry->total_vm, __entry->flags, __entry->length,
/include/uapi/linux/usb/
Dfunctionfs.h42 __le32 length; member
53 __le32 length; member
182 __le32 length; member
/include/uapi/misc/
Dfastrpc.h71 __u64 length; member
110 __u64 length; /* buffer length */ member
125 __u64 length; /* buffer size */ member
/include/crypto/
Dscatterwalk.h31 unsigned int len = walk->sg->offset + walk->sg->length - walk->offset; in scatterwalk_pagelen()
82 if (more && walk->offset >= walk->sg->offset + walk->sg->length) in scatterwalk_pagedone()
89 if (!more || walk->offset >= walk->sg->offset + walk->sg->length || in scatterwalk_done()
/include/acpi/
Dactbl.h70 u32 length; /* Length of table in bytes, including this header */ member
111 u32 length; /* Table length in bytes, including header (ACPI 2.0+) */ member
130 u32 length; member
164 u32 length; /* Length of structure, in bytes */ member
337 u32 length; /* Length fixed at 32 bits (fixed in table header) */ member

1234567891011