/openbmc/qemu/scripts/ |
H A D | checkpatch.pl | 618 my ($linenr, $remain, $off) = @_; 642 for (; $remain > 0; $line++) { 645 $remain--; 725 $remain--; 784 my ($linenr, $remain, $off) = @_; 825 $remain--; 863 my ($linenr, $remain) = @_; 869 my ($linenr, $remain) = @_; 875 my ($linenr, $remain, $off) = @_; 881 my ($linenr, $remain) = @_; [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | udbg.c | 104 int remain = n; in udbg_write() local 111 while (((c = *s++) != '\0') && (remain-- > 0)) { in udbg_write() 119 return n - remain; in udbg_write()
|
/openbmc/linux/drivers/staging/fbtft/ |
H A D | fb_ra8875.c | 248 size_t remain; in write_vmem16_bus8() local 258 remain = len / 2; in write_vmem16_bus8() 266 while (remain) { in write_vmem16_bus8() 267 to_copy = min(tx_array_size, remain); in write_vmem16_bus8() 269 to_copy, remain - to_copy); in write_vmem16_bus8() 279 remain -= to_copy; in write_vmem16_bus8()
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | ep0.c | 238 unsigned int remain; in ast_vhub_ep0_do_receive() local 242 remain = req->req.length - req->req.actual; in ast_vhub_ep0_do_receive() 244 EPVDBG(ep, "receive got=%d remain=%d\n", len, remain); in ast_vhub_ep0_do_receive() 247 if (len > remain) { in ast_vhub_ep0_do_receive() 249 len - remain); in ast_vhub_ep0_do_receive() 250 len = remain; in ast_vhub_ep0_do_receive() 255 if (len < ep->ep.maxpacket && len != remain) { in ast_vhub_ep0_do_receive() 257 len = remain; in ast_vhub_ep0_do_receive() 265 if (len < ep->ep.maxpacket || len == remain) { in ast_vhub_ep0_do_receive()
|
/openbmc/linux/lib/ |
H A D | genalloc.c | 283 unsigned long nbits, start_bit, end_bit, remain; in gen_pool_alloc_algo_owner() local 308 remain = bitmap_set_ll(chunk->bits, start_bit, nbits); in gen_pool_alloc_algo_owner() 309 if (remain) { in gen_pool_alloc_algo_owner() 310 remain = bitmap_clear_ll(chunk->bits, start_bit, in gen_pool_alloc_algo_owner() 311 nbits - remain); in gen_pool_alloc_algo_owner() 312 BUG_ON(remain); in gen_pool_alloc_algo_owner() 492 unsigned long start_bit, nbits, remain; in gen_pool_free_owner() local 507 remain = bitmap_clear_ll(chunk->bits, start_bit, nbits); in gen_pool_free_owner() 508 BUG_ON(remain); in gen_pool_free_owner()
|
/openbmc/linux/fs/ocfs2/ |
H A D | filecheck.c | 303 ssize_t ret = 0, total = 0, remain = PAGE_SIZE; in ocfs2_filecheck_attr_show() local 314 total = snprintf(buf, remain, "%u\n", ent->fs_fcheck->fc_max); in ocfs2_filecheck_attr_show() 319 ret = snprintf(buf, remain, "INO\t\tDONE\tERROR\n"); in ocfs2_filecheck_attr_show() 321 remain -= ret; in ocfs2_filecheck_attr_show() 327 ret = snprintf(buf + total, remain, "%lu\t\t%u\t%s\n", in ocfs2_filecheck_attr_show() 330 if (ret >= remain) { in ocfs2_filecheck_attr_show() 336 remain -= ret; in ocfs2_filecheck_attr_show()
|
/openbmc/linux/arch/alpha/lib/ |
H A D | memchr.S | 72 # Deal with the case where at most 8 bytes remain to be searched 103 # Deal with the case where $18 > 8 bytes remain to be 127 # At least two quads remain to be accessed. 133 # At least three quads remain to be accessed
|
H A D | ev6-memchr.S | 72 # Deal with the case where at most 8 bytes remain to be searched 123 # Deal with the case where $18 > 8 bytes remain to be 145 # At least two quads remain to be accessed. 150 # At least three quads remain to be accessed
|
/openbmc/linux/net/rxrpc/ |
H A D | insecure.c | 20 static int none_how_much_data(struct rxrpc_call *call, size_t remain, in none_how_much_data() argument 23 *_buf_size = *_data_size = min_t(size_t, remain, RXRPC_JUMBO_DATALEN); in none_how_much_data()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | kdebugfs.c | 33 unsigned long remain; in setup_data_read() local 57 remain = copy_to_user(user_buf, p, count); in setup_data_read() 61 if (remain) in setup_data_read()
|
/openbmc/linux/fs/omfs/ |
H A D | file.c | 230 int remain; in omfs_get_block() local 253 offset = find_block(inode, entry, block, extent_count, &remain); in omfs_get_block() 257 if (remain > max_blocks) in omfs_get_block() 258 remain = max_blocks; in omfs_get_block() 259 bh_result->b_size = (remain << inode->i_blkbits); in omfs_get_block()
|
/openbmc/linux/drivers/crypto/aspeed/ |
H A D | aspeed-hace-hash.c | 120 int length, remain; in aspeed_ahash_dma_prepare() local 123 remain = length % rctx->block_size; in aspeed_ahash_dma_prepare() 133 rctx->offset, rctx->total - remain, 0); in aspeed_ahash_dma_prepare() 134 rctx->offset += rctx->total - remain; in aspeed_ahash_dma_prepare() 142 rctx->offset, remain, 0); in aspeed_ahash_dma_prepare() 144 rctx->bufcnt = remain; in aspeed_ahash_dma_prepare() 153 hash_engine->src_length = length - remain; in aspeed_ahash_dma_prepare() 171 int length, remain, sg_len, i; in aspeed_ahash_dma_prepare_sg() local 175 length = rctx->total + rctx->bufcnt - remain; in aspeed_ahash_dma_prepare_sg() 179 "length", length, "remain", remain); in aspeed_ahash_dma_prepare_sg() [all …]
|
/openbmc/linux/drivers/staging/gdm724x/ |
H A D | gdm_tty.c | 155 size_t remain = len; in gdm_tty_write() local 161 while (remain) { in gdm_tty_write() 162 size_t sending_len = min_t(size_t, MUX_TX_MAX_SIZE, remain); in gdm_tty_write() 170 remain -= sending_len; in gdm_tty_write()
|
/openbmc/linux/samples/pktgen/ |
H A D | functions.sh | 273 local remain=$[ bitlen-prefix ] 284 min_mask="$(printf '1%.s' $(seq $prefix))$(printf '0%.s' $(seq $remain))" 285 max_mask="$(printf '0%.s' $(seq $prefix))$(printf '1%.s' $(seq $remain))"
|
/openbmc/linux/drivers/infiniband/hw/cxgb4/ |
H A D | mem.c | 194 u32 remain = len; in _c4iw_write_mem_dma() local 205 while (remain > inline_threshold) { in _c4iw_write_mem_dma() 206 if (remain < T4_ULPTX_MAX_DMA) { in _c4iw_write_mem_dma() 207 if (remain & ~T4_ULPTX_MIN_IO) in _c4iw_write_mem_dma() 208 dmalen = remain & ~(T4_ULPTX_MIN_IO-1); in _c4iw_write_mem_dma() 210 dmalen = remain; in _c4iw_write_mem_dma() 213 remain -= dmalen; in _c4iw_write_mem_dma() 215 skb, remain ? NULL : wr_waitp); in _c4iw_write_mem_dma() 222 if (remain) in _c4iw_write_mem_dma() 223 ret = _c4iw_write_mem_inline(rdev, addr, remain, data, skb, in _c4iw_write_mem_dma()
|
/openbmc/linux/drivers/platform/x86/intel/pmt/ |
H A D | class.c | 41 int i, remain; in pmt_memcpy64_fromio() local 51 remain = count % 8; in pmt_memcpy64_fromio() 52 if (remain) { in pmt_memcpy64_fromio() 55 memcpy(&buf[i], &tmp, remain); in pmt_memcpy64_fromio()
|
/openbmc/linux/drivers/usb/dwc2/ |
H A D | hcd_ddma.c | 871 u16 remain = 0; in dwc2_cmpl_host_isoc_dma_desc() local 892 remain = (dma_desc->status & HOST_DMA_ISOC_NBYTES_MASK) >> in dwc2_cmpl_host_isoc_dma_desc() 902 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc() 906 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc() 1052 u16 remain = 0; in dwc2_update_non_isoc_urb_state_ddma() local 1055 remain = (dma_desc->status & HOST_DMA_NBYTES_MASK) >> in dwc2_update_non_isoc_urb_state_ddma() 1058 dev_vdbg(hsotg->dev, "remain=%d dwc2_urb=%p\n", remain, urb); in dwc2_update_non_isoc_urb_state_ddma() 1098 urb->actual_length += n_bytes - remain; in dwc2_update_non_isoc_urb_state_ddma() 1099 if (remain || urb->actual_length >= urb->length) { in dwc2_update_non_isoc_urb_state_ddma() 1114 urb->actual_length += n_bytes - remain; in dwc2_update_non_isoc_urb_state_ddma() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_shmem.c | 427 u64 remain, offset; in shmem_pwrite() local 459 remain = arg->size; in shmem_pwrite() 471 if (len > remain) in shmem_pwrite() 472 len = remain; in shmem_pwrite() 503 remain -= len; in shmem_pwrite() 507 } while (remain); in shmem_pwrite()
|
/openbmc/linux/drivers/gpu/drm/msm/disp/ |
H A D | msm_disp_snapshot.c | 22 iter.remain = count; in disp_devcoredump_read() 28 return count - iter.remain; in disp_devcoredump_read()
|
/openbmc/openbmc-tools/pwmtachtool/src/ |
H A D | EINTR_wrappers.c | 238 …k_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, struct timespec *remain) in sigwrap_clock_nanosleep() argument 242 if (!remain) in sigwrap_clock_nanosleep() 243 remain = &Remain; in sigwrap_clock_nanosleep() 249 int Result = clock_nanosleep(clock_id, flags, &Wait, remain); in sigwrap_clock_nanosleep() 258 Wait = *remain; in sigwrap_clock_nanosleep()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch | 27 + int64_t remain) 32 - int64_t remain = s->len;
|
/openbmc/linux/drivers/mmc/host/ |
H A D | mmci.c | 1398 u32 remain, success; in mmci_data_irq() local 1616 if (count > remain) in mmci_pio_read() 1617 count = remain; in mmci_pio_read() 1642 remain -= count; in mmci_pio_read() 1645 if (remain == 0) in mmci_pio_read() 1678 remain -= count; in mmci_pio_write() 1680 if (remain == 0) in mmci_pio_write() 1705 unsigned int remain, len; in mmci_pio_irq() local 1722 remain = sg_miter->length; in mmci_pio_irq() 1733 remain -= len; in mmci_pio_irq() [all …]
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-stream.c | 84 u32 remain = 0x1000 - (offset & 0xfff); in hda_setup_bdle() local 86 if (chunk > remain) in hda_setup_bdle() 87 chunk = remain; in hda_setup_bdle() 113 int remain, ioc; in hda_dsp_stream_setup_bdl() local 124 remain = hstream->bufsize % period_bytes; in hda_dsp_stream_setup_bdl() 125 if (remain) in hda_dsp_stream_setup_bdl() 141 if (i == (periods - 1) && remain) in hda_dsp_stream_setup_bdl() 145 remain, 0); in hda_dsp_stream_setup_bdl()
|
/openbmc/linux/fs/ |
H A D | splice.c | 329 size_t used, npages, chunk, remain, keep = 0; in copy_splice_read() local 353 chunk = min_t(size_t, PAGE_SIZE, remain); in copy_splice_read() 357 remain -= chunk; in copy_splice_read() 383 remain = ret; in copy_splice_read() 387 chunk = min_t(size_t, remain, PAGE_SIZE); in copy_splice_read() 395 remain -= chunk; in copy_splice_read() 805 size_t remain = len; in splice_to_socket() local 852 seg = min_t(size_t, remain, buf->len); in splice_to_socket() 862 remain -= seg; in splice_to_socket() 863 if (remain == 0 || bc >= ARRAY_SIZE(bvec)) in splice_to_socket() [all …]
|
/openbmc/linux/drivers/media/usb/au0828/ |
H A D | au0828-video.c | 325 remain = len; in au0828_copy_video() 338 lencopy = lencopy > remain ? remain : lencopy; in au0828_copy_video() 345 lencopy = remain; in au0828_copy_video() 351 remain -= lencopy; in au0828_copy_video() 353 while (remain > 0) { in au0828_copy_video() 356 if (bytesperline > remain) in au0828_copy_video() 357 lencopy = remain; in au0828_copy_video() 374 remain -= lencopy; in au0828_copy_video() 501 unsigned int remain, lencopy; in au0828_isoc_copy() local 605 if (len < remain) in au0828_isoc_copy() [all …]
|