/linux-master/drivers/rtc/ |
H A D | rtc-stk17ta8.c | 234 size_t bytes) 240 for (; bytes; bytes--) 246 size_t bytes) 252 for (; bytes; bytes--) 233 stk17ta8_nvram_read(void *priv, unsigned int pos, void *val, size_t bytes) argument 245 stk17ta8_nvram_write(void *priv, unsigned int pos, void *val, size_t bytes) argument
|
H A D | rtc-isl12026.c | 278 void *val, size_t bytes) 297 * offset and bytes checked and limited by nvmem core, so 304 /* 2 bytes of address, most significant first */ 307 msgs[1].len = bytes; 322 void *val, size_t bytes) 328 u8 payload[ISL12026_PAGESIZE + 2]; /* page + 2 address bytes */ 338 * offset and bytes checked and limited by nvmem core, so 346 while (bytes) { 349 chunk_size = min(bytes, chunk_size); 351 * 2 bytes o 277 isl12026_nvm_read(void *p, unsigned int offset, void *val, size_t bytes) argument 321 isl12026_nvm_write(void *p, unsigned int offset, void *val, size_t bytes) argument [all...] |
H A D | rtc-pcf85363.c | 323 size_t bytes) 328 val, bytes); 332 size_t bytes) 337 val, bytes); 341 size_t bytes) 354 size_t bytes) 322 pcf85363_nvram_read(void *priv, unsigned int offset, void *val, size_t bytes) argument 331 pcf85363_nvram_write(void *priv, unsigned int offset, void *val, size_t bytes) argument 340 pcf85x63_nvram_read(void *priv, unsigned int offset, void *val, size_t bytes) argument 353 pcf85x63_nvram_write(void *priv, unsigned int offset, void *val, size_t bytes) argument
|
/linux-master/include/net/ |
H A D | fq_impl.h | 17 unsigned int bytes, unsigned int truesize) 22 tin->backlog_bytes -= bytes; 24 flow->backlog -= bytes; 66 unsigned int packets = 0, bytes = 0, truesize = 0; local 80 bytes += skb->len; 85 __fq_adjust_removal(fq, flow, packets, bytes, truesize); 16 __fq_adjust_removal(struct fq *fq, struct fq_flow *flow, unsigned int packets, unsigned int bytes, unsigned int truesize) argument
|
/linux-master/net/smc/ |
H A D | smc_rx.c | 158 int bytes, nr_pages; local 212 bytes = splice_to_pipe(pipe, &spd); 213 if (bytes > 0) { 216 for (i = 0; i < PAGE_ALIGN(bytes + offset) / PAGE_SIZE; i++) 221 atomic_add(bytes, &smc->conn.splice_pending); 227 return bytes; 247 /* blocks rcvbuf consumer until >=len bytes available or timeout or interrupted 357 int target; /* Read at least these many bytes */
|
/linux-master/fs/ocfs2/ |
H A D | slot_map.c | 205 * Calculate how many bytes are needed by the slot map. Returns 210 unsigned long long *bytes) 227 *bytes = bytes_needed; 340 unsigned long long blocks, bytes = 0; local 344 status = ocfs2_slot_map_physical_size(osb, si->si_inode, &bytes); 348 blocks = ocfs2_blocks_for_bytes(si->si_inode->i_sb, bytes); 364 trace_ocfs2_map_slot_buffers(bytes, si->si_blocks); 208 ocfs2_slot_map_physical_size(struct ocfs2_super *osb, struct inode *inode, unsigned long long *bytes) argument
|
/linux-master/arch/arm/lib/ |
H A D | memset.S | 46 stmiage ip!, {r1, r3, r8, lr} @ 64 bytes at a time. 51 ldmfdeq sp!, {r8, pc} @ Now <64 bytes to go. 115 * When we get here, we've got less than 4 bytes to set. We 126 blt 5b @ 1 bytes to align with?
|
/linux-master/drivers/mtd/devices/ |
H A D | st_spi_fsm.c | 291 * a high byte of zero plus three data bytes: the manufacturer id, 754 dev_dbg(fsm->dev, "Reading %d bytes from FIFO\n", size); 780 * possible for the FIFO to contain an arbitrary number of bytes [1], the 790 * 2. Mop up any remaining bytes. At this point, it is not known if there 791 * are 0, 1, 2, or 3 bytes in the FIFO. To handle all cases, a dummy FSM 793 * word is formed; at most, 4 bytes will need to be loaded. 797 * incomplete bytes in the FIFO, only words and bytes are considered here. 813 * 2. Clear any remaining bytes 825 dev_err(fsm->dev, "failed to clear bytes fro 913 stfsm_read_status(struct stfsm *fsm, uint8_t cmd, uint8_t *data, int bytes) argument 941 stfsm_write_status(struct stfsm *fsm, uint8_t cmd, uint16_t data, int bytes, int wait_busy) argument 1673 uint32_t bytes; local 1751 u32 bytes; local [all...] |
/linux-master/arch/x86/crypto/ |
H A D | crc32c-pcl-intel-asm_64.S | 64 # efficient "by-1" code. This "by-1" code only handles up to 255 bytes, so 123 #### Calculate CRC of unaligned bytes of the buffer (if any) 140 ## compute num of bytes to be processed 141 movq len, tmp # save num bytes in tmp 155 ## eax contains floor(bytes / 24) = num 24-byte chunks to do 264 ## 6) LESS THAN 256-bytes REMAIN AT THIS POINT (8-bits of len are full) 291 crc32l (bufptmp), crc_init_dw # CRC of 4 bytes 298 crc32w (bufptmp), crc_init_dw # CRC of 2 bytes 317 ## jump table Table is 129 entries x 2 bytes each 332 ## Table is 128 entries x 2 words (8 bytes) eac [all...] |
/linux-master/arch/x86/kernel/kprobes/ |
H A D | opt.c | 58 * If the kprobe can be optimized, original bytes which can be 60 * bytes must be recovered from op->optinsn.copied_insn buffer. 231 return ((insn->opcode.bytes[0] == 0xff && 233 insn->opcode.bytes[0] == 0xea); /* Segment based jump */ 241 switch (insn->opcode.bytes[0]) { 250 if ((insn->opcode.bytes[1] & 0xf0) == 0x80) /* jcc near */ 254 if ((insn->opcode.bytes[0] & 0xf0) == 0x70) /* jcc short */ 310 if (insn.opcode.bytes[0] == INT3_INSN_OPCODE && 471 * the 4 bytes after the INT3 are unused and can now be overwritten. 500 * After that, we can restore the 4 bytes afte [all...] |
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | sparse-cache.c | 238 unsigned int bytes; local 242 bytes = (sizeof(struct search_list) + 244 result = vdo_allocate_cache_aligned(bytes, "search list", &list); 264 unsigned int bytes; local 266 bytes = (sizeof(struct sparse_cache) + (capacity * sizeof(struct cached_chapter_index))); 267 result = vdo_allocate_cache_aligned(bytes, "sparse cache", &cache);
|
/linux-master/fs/nfs/ |
H A D | read.c | 142 unsigned long bytes = 0; local 157 if (bytes > hdr->good_bytes) { 162 } else if (hdr->good_bytes - bytes < req->wb_bytes) { 163 /* part of this request has good bytes, but 164 * not all. zero the bad bytes */ 165 start += hdr->good_bytes - bytes; 171 bytes += req->wb_bytes; 173 if (bytes <= hdr->good_bytes)
|
/linux-master/arch/x86/kernel/ |
H A D | sev.c | 205 * Reserve additional 8 bytes and store old IST value so this 1210 exit_info_1 = (ctxt->insn.opcode.bytes[1] == 0x30) ? 1 : 0; 1431 unsigned int bytes, bool read) 1455 exit_info_2 = bytes; 1482 unsigned int bytes) 1503 ret = vc_read_mem(ctxt, src, buffer, bytes); 1507 ret = vc_write_mem(ctxt, dst, buffer, bytes); 1512 off = -bytes; 1514 off = bytes; 1533 unsigned int bytes local 1430 vc_do_mmio(struct ghcb *ghcb, struct es_em_ctxt *ctxt, unsigned int bytes, bool read) argument 1481 vc_handle_mmio_movs(struct es_em_ctxt *ctxt, unsigned int bytes) argument [all...] |
/linux-master/drivers/usb/cdns3/ |
H A D | cdnsp-mem.c | 468 pdev->out_ctx.bytes = dma_pool_zalloc(pdev->device_pool, GFP_ATOMIC, 471 if (!pdev->out_ctx.bytes) 477 pdev->in_ctx.bytes = dma_pool_zalloc(pdev->device_pool, GFP_ATOMIC, 480 if (!pdev->in_ctx.bytes) { 481 dma_pool_free(pdev->device_pool, pdev->out_ctx.bytes, 495 return (struct cdnsp_input_control_ctx *)ctx->bytes; 501 return (struct cdnsp_slot_ctx *)ctx->bytes; 503 return (struct cdnsp_slot_ctx *)(ctx->bytes + ctx->ctx_size); 514 return (struct cdnsp_ep_ctx *)(ctx->bytes + (ep_index * ctx->ctx_size)); 536 * context array. Device Pool has 2048 bytes o [all...] |
/linux-master/fs/ntfs3/ |
H A D | run.c | 371 size_t bytes; local 374 /* Use power of 2 for 'bytes'. */ 376 bytes = 64; 379 bytes = run->allocated << 1; 381 bytes = (size_t)1 384 bytes = run->allocated + (16 * PAGE_SIZE); 387 WARN_ON(!is_mft && bytes > NTFS3_RUN_MAX_BYTES); 389 new_ptr = kvmalloc(bytes, GFP_KERNEL); 402 run->allocated = bytes; 815 * packed_size - How much bytes w 1153 size_t bytes = run->count * sizeof(struct ntfs_run); local [all...] |
/linux-master/drivers/dma/ |
H A D | img-mdc-dma.c | 185 static inline unsigned int to_mdc_width(unsigned int bytes) argument 187 return ffs(bytes) - 1; 191 unsigned int bytes) 193 ldesc->gen_conf |= to_mdc_width(bytes) << 198 unsigned int bytes) 200 ldesc->gen_conf |= to_mdc_width(bytes) << 577 size_t bytes = 0; local 591 bytes = mdesc->list_xfer_size; 628 bytes = mdesc->list_xfer_size; 631 bytes 190 mdc_set_read_width(struct mdc_hw_list_desc *ldesc, unsigned int bytes) argument 197 mdc_set_write_width(struct mdc_hw_list_desc *ldesc, unsigned int bytes) argument [all...] |
/linux-master/drivers/mtd/ubi/ |
H A D | cdev.c | 132 dbg_gen("only %lld of %lld bytes received for atomic LEB change for volume %d:%d, cancel", 181 dbg_gen("read %zd bytes from offset %lld of volume %d", 261 dbg_gen("requested: write %zd bytes to offset %lld of volume %u", 340 ubi_err(ubi, "cannot accept more %zd bytes of data, error %d", 348 * written bytes. 391 int64_t bytes, rsvd_bytes; local 398 err = copy_from_user(&bytes, argp, sizeof(int64_t)); 411 if (bytes < 0 || bytes > rsvd_bytes) { 420 err = ubi_start_update(ubi, vol, bytes); [all...] |
/linux-master/net/core/ |
H A D | datagram.c | 211 * @off: an offset in bytes to peek skb from. Returns an offset 403 size_t bytes, 493 static size_t hash_and_copy_to_iter(const void *addr, size_t bytes, void *hashp, argument 501 copied = copy_to_iter(addr, bytes, i); 529 static size_t simple_copy_to_iter(const void *addr, size_t bytes, argument 532 return copy_to_iter(addr, bytes, i); 765 static size_t csum_and_copy_to_iter(const void *addr, size_t bytes, void *_csstate, argument 776 csum_partial(addr, bytes, 0), 778 csstate->off += bytes; 779 return bytes; [all...] |
/linux-master/arch/sh/drivers/dma/ |
H A D | dma-g2.c | 21 unsigned long size; /* Size (in bytes), 32-byte aligned */ 57 unsigned int bytes = g2_bytes_remaining(i); local 59 if (likely(bytes == 0)) {
|
/linux-master/arch/sh/lib/ |
H A D | memset.S | 52 ! fill bytes
|
/linux-master/drivers/media/pci/mantis/ |
H A D | mantis_uart.c | 59 for (i = 0; i < (config->bytes + 1); i++) { 92 * config->bytes + 1 bytes are in the FIFO. 163 mmwrite((mmread(MANTIS_UART_BAUD) | (config->bytes << 8)), MANTIS_UART_BAUD);
|
/linux-master/include/linux/ |
H A D | async_tx.h | 198 async_raid6_2data_recov(int src_num, size_t bytes, int faila, int failb, 203 async_raid6_datap_recov(int src_num, size_t bytes, int faila,
|
/linux-master/sound/soc/intel/atom/ |
H A D | sst-mfld-platform.h | 110 unsigned long bytes); 127 int (*send_byte_stream)(struct device *dev, struct snd_sst_bytes_v2 *bytes);
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | cwsr_trap_handler_gfx8.asm | 69 var S_SAVE_BUF_RSRC_WORD1_STRIDE = 0x00040000 //stride is 4 bytes 234 s_mov_b32 s_save_buf_rsrc2, 0 //NUM_RECORDS initial value = 0 (in bytes) although not neccessarily inited 262 s_mov_b32 s_save_buf_rsrc2, 0x4 //NUM_RECORDS in bytes 263 s_mov_b32 s_save_buf_rsrc2, 0x1000000 //NUM_RECORDS in bytes 308 s_lshl_b32 s_save_buf_rsrc2, s_save_alloc_size, 2 //NUM_RECORDS in bytes 309 s_mov_b32 s_save_buf_rsrc2, 0x1000000 //NUM_RECORDS in bytes 348 s_mov_b32 s_save_buf_rsrc2, 0x1000000 //NUM_RECORDS in bytes 380 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 2 //LDS size in bytes 381 s_mov_b32 s_save_buf_rsrc2, s_save_alloc_size //NUM_RECORDS in bytes 391 s_mov_b32 s_save_buf_rsrc2, 0x1000000 //NUM_RECORDS in bytes [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | hv_vhca_stats.c | 25 data->rx_bytes = stats->rq.bytes; 29 data->tx_bytes += stats->sq[tc].bytes;
|