Searched defs:bytes (Results 1 - 25 of 30) sorted by relevance

12

/include/linux/
H A Dtask_io_accounting_ops.h10 static inline void task_io_account_read(size_t bytes) argument
12 current->ioac.read_bytes += bytes;
16 * We approximate number of blocks, because we account bytes only.
17 * A 'block' is 512 bytes
24 static inline void task_io_account_write(size_t bytes) argument
26 current->ioac.write_bytes += bytes;
30 * We approximate number of blocks, because we account bytes only.
31 * A 'block' is 512 bytes
38 static inline void task_io_account_cancelled_write(size_t bytes) argument
40 current->ioac.cancelled_write_bytes += bytes;
58 task_io_account_read(size_t bytes) argument
67 task_io_account_write(size_t bytes) argument
76 task_io_account_cancelled_write(size_t bytes) argument
[all...]
H A Dmroute.h83 unsigned long bytes; member in struct:mfc_cache::__anon741::__anon743
H A Dmroute6.h92 unsigned long bytes; member in struct:mfc6_cache::__anon744::__anon746
H A Dbio.h208 unsigned bytes)
210 WARN_ONCE(bytes > iter->bi_size,
213 while (bytes) {
214 unsigned len = min(bytes, bvec_iter_len(bv, *iter));
216 bytes -= len;
235 unsigned bytes)
237 iter->bi_sector += bytes >> 9;
240 iter->bi_size -= bytes;
242 bvec_iter_advance(bio->bi_io_vec, iter, bytes);
207 bvec_iter_advance(struct bio_vec *bv, struct bvec_iter *iter, unsigned bytes) argument
234 bio_advance_iter(struct bio *bio, struct bvec_iter *iter, unsigned bytes) argument
H A Dusb.h58 * @extralen: how many bytes of "extra" are valid
1289 * it tells how many bytes (out of transfer_buffer_length) were
1294 * @setup_packet: Only used for control transfers, this points to eight bytes
1413 * actual_length field tells how many bytes were transferred. This field
1699 * @bytes: counts bytes transferred.
1714 size_t bytes; member in struct:usb_sg_request
/include/net/netfilter/
H A Dnf_conntrack_acct.h19 atomic64_t bytes; member in struct:nf_conn_counter
H A Dnf_tables.h535 u64 bytes; member in struct:nft_stats
/include/sound/
H A Dpcm-indirect.h35 unsigned int sw_io; /* Current software pointer in bytes */
41 struct snd_pcm_indirect *rec, size_t bytes);
66 unsigned int bytes = qsize - rec->hw_ready; local
67 if (rec->sw_ready < (int)bytes)
68 bytes = rec->sw_ready;
69 if (hw_to_end < bytes)
70 bytes = hw_to_end;
71 if (sw_to_end < bytes)
72 bytes = sw_to_end;
73 if (! bytes)
95 int bytes = ptr - rec->hw_io; local
131 size_t bytes = rec->sw_buffer_size - rec->sw_ready; local
161 int bytes = ptr - rec->hw_io; local
[all...]
H A Dmemalloc.h68 size_t bytes; /* buffer size in bytes */ member in struct:snd_dma_buffer
H A Dpcm_oss.h55 size_t bytes; /* total # bytes processed */ member in struct:snd_pcm_oss_runtime
H A Drawmidi.h81 /* event handler (new bytes, input only) */
98 size_t bytes; member in struct:snd_rawmidi_substream
H A Dpcm.h58 size_t fifo_size; /* fifo size in bytes */
586 static inline int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes) argument
588 return bytes % runtime->byte_align == 0;
894 runtime->dma_bytes = bufp->bytes;
951 * @size: the requested buffer size, in bytes
965 * @size: the requested buffer size, in bytes
/include/uapi/linux/
H A Dgen_stats.h19 * @bytes: number of seen bytes
23 __u64 bytes; member in struct:gnet_stats_basic
27 __u64 bytes; member in struct:gnet_stats_basic_packed
H A Dblktrace_api.h103 __u32 bytes; /* transfer length */ member in struct:blk_io_trace
H A Drds.h206 uint64_t bytes; member in struct:rds_iovec
H A Dtelephony.h202 * always pass full size frames, any unused bytes will be padded with zeros,
257 unsigned int bytes; member in union:telephony_exception
H A Dxfrm.h75 __u64 bytes; member in struct:xfrm_lifetime_cur
/include/uapi/linux/netfilter/
H A Dxt_set.h70 struct ip_set_counter_match bytes; member in struct:xt_set_info_match_v3
H A Dxt_sctp.h38 #define bytes(type) (sizeof(type) * 8) macro
42 (chunkmap)[type / bytes(__u32)] |= \
43 1 << (type % bytes(__u32)); \
48 (chunkmap)[type / bytes(__u32)] &= \
49 ~(1 << (type % bytes(__u32))); \
54 ((chunkmap)[type / bytes (__u32)] & \
55 (1 << (type % bytes (__u32)))) ? 1: 0; \
/include/asm-generic/
H A Dxor.h19 xor_8regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) argument
21 long lines = bytes / (sizeof (long)) / 8;
38 xor_8regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, argument
41 long lines = bytes / (sizeof (long)) / 8;
59 xor_8regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, argument
62 long lines = bytes / (sizeof (long)) / 8;
81 xor_8regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, argument
84 long lines = bytes / (sizeof (long)) / 8;
104 xor_32regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) argument
106 long lines = bytes / (sizeo
140 xor_32regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, unsigned long *p3) argument
186 xor_32regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, unsigned long *p3, unsigned long *p4) argument
241 xor_32regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, unsigned long *p3, unsigned long *p4, unsigned long *p5) argument
305 xor_8regs_p_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) argument
331 xor_8regs_p_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, unsigned long *p3) argument
361 xor_8regs_p_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, unsigned long *p3, unsigned long *p4) argument
395 xor_8regs_p_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, unsigned long *p3, unsigned long *p4, unsigned long *p5) argument
432 xor_32regs_p_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) argument
477 xor_32regs_p_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, unsigned long *p3) argument
534 xor_32regs_p_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, unsigned long *p3, unsigned long *p4) argument
602 xor_32regs_p_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, unsigned long *p3, unsigned long *p4, unsigned long *p5) argument
[all...]
/include/uapi/drm/
H A Domap_drm.h52 uint32_t bytes; /* (for non-tiled formats) */ member in union:omap_gem_size
/include/uapi/mtd/
H A Dubi-user.h76 * this number of bytes to the volume character device. The update is finished
77 * when the claimed number of bytes is passed. So, the volume update sequence
99 * user is expected to write the requested amount of bytes (similarly to what
254 * 512 in case of a 512 bytes page NAND flash with no sub-page support. Or
263 * be 2KiB-64 bytes = 1984. Note, that this position is not even 512-bytes
292 * @bytes: volume size in bytes
321 __s64 bytes; member in struct:ubi_mkvol_req
332 * @bytes
341 __s64 bytes; member in struct:ubi_rsvol_req
406 __s32 bytes; member in struct:ubi_leb_change_req
[all...]
/include/linux/netfilter/ipset/
H A Dip_set.h97 u64 bytes; member in struct:ip_set_ext
107 atomic64_t bytes; member in struct:ip_set_counter
286 ip_set_add_bytes(u64 bytes, struct ip_set_counter *counter) argument
288 atomic64_add((long long)bytes, &(counter)->bytes);
300 return (u64)atomic64_read(&(counter)->bytes);
316 ip_set_add_bytes(ext->bytes, counter);
321 mext->bytes = ip_set_get_bytes(counter);
375 if (ext->bytes != ULLONG_MAX)
376 atomic64_set(&(counter)->bytes, (lon
[all...]
/include/drm/
H A Ddrm_dp_mst_helper.h174 u8 bytes[255]; member in struct:drm_dp_remote_dpcd_read_ack_reply
190 u8 bytes[255]; member in struct:drm_dp_remote_i2c_read_ack_reply
251 u8 *bytes; member in struct:drm_dp_remote_dpcd_write
260 u8 *bytes; member in struct:drm_dp_remote_i2c_read::__anon42
272 u8 *bytes; member in struct:drm_dp_remote_i2c_write
398 * @max_dpcd_transaction_bytes - maximum number of bytes to read/write in one go.
/include/linux/mtd/
H A Dnand.h446 * @size: data bytes per ECC step
447 * @bytes: ECC bytes per step
449 * @total: total number of ECC bytes per page
477 int bytes; member in struct:nand_ecc_ctrl
545 * @id_data contains the 8 bytes values of NAND_CMD_READID.
727 /* The maximum expected count of bytes in the NAND ID sequence */
733 * size). All these chips have 512 bytes NAND page size.
741 * eraseblock size via the extended ID bytes.
767 * @pagesize: size of the NAND page in bytes; i
[all...]

Completed in 618 milliseconds

12