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

/include/drm/
H A Ddrm_buffer.h62 * Return number of bytes that is left to process
70 * Advance the buffer iterator number of bytes that is given.
72 static inline void drm_buffer_advance(struct drm_buffer *buf, int bytes) argument
74 buf->iterator += bytes;
81 * size: The number of bytes to allocate.
90 * size: The Number of bytes to copy.
109 * objsize: The size of the objet in bytes.
/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 Dgen_stats.h18 * @bytes: number of seen bytes
22 __u64 bytes; member in struct:gnet_stats_basic
26 __u64 bytes; member in struct:gnet_stats_basic_packed
H A Dblktrace_api.h108 __u32 bytes; /* transfer length */ member in struct:blk_io_trace
249 extern void blk_fill_rwbs(char *rwbs, u32 rw, int bytes);
H A Dmroute.h111 unsigned long ibytes; /* In bytes */
112 unsigned long obytes; /* Out bytes */
211 unsigned long bytes; member in struct:mfc_cache::__anon833::__anon835
H A Dmroute6.h108 unsigned long ibytes; /* In bytes */
109 unsigned long obytes; /* Out bytes */
204 unsigned long bytes; member in struct:mfc6_cache::__anon836::__anon838
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 Dusb.h58 * @extralen: how many bytes of "extra" are valid
373 * do 31, so plus one evens out to four bytes.
1092 * it tells how many bytes (out of transfer_buffer_length) were
1097 * @setup_packet: Only used for control transfers, this points to eight bytes
1211 * actual_length field tells how many bytes were transferred. This field
1485 * @bytes: counts bytes transferred.
1500 size_t bytes; member in struct:usb_sg_request
H A Dxfrm.h75 __u64 bytes; member in struct:xfrm_lifetime_cur
H A Dpkt_sched.h33 __u64 bytes; /* Number of enqueued bytes */ member in struct:tc_stats
110 __u32 limit; /* Queue length: bytes for bfifo, packets for pfifo */
200 __u32 limit; /* HARD maximal flow queue length (bytes) */
201 __u32 qth_min; /* Min average length threshold (bytes) */
202 __u32 qth_max; /* Max average length threshold (bytes) */
230 __u32 limit; /* HARD maximal queue length (bytes) */
231 __u32 qth_min; /* Min average length threshold (bytes) */
232 __u32 qth_max; /* Max average length threshold (bytes) */
265 __u32 limit; /* HARD maximal queue length (bytes) */
[all...]
H A Dnetdevice.h1890 unsigned int bytes)
1893 dql_queued(&dev_queue->dql, bytes);
1913 static inline void netdev_sent_queue(struct net_device *dev, unsigned int bytes) argument
1915 netdev_tx_sent_queue(netdev_get_tx_queue(dev, 0), bytes); local
1919 unsigned pkts, unsigned bytes)
1922 if (unlikely(!bytes))
1925 dql_completed(&dev_queue->dql, bytes);
1943 unsigned pkts, unsigned bytes)
1945 netdev_tx_completed_queue(netdev_get_tx_queue(dev, 0), pkts, bytes); local
1889 netdev_tx_sent_queue(struct netdev_queue *dev_queue, unsigned int bytes) argument
1918 netdev_tx_completed_queue(struct netdev_queue *dev_queue, unsigned pkts, unsigned bytes) argument
1942 netdev_completed_queue(struct net_device *dev, unsigned pkts, unsigned bytes) argument
H A Dsoundcard.h108 * we restrict parameters to at most 8191 bytes.
111 #define SIOCPARM_MASK 0x1fff /* parameters must be < 8192 bytes */
256 int len; /* Size of the wave data in bytes */
317 int len; /* Size of the sysex data in bytes */
325 * are records of 4 or 8 bytes. The first byte defines the size.
331 * (All input events are currently 4 bytes long. Be prepared to support
337 * Normal events (4 bytes)
365 * are for the LSB. Note that just 7 bits are used in MIDI bytes.
392 /* least significant bytes of the controllers 0x00 to 0x1f. */
472 #define SEQ_PRIVATE 0xfe /* Low level HW dependent events (8 bytes) */
587 int bytes; /* Available space in bytes (includes partially used fragments) */ member in struct:audio_buf_info
617 int bytes; /* Total # of bytes processed */ member in struct:count_info
[all...]
/include/net/netfilter/
H A Dnf_conntrack_acct.h19 atomic64_t bytes; member in struct:nf_conn_counter
/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.h63 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 */
601 static inline int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes) argument
603 return bytes % runtime->byte_align == 0;
905 runtime->dma_bytes = bufp->bytes;
955 * @size: the requested buffer size, in bytes
969 * @size: the requested buffer size, in bytes
H A Dwavefront.h28 of 22 bytes, corresponding to 16-bit alignment (as would have been variable
62 bytes. Defining things like this makes the code much more portable, and
152 /* # of bytes we send to the board when sending it various kinds of
179 /* Magic MIDI bytes used to switch I/O streams on the ICS2115 MPU401
400 data without forcing user-level extraction of the relevant bytes.
551 6000 bytes total has `size' = 3000.
557 wavefront_any __user *hdrptr; /* user-space ptr to hdr bytes */
560 wavefront_any hdr; /* kernel-space copy of hdr bytes */
563 /* The maximum number of bytes we will ever move to or from user space
580 unsigned char rbuf[WF_MAX_READ]; /* bytes rea
[all...]
H A Dasound.h126 size_t length; /* W: size of image in bytes */
183 #define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) /* low three bytes */
184 #define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */
185 #define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */
186 #define SNDRV_PCM_FORMAT_U24_BE ((__force snd_pcm_format_t) 9) /* low three bytes */
203 #define SNDRV_PCM_FORMAT_S24_3LE ((__force snd_pcm_format_t) 32) /* in three bytes */
204 #define SNDRV_PCM_FORMAT_S24_3BE ((__force snd_pcm_format_t) 33) /* in three bytes */
205 #define SNDRV_PCM_FORMAT_U24_3LE ((__force snd_pcm_format_t) 34) /* in three bytes */
206 #define SNDRV_PCM_FORMAT_U24_3BE ((__force snd_pcm_format_t) 35) /* in three bytes */
207 #define SNDRV_PCM_FORMAT_S20_3LE ((__force snd_pcm_format_t) 36) /* in three bytes */
837 } bytes; member in union:snd_ctl_elem_value::__anon1845
[all...]
/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/linux/netfilter/
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/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
253 * 512 in case of a 512 bytes page NAND flash with no sub-page support. Or
262 * be 2KiB-64 bytes = 1984. Note, that this position is not even 512-bytes
278 * @bytes: volume size in bytes
307 __s64 bytes; member in struct:ubi_mkvol_req
318 * @bytes
327 __s64 bytes; member in struct:ubi_rsvol_req
383 __s32 bytes; member in struct:ubi_leb_change_req
[all...]
/include/linux/mtd/
H A Dnand.h325 * @size: data bytes per ECC step
326 * @bytes: ECC bytes per step
328 * @total: total number of ECC bytes per page
353 int bytes; member in struct:nand_ecc_ctrl
419 * @id_data contains the 8 bytes values of NAND_CMD_READID.
567 * @pagesize: Pagesize in bytes. Either 256 or 512 or 0
570 * extended id bytes in the chip

Completed in 401 milliseconds