Home
last modified time | relevance | path

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

12345678910

/include/rdma/
Drdmavt_mr.h63 size_t length; member
77 size_t length; member
113 u32 length; /* remaining length of the segment */ member
144 static inline u32 rvt_get_sge_length(struct rvt_sge *sge, u32 length) in rvt_get_sge_length() argument
146 u32 len = sge->length; in rvt_get_sge_length()
148 if (len > length) in rvt_get_sge_length()
149 len = length; in rvt_get_sge_length()
156 static inline void rvt_update_sge(struct rvt_sge_state *ss, u32 length, in rvt_update_sge() argument
161 sge->vaddr += length; in rvt_update_sge()
162 sge->length -= length; in rvt_update_sge()
[all …]
Dib_umem.h47 size_t length; member
65 return (ALIGN(umem->address + umem->length, PAGE_SIZE) - in ib_umem_num_pages()
77 size_t length);
95 size_t length) { in ib_umem_copy_from() argument
/include/linux/
Drelay.h187 size_t length);
204 size_t length) in relay_write() argument
211 if (unlikely(buf->offset + length > chan->subbuf_size)) in relay_write()
212 length = relay_switch_subbuf(buf, length); in relay_write()
213 memcpy(buf->data + buf->offset, data, length); in relay_write()
214 buf->offset += length; in relay_write()
232 size_t length) in __relay_write() argument
237 if (unlikely(buf->offset + length > buf->chan->subbuf_size)) in __relay_write()
238 length = relay_switch_subbuf(buf, length); in __relay_write()
239 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
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()
116 static inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() argument
121 a = b = c = JHASH_INITVAL + (length<<2) + initval; in jhash2()
124 while (length > 3) { in jhash2()
129 length -= 3; in jhash2()
134 switch (length) { in jhash2()
Dwireless.h21 __u16 length; member
32 #define IW_EV_COMPAT_POINT_OFF offsetof(struct compat_iw_point, length)
Dmei_cl_bus.h94 ssize_t mei_cldev_send(struct mei_cl_device *cldev, u8 *buf, size_t length);
95 ssize_t mei_cldev_recv(struct mei_cl_device *cldev, u8 *buf, size_t length);
97 size_t length);
Dhdmi.h67 unsigned char length; member
171 unsigned char length; member
195 unsigned char length; member
243 unsigned char length; member
319 unsigned char length; member
354 unsigned char length; member
399 unsigned char length; member
Datm.h12 int length; member
Dcrc32c.h7 extern u32 crc32c(u32 crc, const void *address, unsigned int length);
/include/uapi/mtd/
Dmtd-abi.h28 __u32 length; member
33 __u64 length; member
38 __u32 length; member
45 __u32 length; member
147 __u32 length; member
221 __u32 length; member
/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
Dreiserfs_xattr.h22 size_t length; member
/include/net/
Dgtp.h15 __be16 length; member
26 __be16 length; member
Dxdp_sock.h33 u32 length; member
175 if (rq->length >= cnt) in xsk_umem_has_addrs_rq()
178 return xsk_umem_has_addrs(umem, cnt - rq->length); in xsk_umem_has_addrs_rq()
185 if (!rq->length) in xsk_umem_peek_addr_rq()
188 *addr = rq->handles[rq->length - 1]; in xsk_umem_peek_addr_rq()
196 if (!rq->length) in xsk_umem_discard_addr_rq()
199 rq->length--; in xsk_umem_discard_addr_rq()
206 rq->handles[rq->length++] = addr; in xsk_umem_fq_reuse()
Dgeneve.h30 u8 length:5; member
38 u8 length:5; member
/include/drm/
Ddrm_displayid.h95 #define for_each_displayid_db(displayid, block, idx, length) \ argument
97 (idx) + sizeof(struct displayid_block) <= (length) && \
98 (idx) + sizeof(struct displayid_block) + (block)->num_bytes <= (length) && \
/include/uapi/linux/usb/
Dfunctionfs.h42 __le32 length; member
53 __le32 length; member
182 __le32 length; member
/include/media/
Dsoc_camera.h333 static inline void soc_camera_limit_side(int *start, int *length, in soc_camera_limit_side() argument
337 if (*length < length_min) in soc_camera_limit_side()
338 *length = length_min; in soc_camera_limit_side()
339 else if (*length > length_max) in soc_camera_limit_side()
340 *length = length_max; in soc_camera_limit_side()
344 else if (*start > start_min + length_max - *length) in soc_camera_limit_side()
345 *start = start_min + length_max - *length; in soc_camera_limit_side()
/include/net/sctp/
Dsctp.h429 _sctp_walk_params((pos), (chunk), ntohs((chunk)->chunk_hdr.length), member)
433 (pos.v + offsetof(struct sctp_paramhdr, length) + sizeof(pos.p->length) <=\
435 pos.v <= (void *)chunk + end - ntohs(pos.p->length) &&\
436 ntohs(pos.p->length) >= sizeof(struct sctp_paramhdr);\
437 pos.v += SCTP_PAD4(ntohs(pos.p->length)))
440 _sctp_walk_errors((err), (chunk_hdr), ntohs((chunk_hdr)->length))
445 ((void *)err + offsetof(struct sctp_errhdr, length) + sizeof(err->length) <=\
447 (void *)err <= (void *)chunk_hdr + end - ntohs(err->length) &&\
448 ntohs(err->length) >= sizeof(struct sctp_errhdr); \
449 err = (struct sctp_errhdr *)((void *)err + SCTP_PAD4(ntohs(err->length))))
[all …]
/include/trace/events/
Drpcrdma.h104 __field(u32, length)
115 __entry->length = mr->mr_length;
122 __entry->pos, __entry->length,
152 __field(u32, length)
162 __entry->length = mr->mr_length;
169 __entry->length, (unsigned long long)__entry->offset,
241 __field(u32, length)
249 __entry->length = mr->mr_length;
255 __entry->mr, __entry->length,
869 __field(u32, length)
[all …]
/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

12345678910