/kernel/linux/linux-6.6/drivers/usb/mon/ |
H A D | mon_bin.c | 118 * This has to take 16 bytes to make sure that the end of buffer 135 struct mon_bin_hdr __user *hdr; /* Can be 48 bytes or 64. */ 167 #define ISODESC_MAX 128 /* Same number as usbfs allows, 2048 bytes. */ 186 unsigned int b_size; /* Current size of the buffer - bytes */ 188 unsigned int b_in, b_out; /* Offsets into buffer - bytes */ 359 * Return a few (kilo-)bytes to the head of the buffer. 905 unsigned int bytes, avail; in mon_bin_fetch() local 925 bytes = 0; in mon_bin_fetch() 926 while (bytes < avail) { in mon_bin_fetch() 941 bytes in mon_bin_fetch() 955 unsigned int bytes, avail; mon_bin_queued() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | cypress_m8.c | 261 * than 800 bytes/sec, in which case 4800 baud is the in analyze_baud_rate() 662 dev_dbg(&port->dev, "%s - %d bytes\n", __func__, count); in cypress_write() 784 /* do not count the line control and size bytes */ in cypress_send() 1021 int bytes = 0; in cypress_read_int_callback() local 1067 bytes = data[1] + 2; in cypress_read_int_callback() 1073 bytes = (data[0] & 0x07) + 1; in cypress_read_int_callback() 1078 if (result < bytes) { in cypress_read_int_callback() 1080 "%s - wrong packet size - received %d bytes but packet said %d bytes\n", in cypress_read_int_callback() 1081 __func__, result, bytes); in cypress_read_int_callback() [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | bio.c | 894 * Return true if @bio is full and one segment with @len bytes can't be 1040 * Returns: number of bytes added to the bio, or 0 in case of a failure. 1127 * @len: How many bytes from the folio to add. 1390 void __bio_advance(struct bio *bio, unsigned bytes) in __bio_advance() argument 1393 bio_integrity_advance(bio, bytes); in __bio_advance() 1395 bio_crypt_advance(bio, bytes); in __bio_advance() 1396 bio_advance_iter(bio, &bio->bi_iter, bytes); in __bio_advance() 1406 unsigned int bytes = min(src_bv.bv_len, dst_bv.bv_len); in bio_copy_data_iter() local 1410 memcpy(dst_buf, src_buf, bytes); in bio_copy_data_iter() 1415 bio_advance_iter_single(src, src_iter, bytes); in bio_copy_data_iter() [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-xiic.c | 132 * Register offsets in bytes from RegisterBase. Three is added to the 519 * Minimum of 3 bytes required to exit cleanly. 1 byte in xiic_smbus_block_read_setup() 553 "%s entry, bytes in fifo: %d, rem: %d, SR: 0x%x, CR: 0x%x\n", in xiic_read_rx() 606 u8 bytes; in xiic_read_rx() local 608 /* Receive remaining bytes if less than fifo depth */ in xiic_read_rx() 609 bytes = min_t(u8, xiic_rx_space(i2c), IIC_RX_FIFO_DEPTH); in xiic_read_rx() 610 bytes--; in xiic_read_rx() 611 xiic_setreg8(i2c, XIIC_RFD_REG_OFFSET, bytes); in xiic_read_rx() 891 u8 bytes; in xiic_start_recv() local 907 bytes in xiic_start_recv() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/sw/siw/ |
H A D | siw_qp.c | 603 siw_dbg_qp(qp, "sent TERM: %s, layer %d, type %d, code %d (%d bytes)\n", in siw_send_terminate() 1063 int siw_sqe_complete(struct siw_qp *qp, struct siw_sqe *sqe, u32 bytes, in siw_sqe_complete() argument 1087 cqe->bytes = bytes; in siw_sqe_complete() 1121 int siw_rqe_complete(struct siw_qp *qp, struct siw_rqe *rqe, u32 bytes, in siw_rqe_complete() argument 1145 cqe->bytes = bytes; in siw_rqe_complete() 1228 siw_sqe_complete(qp, &wqe->sqe, wqe->bytes, in siw_sq_flush() 1281 siw_rqe_complete(qp, &wqe->rqe, wqe->bytes, in siw_rq_flush()
|
/kernel/linux/linux-6.6/net/tls/ |
H A D | tls_device.c | 399 static int tls_device_copy_data(void *addr, size_t bytes, struct iov_iter *i) in tls_device_copy_data() argument 405 pre_copy = min(pre_copy, bytes); in tls_device_copy_data() 408 bytes -= pre_copy; in tls_device_copy_data() 412 nocache = round_down(bytes, SMP_CACHE_BYTES); in tls_device_copy_data() 415 bytes -= nocache; in tls_device_copy_data() 418 if (bytes && copy_from_iter(addr, bytes, i) != bytes) in tls_device_copy_data()
|
/third_party/ffmpeg/libavcodec/ |
H A D | cook.c | 30 * bytes provided from the RM container; 8+ bytes for mono streams and 279 #define DECODE_BYTES_PAD1(bytes) (3 - ((bytes) + 3) % 4) 280 #define DECODE_BYTES_PAD2(bytes) ((bytes) % 4 + DECODE_BYTES_PAD1(2 * (bytes))) 286 * Out buffer size: extra bytes are needed to cope with 300 * @param bytes number of bytes 302 decode_bytes(const uint8_t *inbuffer, uint8_t *out, int bytes) decode_bytes() argument [all...] |
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
H A D | usbd_generic_ep0.c | 353 size_t bytes = offsetof(struct generic_strings_head, length); in generic_got_strings() local 359 get_unaligned_le32((uint32_t *)(data + bytes)) != len)) in generic_got_strings() 364 bytes = offsetof(struct generic_strings_head, str_count); in generic_got_strings() 365 str_count = get_unaligned_le32((uint32_t *)(data + bytes)); in generic_got_strings() 366 bytes = offsetof(struct generic_strings_head, lang_count); in generic_got_strings() 367 lang_count = get_unaligned_le32((uint32_t *)(data + bytes)); in generic_got_strings() 381 bytes = sizeof(struct usbd_string) * (str_count + 1); in generic_got_strings() 382 dev_strings->strings = usbm_zalloc(&dev->obj, bytes); in generic_got_strings()
|
/third_party/node/test/fixtures/wpt/wasm/jsapi/ |
H A D | wasm-module-builder.js | 9 // The bytes function receives one of 15 function bytes(...input) { function 706 addExplicitSection(bytes) { 707 this.explicit.push(bytes); 717 createCustomSection(name, bytes) { 721 section.emit_u32v(name.length + bytes.length); 723 section.emit_bytes(bytes); 727 addCustomSection(name, bytes) { 728 this.explicit.push(this.createCustomSection(name, bytes));
|
/third_party/protobuf/js/binary/ |
H A D | writer.js | 86 * Total number of bytes in the blocks_ array. Does _not_ include bytes in 112 * Append a typed array of bytes onto the buffer. 144 * parent block and adds the number of bytes needed to encode that length to 167 * @param {!Uint8Array} bytes The array of bytes to write. 172 bytes, start, end) { 173 this.appendUint8Array_(bytes.subarray(start, end)); 180 * @param {?Uint8Array} bytes The array of bytes t [all...] |
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | libata-sff.c | 545 /* Transfer multiple of 2 bytes */ in ata_sff_data_xfer() 560 * swapping bytes to and from on the big endian machines... in ata_sff_data_xfer() 605 /* Transfer multiple of 4 bytes */ in ata_sff_data_xfer32() 611 /* Transfer trailing bytes, if any */ in ata_sff_data_xfer32() 620 * swapping bytes to and from on the big endian machines... in ata_sff_data_xfer32() 658 * Transfer qc->sect_size bytes of data from/to the ATA device. 740 * atapi_send_cdb - Write CDB bytes to hardware 782 * @bytes: number of bytes 790 static int __atapi_pio_bytes(struct ata_queued_cmd *qc, unsigned int bytes) in __atapi_pio_bytes() argument 864 unsigned int ireason, bc_lo, bc_hi, bytes; atapi_pio_bytes() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_sched.c | 93 * @buf_size: buffer size in bytes 124 * @buf_size: buffer size in bytes 207 * @buf_size: buffer size in bytes 367 * @buf_size: buffer size in bytes 397 * @buf_size: buffer size in bytes 418 * @buf_size: buffer size in bytes 439 * @buf_size: buffer size in bytes 459 * @buf_size: buffer size in bytes 477 * @buf_size: buffer size in bytes 584 * @buf_size: buffer size in bytes 2832 ice_cfg_rl_burst_size(struct ice_hw *hw, u32 bytes) ice_cfg_rl_burst_size() argument [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | qcom_geni_serial.c | 106 /* We always configure 4 bytes per FIFO word */ 129 int (*handle_rx)(struct uart_port *uport, u32 bytes, bool drop); 147 static int handle_rx_console(struct uart_port *uport, u32 bytes, bool drop); 148 static int handle_rx_uart(struct uart_port *uport, u32 bytes, bool drop); 285 * Total polling iterations based on FIFO worth of bytes to be in qcom_geni_serial_poll_bit() 428 * Account for additional bytes to be written. in __qcom_geni_serial_console_write() 527 static int handle_rx_console(struct uart_port *uport, u32 bytes, bool drop) in handle_rx_console() argument 535 for (i = 0; i < bytes; ) { in handle_rx_console() 537 int chunk = min_t(int, bytes - i, BYTES_PER_FIFO_WORD); in handle_rx_console() 565 static int handle_rx_console(struct uart_port *uport, u32 bytes, boo argument 572 handle_rx_uart(struct uart_port *uport, u32 bytes, bool drop) handle_rx_uart() argument [all...] |
/kernel/linux/linux-5.10/sound/core/ |
H A D | pcm_lib.c | 1917 void *buf, unsigned long bytes); 1933 void *buf, unsigned long bytes) in default_write_copy() 1936 (void __user *)buf, bytes)) in default_write_copy() 1944 void *buf, unsigned long bytes) in default_write_copy_kernel() 1946 memcpy(get_dma_ptr(substream->runtime, channel, hwoff), buf, bytes); in default_write_copy_kernel() 1955 unsigned long hwoff, void *buf, unsigned long bytes) in fill_silence() 1963 hwoff, bytes); in fill_silence() 1967 bytes_to_samples(runtime, bytes)); in fill_silence() 1974 void *buf, unsigned long bytes) in default_read_copy() 1978 bytes)) in default_read_copy() 1931 default_write_copy(struct snd_pcm_substream *substream, int channel, unsigned long hwoff, void *buf, unsigned long bytes) default_write_copy() argument 1942 default_write_copy_kernel(struct snd_pcm_substream *substream, int channel, unsigned long hwoff, void *buf, unsigned long bytes) default_write_copy_kernel() argument 1954 fill_silence(struct snd_pcm_substream *substream, int channel, unsigned long hwoff, void *buf, unsigned long bytes) fill_silence() argument 1972 default_read_copy(struct snd_pcm_substream *substream, int channel, unsigned long hwoff, void *buf, unsigned long bytes) default_read_copy() argument 1984 default_read_copy_kernel(struct snd_pcm_substream *substream, int channel, unsigned long hwoff, void *buf, unsigned long bytes) default_read_copy_kernel() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-kmem.c | 791 u64 bytes = kmem_page_size << order; in evsel__process_page_alloc_event() local 806 total_page_alloc_bytes += bytes; in evsel__process_page_alloc_event() 810 total_page_fail_bytes += bytes; in evsel__process_page_alloc_event() 830 pstat->alloc_bytes += bytes; in evsel__process_page_alloc_event() 839 pstat->alloc_bytes += bytes; in evsel__process_page_alloc_event() 849 pstat->alloc_bytes += bytes; in evsel__process_page_alloc_event() 860 u64 bytes = kmem_page_size << order; in evsel__process_page_free_event() local 872 total_page_free_bytes += bytes; in evsel__process_page_free_event() 881 total_page_nomatch_bytes += bytes; in evsel__process_page_free_event() 901 pstat->free_bytes += bytes; in evsel__process_page_free_event() [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 1462 unsigned bytes) in o2hb_fill_node_map_from_callback() 1464 BUG_ON(bytes < (BITS_TO_LONGS(O2NM_MAX_NODES) * sizeof(unsigned long))); in o2hb_fill_node_map_from_callback() 1466 memcpy(map, &o2hb_live_node_bitmap, bytes); in o2hb_fill_node_map_from_callback() 1472 void o2hb_fill_node_map(unsigned long *map, unsigned bytes) in o2hb_fill_node_map() argument 1478 o2hb_fill_node_map_from_callback(map, bytes); in o2hb_fill_node_map() 1540 unsigned long bytes; in o2hb_read_block_input() local 1543 bytes = simple_strtoul(p, &p, 0); in o2hb_read_block_input() 1548 if (bytes > 4096 || bytes < 512) in o2hb_read_block_input() 1550 if (hweight16(bytes) ! in o2hb_read_block_input() 1461 o2hb_fill_node_map_from_callback(unsigned long *map, unsigned bytes) o2hb_fill_node_map_from_callback() argument [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | buffer.c | 594 * @start: start offset in bytes 595 * @end: end offset in bytes (inclusive) 637 * @start: start offset in bytes 638 * @end: end offset in bytes (inclusive) 1461 * @size: size (in bytes) to read 2489 loff_t pos, loff_t *bytes) in cont_expand_zero() 2504 while (index > (curidx = (curpos = *bytes)>>PAGE_SHIFT)) { in cont_expand_zero() 2507 *bytes |= (blocksize-1); in cont_expand_zero() 2508 (*bytes)++; in cont_expand_zero() 2540 *bytes | in cont_expand_zero() 2488 cont_expand_zero(struct file *file, struct address_space *mapping, loff_t pos, loff_t *bytes) cont_expand_zero() argument 2565 cont_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, struct page **pagep, void **fsdata, get_block_t *get_block, loff_t *bytes) cont_write_begin() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | trace.h | 810 __field(unsigned long long, bytes) 819 __entry->bytes = statbuf.bytes; 822 __entry->bytes = -1; 829 __entry->bytes, 849 __entry->bytes_used = statbuf.bytes; 968 TP_PROTO(struct xfarray_sortinfo *si, size_t bytes), 969 TP_ARGS(si, bytes), 974 __field(size_t, bytes) 981 __entry->bytes [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-kmem.c | 813 u64 bytes = kmem_page_size << order; in evsel__process_page_alloc_event() local 828 total_page_alloc_bytes += bytes; in evsel__process_page_alloc_event() 832 total_page_fail_bytes += bytes; in evsel__process_page_alloc_event() 852 pstat->alloc_bytes += bytes; in evsel__process_page_alloc_event() 861 pstat->alloc_bytes += bytes; in evsel__process_page_alloc_event() 871 pstat->alloc_bytes += bytes; in evsel__process_page_alloc_event() 882 u64 bytes = kmem_page_size << order; in evsel__process_page_free_event() local 894 total_page_free_bytes += bytes; in evsel__process_page_free_event() 903 total_page_nomatch_bytes += bytes; in evsel__process_page_free_event() 923 pstat->free_bytes += bytes; in evsel__process_page_free_event() [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_lens_correction.cpp | 1537 // Grab the size in bytes. 1539 const uint32 bytes = stream.Get_uint32 (); 1555 if (bytes != ParamBytes (fWarpParams.fPlanes)) 1621 const uint32 bytes = ParamBytes (fWarpParams.fPlanes); 1623 stream.Put_uint32 (bytes); 1727 // Grab the size in bytes. 1729 const uint32 bytes = stream.Get_uint32 (); 1745 if (bytes != ParamBytes (fWarpParams.fPlanes)) 1808 const uint32 bytes = ParamBytes (fWarpParams.fPlanes); 1810 stream.Put_uint32 (bytes); [all...] |
/third_party/selinux/libsepol/src/ |
H A D | services.c | 1681 int next_entry(void *buf, struct policy_file *fp, size_t bytes) in next_entry() argument 1687 nread = fread(buf, bytes, 1, fp->fp); in next_entry() 1693 if (bytes > fp->len) { in next_entry() 1697 memcpy(buf, fp->data, bytes); in next_entry() 1698 fp->data += bytes; in next_entry() 1699 fp->len -= bytes; in next_entry() 1711 size_t bytes = size * n; in put_entry() local 1717 if (bytes > fp->len) { in put_entry() 1722 memcpy(fp->data, ptr, bytes); in put_entry() 1723 fp->data += bytes; in put_entry() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | dmcu.h | 64 unsigned int bytes);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_rx.h | 23 u64 bytes; member
|
H A D | hinic_tx.h | 20 u64 bytes; member
|
/kernel/linux/linux-5.10/sound/usb/ |
H A D | helper.h | 5 unsigned int snd_usb_combine_bytes(unsigned char *bytes, int size);
|