Searched refs:bytes (Results 601 - 625 of 1684) sorted by relevance

<<21222324252627282930>>

/linux-master/fs/bcachefs/
H A Dfs-io-buffered.c175 unsigned bytes, sectors, offset_into_extent; local
216 bytes = min(sectors, bio_sectors(&rbio->bio)) << 9;
217 swap(rbio->bio.bi_iter.bi_size, bytes);
219 if (rbio->bio.bi_iter.bi_size == bytes)
230 swap(rbio->bio.bi_iter.bi_size, bytes);
231 bio_advance(&rbio->bio, bytes);
1045 unsigned bytes = iov_iter_count(iter); local
1057 if (unlikely(fault_in_iov_iter_readable(iter, bytes))) {
1058 bytes = min_t(unsigned long, iov_iter_count(iter),
1061 if (unlikely(fault_in_iov_iter_readable(iter, bytes))) {
[all...]
H A Dbtree_io.c180 size_t bytes = b->whiteout_u64s * sizeof(u64); local
185 new_whiteouts = btree_bounce_alloc(c, bytes, &used_mempool);
187 ptrs = ptrs_end = ((void *) new_whiteouts + bytes);
210 btree_bounce_free(c, bytes, used_mempool, new_whiteouts);
310 unsigned i, u64s = 0, bytes, shift = end_idx - start_idx - 1; local
325 bytes = sorting_entire_node
329 out = btree_bounce_alloc(c, bytes, &used_mempool);
337 BUG_ON(vstruct_end(&out->keys) > (void *) out + bytes);
351 BUG_ON(bytes != btree_buf_bytes(b));
386 btree_bounce_free(c, bytes, used_mempoo
1993 unsigned bytes_to_write, sectors_to_write, bytes, u64s; local
2367 u64 bytes = atomic64_read(&c->btree_write_stats[i].bytes); local
[all...]
/linux-master/tools/perf/
H A Dbuiltin-timechart.c166 u64 bytes; member in struct:io_sample
824 sample->bytes = ret;
834 sample->bytes += prev->bytes;
841 if (!sample->err && sample->bytes > c->max_bytes)
842 c->max_bytes = sample->bytes;
1143 double bytes; local
1163 double h = (double)sample->bytes / c->max_bytes;
1229 bytes = c->total_bytes;
1230 if (bytes > 102
[all...]
/linux-master/drivers/usb/gadget/udc/
H A Dlpc32xx_udc.c1135 static void udc_pop_fifo(struct lpc32xx_udc *udc, u8 *data, u32 bytes) argument
1145 cbytes = (bytes & ~0x3);
1151 /* Handle any remaining bytes */
1152 bl = bytes - cbytes;
1164 for (n = 0; n < bytes; n += 4) {
1167 bl = bytes - n;
1178 cbytes = (bytes & ~0x3);
1187 /* Handle any remaining bytes */
1188 bl = bytes - cbytes;
1203 u32 bytes)
1202 udc_read_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 *data, u32 bytes) argument
1236 udc_stuff_fifo(struct lpc32xx_udc *udc, u8 *data, u32 bytes) argument
1306 udc_write_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 *data, u32 bytes) argument
2188 int i, bytes; local
[all...]
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dgtt.c781 u64 pa, void *p_data, int bytes);
785 u64 gpa, void *data, int bytes)
791 if (bytes != 4 && bytes != 8)
794 ret = ppgtt_handle_guest_write_page_table_bytes(spt, gpa, data, bytes);
1691 u64 pa, void *p_data, int bytes)
1716 if (bytes == info->gtt_entry_size) {
2144 unsigned int off, void *p_data, unsigned int bytes)
2152 if (bytes != 4 && bytes !
783 ppgtt_write_protection_handler( struct intel_vgpu_page_track *page_track, u64 gpa, void *data, int bytes) argument
1689 ppgtt_handle_guest_write_page_table_bytes( struct intel_vgpu_ppgtt_spt *spt, u64 pa, void *p_data, int bytes) argument
2143 emulate_ggtt_mmio_read(struct intel_vgpu *vgpu, unsigned int off, void *p_data, unsigned int bytes) argument
2181 intel_vgpu_emulate_ggtt_mmio_read(struct intel_vgpu *vgpu, unsigned int off, void *p_data, unsigned int bytes) argument
2206 emulate_ggtt_mmio_write(struct intel_vgpu *vgpu, unsigned int off, void *p_data, unsigned int bytes) argument
2324 intel_vgpu_emulate_ggtt_mmio_write(struct intel_vgpu *vgpu, unsigned int off, void *p_data, unsigned int bytes) argument
[all...]
/linux-master/arch/sh/lib/
H A Dmemcpy-sh4.S24 ! Size is 16 or greater, and may have trailing bytes
39 ! 6 cycles, 4 bytes per iteration
97 ! Size is 16 or greater, and may have trailing bytes
112 ! 6 cycles, 4 bytes per iteration
222 ! 4 cycles, 2 bytes per iteration
347 ! Size is 16 or greater and less than 64, but may have trailing bytes
377 ! Copy the final 0-3 bytes
396 ! Size is at least 64 bytes, so will be going round the big loop at least once.
471 ! 16 cycles, 32 bytes per iteration
512 ! number of trailing bytes i
[all...]
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dmcdi.c204 int bytes = 0; local
215 for (i = 0; i < hdr_len / 4 && bytes < PAGE_SIZE; i++)
216 bytes += scnprintf(buf + bytes, PAGE_SIZE - bytes,
220 for (i = 0; i < inlen / 4 && bytes < PAGE_SIZE; i++)
221 bytes += scnprintf(buf + bytes, PAGE_SIZE - bytes,
293 int bytes local
[all...]
/linux-master/drivers/scsi/
H A Dxen-scsifront.c478 unsigned int i, off, len, bytes; local
518 bytes = min_t(unsigned int, len, PAGE_SIZE - off);
529 shadow->seg[ref_cnt].length = (uint16_t)bytes;
532 len -= bytes;
551 bytes = min_t(unsigned int, len, PAGE_SIZE - off);
552 bytes = min(bytes, data_len);
565 seg->length = (uint16_t)bytes;
569 len -= bytes;
570 data_len -= bytes;
[all...]
/linux-master/drivers/staging/rtl8192e/
H A Drtllib_tx.c39 * 802.11 frame_control for data frames - 2 bytes
60 * Total: 28 non-data bytes `----.----'
72 * Total: 8 non-data bytes `----.----'
83 * Total: 8 non-data bytes
94 * Total: 18 non-data bytes
101 * space to add the prefix and postfix (IV and ICV totalling 8 bytes in
102 * the case of WEP) So if you have 1500 bytes of payload with ieee->fts set to
104 * as the payload of each frame is reduced to 492 bytes.
111 * | | 14 bytes from skb->data
112 * | 2 bytes fo
529 int bytes, fc, qos_ctl = 0, hdr_len; local
[all...]
/linux-master/drivers/dma/
H A Didma64.c352 size_t bytes = desc->length; local
361 bytes -= hw->len;
365 return bytes;
368 bytes += desc->hw[--i].len;
370 return bytes - IDMA64C_CTLH_BLOCK_TS(ctlhi);
379 size_t bytes; local
389 bytes = idma64_active_desc_size(idma64c);
390 dma_set_residue(state, bytes);
393 bytes = to_idma64_desc(vdesc)->length;
394 dma_set_residue(state, bytes);
[all...]
/linux-master/fs/ntfs3/
H A Dfile.c428 * space requests 'len' bytes at 'vbo'. If FALLOC_FL_KEEP_SIZE is set
963 size_t copied, bytes; local
966 bytes = frame_size - off;
967 if (bytes > count)
968 bytes = count;
973 if (unlikely(fault_in_iov_iter_readable(from, bytes))) {
985 loff_t to = pos + bytes;
1002 WARN_ON(!bytes);
1013 min(tail, bytes), from);
1017 bytes
[all...]
H A Dfslog.c47 __le32 name_bytes; // 0x1C: In bytes.
94 __le16 size; // 0x00: In bytes
207 __le32 open_attr_len; // 0x30: In bytes
208 __le32 attr_names_len; // 0x34: In bytes
209 __le32 dirty_pages_len; // 0x38: In bytes
210 __le32 transact_table_len; // 0x3C: In bytes
670 static bool check_log_rec(const struct LOG_REC_HDR *lr, u32 bytes, u32 tr, argument
675 if (bytes < sizeof(struct LOG_REC_HDR))
708 if (bytes < lrh_length(lr))
714 static bool check_rstbl(const struct RESTART_TABLE *rt, size_t bytes) argument
795 u32 bytes = esize * used + sizeof(struct RESTART_TABLE); local
897 u32 bytes = bytes_per_rt(rt); local
1129 u32 bytes = log->page_size - page_off; local
2579 check_index_header(const struct INDEX_HDR *hdr, size_t bytes) argument
2621 check_index_buffer(const struct INDEX_BUFFER *ib, u32 bytes) argument
3045 u32 bytes = 0; local
[all...]
/linux-master/fs/gfs2/
H A Dfile.c1219 * blocks, determine how many bytes can be written.
1221 * @len: Max cap of bytes. What we return in *len must be <= this.
1257 loff_t bytes, max_bytes, max_blks; local
1270 bytes = sdp->sd_max_rg_data * sdp->sd_sb.sb_bsize / 2;
1271 if (!bytes)
1272 bytes = UINT_MAX;
1273 bytes &= bsize_mask;
1274 if (bytes == 0)
1275 bytes = sdp->sd_sb.sb_bsize;
1283 if (len < bytes)
[all...]
/linux-master/drivers/iio/
H A Dindustrialio-buffer.c98 * @n: First n bytes to read
697 unsigned int bytes; local
700 bytes = ch->scan_type.storagebits / 8;
702 bytes *= ch->scan_type.repeat;
703 return bytes;
717 unsigned int bytes = 0; local
724 bytes = ALIGN(bytes, length);
725 bytes += length;
731 bytes
785 unsigned int bytes; local
[all...]
/linux-master/arch/x86/kvm/
H A Demulate.c283 * Moreover, they are all exactly FASTOP_SIZE bytes long, so functions for
287 * The 16 byte alignment, considering 5 bytes for the RET thunk, 3 for ENDBR
288 * and 1 for the straight line speculation INT3, leaves 7 bytes for the
478 .src_bytes = ctxt->src.bytes,
479 .dst_bytes = ctxt->dst.bytes,
492 static void assign_register(unsigned long *reg, u64 val, int bytes) argument
495 switch (bytes) {
666 * 512 bytes of data must be aligned to a 16 byte boundary.
889 * Prefetch the remaining bytes of the instruction without crossing page
902 * We do not know exactly how many bytes wil
[all...]
/linux-master/tools/testing/selftests/net/
H A Dmsg_zerocopy.c95 static long packets, bytes, completions, expected_completions; variable
214 bytes += ret;
566 packets, bytes >> 20, completions,
603 /* Flush all outstanding bytes for the tcp receive queue */
608 /* MSG_TRUNC flushes up to len bytes */
618 bytes += ret;
621 /* Flush all outstanding datagrams. Verify first few bytes of each. */
648 bytes += cfg_payload_len;
673 fprintf(stderr, "rx=%lu (%lu MB)\n", packets, bytes >> 20);
/linux-master/tools/perf/arch/x86/tests/
H A Dintel-pt-test.c18 * @len: number of bytes to decode
19 * @bytes: bytes to decode
27 u8 bytes[INTEL_PT_PKT_MAX_SZ]; member in struct:test_data
189 static int dump_packet(const struct intel_pt_pkt *packet, const u8 *bytes, int len) argument
195 pr_debug(" %02x", bytes[i]);
213 dump_packet(&d->packet, d->bytes, d->len);
270 ret = intel_pt_get_packet(d->bytes, d->len, &packet, &ctx);
299 ret = dump_packet(&d->packet, d->bytes, d->len);
/linux-master/drivers/spi/
H A Dspi-rockchip-sfc.c367 u8 bytes = len & 0x3; local
384 /* write the rest non word aligned bytes */
385 if (bytes) {
389 memcpy(&tmp, buf, bytes);
398 u8 bytes = len & 0x3; local
416 /* read the rest non word aligned bytes */
417 if (bytes) {
422 memcpy(buf, &tmp, bytes);
/linux-master/fs/xfs/
H A Dxfs_sysfs.c441 int bytes; local
444 xlog_crack_grant_head(&log->l_reserve_head.grant, &cycle, &bytes);
445 return sysfs_emit(buf, "%d:%d\n", cycle, bytes);
455 int bytes; local
458 xlog_crack_grant_head(&log->l_write_head.grant, &cycle, &bytes);
459 return sysfs_emit(buf, "%d:%d\n", cycle, bytes);
/linux-master/sound/core/seq/
H A Dseq_midi_event.c167 * return true if MIDI bytes are encoded to an event
279 * decode from a sequencer event to midi bytes
426 unsigned char bytes[4]; local
434 bytes[0] = (ev->data.control.param & 0x3f80) >> 7;
435 bytes[1] = ev->data.control.param & 0x007f;
436 bytes[2] = (ev->data.control.value & 0x3f80) >> 7;
437 bytes[3] = ev->data.control.value & 0x007f;
448 buf[idx++] = bytes[i];
/linux-master/drivers/soc/fsl/dpio/
H A Ddpio-service.c38 u64 bytes; member in struct:dpaa2_io
191 obj->bytes = 0;
879 * @bytes: how many bytes have been dequeued by the user since the last call
881 void dpaa2_io_update_net_dim(struct dpaa2_io *d, __u64 frames, __u64 bytes) argument
890 d->bytes += bytes;
893 dim_update_sample(d->event_ctr, d->frames, d->bytes, &dim_sample);
/linux-master/arch/arm/mach-imx/
H A Dmmdc.c90 PMU_EVENT_ATTR_STRING(read-bytes, mmdc_pmu_read_bytes, "event=0x04")
91 PMU_EVENT_ATTR_STRING(read-bytes.unit, mmdc_pmu_read_bytes_unit, "MB");
92 PMU_EVENT_ATTR_STRING(read-bytes.scale, mmdc_pmu_read_bytes_scale, "0.000001");
93 PMU_EVENT_ATTR_STRING(write-bytes, mmdc_pmu_write_bytes, "event=0x05")
94 PMU_EVENT_ATTR_STRING(write-bytes.unit, mmdc_pmu_write_bytes_unit, "MB");
95 PMU_EVENT_ATTR_STRING(write-bytes.scale, mmdc_pmu_write_bytes_scale, "0.000001");
/linux-master/fs/reiserfs/
H A Ditem_ops.c161 int bytes; local
163 bytes = free - free % 8;
164 return bytes ? : -1;
299 int bytes; local
301 bytes = free - free % UNFM_P_SIZE;
302 return bytes ? : -1;
311 * return size in bytes of 'units' units. If first == 0 - calculate
352 "bytes number is asked for direntry");
/linux-master/tools/testing/selftests/x86/
H A Damx.c38 char bytes[0]; member in union:xsave_buffer::__anon3760
127 * EBX enumerates the size (in bytes) required by the XSAVE
181 int *ptr = (int *)&xbuf->bytes[xtiledata.xbuf_offset];
466 printf("\tAllocate memory for altstack (%u bytes).\n", enough_size);
473 printf("\tAfter sigaltstack() with small size (%u bytes).\n", small_size);
482 printf("\tAfter sigaltstack() with enough size (%u bytes).\n", enough_size);
492 printf("\tThen, sigaltstack() with small size (%u bytes).\n", small_size);
576 return memcmp(&xbuf1->bytes[xtiledata.xbuf_offset],
577 &xbuf2->bytes[xtiledata.xbuf_offset],
869 memcpy(&stashed_xsave->bytes[xtiledat
[all...]
/linux-master/include/trace/events/
H A Dbtrfs.h1131 u64 bytes, int reserve),
1133 TP_ARGS(fs_info, type, val, bytes, reserve),
1138 __field( u64, bytes )
1145 __entry->bytes = bytes;
1151 __entry->bytes)
1156 TP_PROTO(const struct btrfs_fs_info *fs_info, u64 flags, u64 bytes,
1159 TP_ARGS(fs_info, flags, bytes, flush, reason),
1163 __field( u64, bytes )
1170 __entry->bytes
[all...]

Completed in 1078 milliseconds

<<21222324252627282930>>