Searched refs:bytes (Results 151 - 175 of 1671) sorted by last modified time

1234567891011>>

/linux-master/drivers/gpu/drm/xe/
H A Dxe_guc_submit.c380 size_t bytes = sizeof(policy->h2g.header) + local
383 return bytes / sizeof(u32);
/linux-master/block/
H A Dblk.h492 bool should_fail_request(struct block_device *part, unsigned int bytes);
495 unsigned int bytes)
494 should_fail_request(struct block_device *part, unsigned int bytes) argument
H A Dblk-mq.c789 static void blk_account_io_completion(struct request *req, unsigned int bytes) argument
795 part_stat_add(req->part, sectors[sgrp], bytes >> 9);
858 * can find how many bytes remain in the request
868 * blk_update_request - Complete multiple bytes without completing the request
871 * @nr_bytes: number of bytes to complete for @req
874 * Ends I/O on a number of bytes attached to @req, but doesn't complete
946 * can find how many bytes remain in the request
H A Dblk-merge.c186 * get_max_segment_size() - maximum number of bytes to add as a single segment
191 * Returns the maximum number of bytes that can be added as a single segment.
214 * @bytes: [in,out] Number of bytes in the bio being built. Incremented
215 * by the number of bytes from @bv that may be appended to that
218 * @max_bytes: [in] upper bound for *@bytes
228 const struct bio_vec *bv, unsigned *nsegs, unsigned *bytes,
231 unsigned max_len = min(max_bytes, UINT_MAX) - *bytes;
249 *bytes += total_len;
261 * @max_bytes: [in] maximum number of bytes pe
227 bvec_split_segs(const struct queue_limits *lim, const struct bio_vec *bv, unsigned *nsegs, unsigned *bytes, unsigned max_segs, unsigned max_bytes) argument
280 unsigned nsegs = 0, bytes = 0; local
411 unsigned int bytes = 0; local
[all...]
/linux-master/tools/testing/selftests/mm/
H A Duffd-unit-tests.c1048 const char *bytes = (const char *) area_dst + offset; local
1061 for (i = bytes; i < bytes + page_size; ++i) {
H A Duffd-common.c128 size_t bytes = nr_pages * page_size, hpage_size = read_pmd_pagesize(); local
129 unsigned long offset = is_src ? 0 : bytes;
131 int mem_fd = uffd_mem_fd_create(bytes * 2, false);
137 p += 2 * (bytes + hpage_size);
139 p_alias += bytes;
142 *alloc_area = mmap(p, bytes, PROT_READ | PROT_WRITE, MAP_SHARED,
151 area_alias = mmap(p_alias, bytes, PROT_READ | PROT_WRITE, MAP_SHARED,
154 munmap(*alloc_area, bytes);
340 * read out of order in my_bcmp and see both bytes as
/linux-master/net/tls/
H A Dtls_sw.c340 /* We add page references worth len bytes from encrypted sg
346 /* Skip initial bytes in msg_en's data to be able to use
611 u32 i, j, bytes = 0, apply = msg_opl->apply_bytes; local
640 bytes += apply;
644 bytes += sge->length;
657 msg_opl->sg.size = bytes;
661 msg_npl->sg.size = orig_size - bytes;
1842 /* The remaining skip-bytes must lie in 1st record in rx_list.
/linux-master/net/core/
H A Dsock.c1003 static void sock_release_reserved_memory(struct sock *sk, int bytes) argument
1005 /* Round down bytes to multiple of pages */
1006 bytes = round_down(bytes, PAGE_SIZE);
1008 WARN_ON(bytes > sk->sk_reserved_mem);
1009 WRITE_ONCE(sk->sk_reserved_mem, sk->sk_reserved_mem - bytes);
1013 static int sock_reserve_memory(struct sock *sk, int bytes) argument
1022 if (!bytes)
1025 pages = sk_mem_pages(bytes);
2191 pr_debug("%s: optmem leakage (%d bytes) detecte
[all...]
/linux-master/mm/
H A Dfilemap.c406 * @start: offset in bytes where the range starts
407 * @end: offset in bytes where the range ends (inclusive)
470 * @start_byte: offset in bytes where the range starts
471 * @end_byte: offset in bytes where the range ends (inclusive)
543 * @start_byte: offset in bytes where the range starts
544 * @end_byte: offset in bytes where the range ends (inclusive)
567 * @start_byte: offset in bytes where the range starts
568 * @end_byte: offset in bytes where the range ends (inclusive)
589 * @start_byte: offset in bytes where the range starts
590 * @end_byte: offset in bytes wher
2636 size_t bytes = min_t(loff_t, end_offset - iocb->ki_pos, local
3949 unsigned long bytes; /* Bytes to write to page */ local
[all...]
H A Dmmap.c1163 unsigned long bytes)
1170 locked_pages = bytes >> PAGE_SHIFT;
2475 * Expand vma by delta bytes, potentially merging with an immediately adjacent
1162 mlock_future_ok(struct mm_struct *mm, unsigned long flags, unsigned long bytes) argument
/linux-master/include/linux/
H A Dskbuff.h259 /* For X bytes available in skb->head, what is the minimal
271 /* return minimum truesize of one skb containing X bytes of data */
810 * @no_fcs: Request NIC to treat last 4 bytes as Ethernet FCS
831 * @reserved_tailroom: (aka @mark) number of bytes of free space available
2485 * @delta: number of bytes to add
2502 * Initialises the @i'th fragment of @skb to point to &size bytes at
2545 * @skb to point to @size bytes at offset @off within @page. In
2766 * skb_headroom - bytes at buffer head
2769 * Return the number of bytes of free space at the head of an &sk_buff.
2777 * skb_tailroom - bytes a
[all...]
H A Doverflow.h268 size_t bytes; local
270 if (check_mul_overflow(factor1, factor2, &bytes))
273 return bytes;
287 size_t bytes; local
289 if (check_add_overflow(addend1, addend2, &bytes))
292 return bytes;
308 size_t bytes; local
311 check_sub_overflow(minuend, subtrahend, &bytes))
314 return bytes;
324 * Returns: number of bytes neede
[all...]
H A Dnetdevice.h1943 * @lstats: Loopback statistics: packets, bytes
1944 * @tstats: Tunnel statistics: RX/TX packets, RX/TX bytes
1945 * @dstats: Dummy statistics: RX/TX/drop packets, RX/TX bytes
2741 u64_stats_t bytes; member in struct:pcpu_lstats
2745 void dev_lstats_read(struct net_device *dev, u64 *packets, u64 *bytes);
2774 u64_stats_add(&lstats->bytes, len);
3461 * netdev_tx_sent_queue - report the number of bytes queued to a given tx queue
3463 * @bytes: number of bytes queued to the device queue
3465 * Report the number of bytes queue
3470 netdev_tx_sent_queue(struct netdev_queue *dev_queue, unsigned int bytes) argument
3500 __netdev_tx_sent_queue(struct netdev_queue *dev_queue, unsigned int bytes, bool xmit_more) argument
3524 netdev_sent_queue(struct net_device *dev, unsigned int bytes) argument
3526 netdev_tx_sent_queue(netdev_get_tx_queue(dev, 0), bytes); local
3529 __netdev_sent_queue(struct net_device *dev, unsigned int bytes, bool xmit_more) argument
3546 netdev_tx_completed_queue(struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes) argument
3580 netdev_completed_queue(struct net_device *dev, unsigned int pkts, unsigned int bytes) argument
3583 netdev_tx_completed_queue(netdev_get_tx_queue(dev, 0), pkts, bytes); local
[all...]
H A Dkernfs.h296 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes,
314 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes,
/linux-master/fs/btrfs/
H A Dzoned.c588 "%s block device %s, %u %szones of %llu bytes",
1134 u64 length, u64 *bytes)
1139 *bytes = 0;
1147 *bytes = length;
1133 btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, u64 length, u64 *bytes) argument
H A Dblock-group.c1073 * Free the reserved super bytes from this block group before
1390 /* Migrate zone_unusable bytes to readonly */
1737 * We want block groups with a low number of used bytes to be in the beginning
1902 * bytes and isn't available for calculations anymore.
2340 * super bytes accounted for, otherwise we'll think we have more space
3019 /* Migrate zone_unusable bytes back */
3052 * critical section, thus we need a consistent view of used bytes.
3059 /* No change in used bytes, can safely skip it. */
3095 * becomes with 0 used bytes, we would incorrectly skip its update.
3680 * No longer have used bytes i
4186 reserve_chunk_space(struct btrfs_trans_handle *trans, u64 bytes, u64 type) argument
4265 u64 bytes; local
4294 u64 bytes; local
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_lib.c943 * For VSI_LUT, LUT size should be set to 64 bytes.
3448 * @bytes: number of processed bytes
3452 static void ice_update_ring_stats(struct ice_q_stats *stats, u64 pkts, u64 bytes) argument
3454 stats->bytes += bytes;
3462 * @bytes: number of processed bytes
3464 void ice_update_tx_ring_stats(struct ice_tx_ring *tx_ring, u64 pkts, u64 bytes) argument
3467 ice_update_ring_stats(&tx_ring->ring_stats->stats, pkts, bytes);
3477 ice_update_rx_ring_stats(struct ice_rx_ring *rx_ring, u64 pkts, u64 bytes) argument
[all...]
/linux-master/arch/x86/kernel/kprobes/
H A Dcore.c151 return test_bit(insn->opcode.bytes[1],
166 opcode = insn->opcode.bytes[0];
186 return X86_MODRM_REG(insn->modrm.bytes[0]) != 0b110;
189 return X86_MODRM_REG(insn->modrm.bytes[0]) != 0b001;
192 return X86_MODRM_REG(insn->modrm.bytes[0]) == 0b000 ||
193 X86_MODRM_REG(insn->modrm.bytes[0]) == 0b001;
196 return X86_MODRM_REG(insn->modrm.bytes[0]) == 0b000 ||
197 X86_MODRM_REG(insn->modrm.bytes[0]) == 0b001 ||
198 X86_MODRM_REG(insn->modrm.bytes[0]) == 0b100;
270 if (insn->opcode.bytes[
[all...]
/linux-master/tools/iio/
H A Diio_utils.c74 * @bytes: output how many bytes the channel storage occupies
86 static int iioutils_get_type(unsigned int *is_signed, unsigned int *bytes, argument
159 *bytes = padint / 8;
491 &current->bytes,
/linux-master/sound/soc/sof/amd/
H A Dacp.h256 void memcpy_to_scratch(struct snd_sof_dev *sdev, u32 offset, unsigned int *src, size_t bytes);
257 void memcpy_from_scratch(struct snd_sof_dev *sdev, u32 offset, unsigned int *dst, size_t bytes);
293 void acp_mailbox_write(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes);
294 void acp_mailbox_read(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes);
/linux-master/sound/soc/
H A Dsoc-compress.c441 static int soc_compr_ack(struct snd_compr_stream *cstream, size_t bytes) argument
449 ret = snd_soc_dai_compr_ack(cpu_dai, cstream, bytes);
453 ret = snd_soc_component_compr_ack(cstream, bytes);
/linux-master/sound/core/
H A Dcontrol.c1033 memset32((u32 *)control->value.bytes.data + offset, pattern,
1143 p = (u32 *)control->value.bytes.data + offset;
1418 unsigned long elem_data_size; /* size of element data in bytes */
1424 // check whether the addition (in bytes) of user ctl element may overflow the limit.
/linux-master/net/rds/
H A Dsend.c872 rdsdebug("queued msg %p len %d, rs %p bytes %d seq %llu\n",
1094 *rdma_bytes += args->remote_vec.bytes;
/linux-master/lib/
H A Dmemcpy_kunit.c331 /* Copy a growing number of non-overlapping bytes ... */
332 for (int bytes = 1; bytes <= ARRAY_SIZE(large_src); bytes++) {
335 int right_zero_pos = offset + bytes;
340 memmove(large_dst + offset, large_src, bytes);
342 memcpy(large_dst + offset, large_src, bytes);
347 "with size %d at offset %d", bytes, offset);
351 "with size %d at offset %d", bytes, offset);
355 memcmp(large_dst + offset, large_src, bytes),
395 inner_loop(struct kunit *test, int bytes, int d_off, int s_off) argument
[all...]
/linux-master/fs/xfs/
H A Dxfs_trace.h31 * pos: file offset, in bytes
32 * bytecount: number of bytes
34 * disize: ondisk file size, in bytes
35 * isize: incore file size, in bytes
37 * forkoff: inode fork offset, in bytes
4649 __field(unsigned long long, bytes)
4658 __entry->bytes = (inode->i_blocks << SECTOR_SHIFT) + inode->i_bytes;
4664 __entry->bytes,

Completed in 799 milliseconds

1234567891011>>