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.h96 size_t length);
97 ssize_t mei_cldev_recv(struct mei_cl_device *cldev, u8 *buf, size_t length);
99 size_t length);
101 size_t length, u8 vtag);
102 ssize_t mei_cldev_recv_vtag(struct mei_cl_device *cldev, u8 *buf, size_t length,
105 size_t length, u8 *vtag);
Diommufd.h34 void (*unmap)(void *data, unsigned long iova, unsigned long length);
64 unsigned long length, struct page **out_pages,
67 unsigned long iova, unsigned long length);
85 unsigned long length, in iommufd_access_pin_pages() argument
94 unsigned long length) in iommufd_access_unpin_pages() argument
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)
Dfirewire.h262 void *data, size_t length,
266 size_t length, void *callback_data);
289 void *data, size_t length,
339 u64 length; member
362 void *payload, size_t length, union fw_transaction_callback callback,
385 unsigned long long offset, void *payload, size_t length, in fw_send_request() argument
392 length, cb, false, callback_data); in fw_send_request()
414 void *payload, size_t length, fw_transaction_callback_with_tstamp_t callback, in fw_send_request_with_tstamp() argument
421 length, cb, true, callback_data); in fw_send_request_with_tstamp()
428 void *payload, size_t length);
[all …]
Diomap.h98 u64 length; /* length of mapping, bytes */ member
131 return iomap->length <= PAGE_SIZE - offset_in_page(iomap->inline_data); in iomap_inline_data_valid()
191 int (*iomap_begin)(struct inode *inode, loff_t pos, loff_t length,
201 int (*iomap_end)(struct inode *inode, loff_t pos, loff_t length,
242 u64 end = iter->iomap.offset + iter->iomap.length; in iomap_length()
245 end = min(end, iter->srcmap.offset + iter->srcmap.length); in iomap_length()
268 struct iomap *iomap, loff_t pos, loff_t length, ssize_t written,
269 int (*punch)(struct inode *inode, loff_t pos, loff_t length));
/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.h119 __u32 length; member
158 __u32 length; member
185 __u32 length; member
216 __u32 length; member
287 __u32 length; member
437 __u32 length; member
477 __u32 length; member
647 __u32 length; member
669 __u32 length; member
714 __u32 length; member
[all …]
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/soc/fsl/qe/
Dqmc.h56 int qmc_chan_write_submit(struct qmc_chan *chan, dma_addr_t addr, size_t length,
59 int qmc_chan_read_submit(struct qmc_chan *chan, dma_addr_t addr, size_t length,
60 void (*complete)(void *context, size_t length),
/include/uapi/linux/surface_aggregator/
Dcdev.h65 __u16 length; member
71 __u16 length; member
137 __u16 length; member
/include/net/
Dgtp.h24 __be16 length; member
35 __be16 length; member
42 __be16 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.h72 __u64 length; member
117 __u64 length; /* buffer length */ member
132 __u64 length; /* buffer size */ member
/include/uapi/rdma/
Drdma_user_rxe.h87 __u32 length; member
115 __aligned_u64 length; member
137 __u32 length; member
148 __u32 length; member

1234567891011