| /OK3568_Linux_fs/kernel/drivers/rkflash/ |
| H A D | sfc_nand_mtd.c | 45 size_t remaining = ops->len; in sfc_nand_write_mtd() local 48 rkflash_print_dio("%s addr= %llx len= %x\n", __func__, to, (u32)remaining); in sfc_nand_write_mtd() 49 if ((to + remaining) > mtd->size || to & mtd->writesize_mask || in sfc_nand_write_mtd() 50 remaining & mtd->writesize_mask || ops->ooblen) { in sfc_nand_write_mtd() 51 rkflash_print_error("%s input error, %llx %x\n", __func__, to, (u32)remaining); in sfc_nand_write_mtd() 57 while (remaining) { in sfc_nand_write_mtd() 71 remaining -= mtd->writesize; in sfc_nand_write_mtd() 82 size_t remaining = ops->len; in sfc_nand_read_mtd() local 88 rkflash_print_dio("%s addr= %llx len= %x\n", __func__, from, (u32)remaining); in sfc_nand_read_mtd() 89 if ((from + remaining) > mtd->size || ops->ooblen) { in sfc_nand_read_mtd() [all …]
|
| /OK3568_Linux_fs/kernel/arch/alpha/lib/ |
| H A D | srm_puts.c | 12 long remaining, written; in srm_puts() local 17 for (remaining = len; remaining > 0; remaining -= written) in srm_puts() 19 written = callback_puts(0, str, remaining); in srm_puts()
|
| /OK3568_Linux_fs/kernel/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_sendto.c | 372 unsigned int *remaining) in svc_rdma_encode_write_segment() argument 385 if (*remaining < length) { in svc_rdma_encode_write_segment() 387 length = *remaining; in svc_rdma_encode_write_segment() 388 *remaining = 0; in svc_rdma_encode_write_segment() 391 *remaining -= length; in svc_rdma_encode_write_segment() 416 unsigned int remaining) in svc_rdma_encode_write_chunk() argument 422 trace_svcrdma_encode_write_chunk(remaining); in svc_rdma_encode_write_chunk() 437 ret = svc_rdma_encode_write_segment(src, sctxt, &remaining); in svc_rdma_encode_write_chunk() 575 unsigned int remaining; in svc_rdma_pull_up_needed() local 579 remaining = xdr->page_len; in svc_rdma_pull_up_needed() [all …]
|
| H A D | rpc_rdma.c | 135 unsigned int count, remaining, offset; in rpcrdma_args_inline() local 141 remaining = xdr->page_len; in rpcrdma_args_inline() 144 while (remaining) { in rpcrdma_args_inline() 145 remaining -= min_t(unsigned int, in rpcrdma_args_inline() 146 PAGE_SIZE - offset, remaining); in rpcrdma_args_inline() 218 u32 remaining, page_offset; in rpcrdma_convert_kvec() local 223 remaining = vec->iov_len; in rpcrdma_convert_kvec() 224 while (remaining) { in rpcrdma_convert_kvec() 227 seg->mr_len = min_t(u32, PAGE_SIZE - page_offset, remaining); in rpcrdma_convert_kvec() 228 remaining -= seg->mr_len; in rpcrdma_convert_kvec() [all …]
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | rtnh.h | 8 static inline int rtnh_ok(const struct rtnexthop *rtnh, int remaining) in rtnh_ok() argument 10 return remaining >= (int)sizeof(*rtnh) && in rtnh_ok() 12 rtnh->rtnh_len <= remaining; in rtnh_ok() 16 int *remaining) in rtnh_next() argument 20 *remaining -= totlen; in rtnh_next()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/ |
| H A D | allocator.h | 82 int remaining; /* Number of bytes left in current block of storage. */ variable 98 remaining = 0; 137 if (size > remaining) { in allocateMemory() 139 wastedMemory += remaining; in allocateMemory() 159 remaining = blockSize - sizeof(void*) - shift; in allocateMemory() 164 remaining -= size; in allocateMemory()
|
| /OK3568_Linux_fs/kernel/drivers/target/tcm_fc/ |
| H A D | tfc_io.c | 49 size_t remaining; in ft_queue_data_in() local 75 remaining = se_cmd->data_length; in ft_queue_data_in() 80 BUG_ON(remaining && !se_cmd->t_data_sg); in ft_queue_data_in() 81 if (remaining) { in ft_queue_data_in() 89 use_sg = !(remaining % 4); in ft_queue_data_in() 91 while (remaining) { in ft_queue_data_in() 101 mem_len = min((size_t)sg->length, remaining); in ft_queue_data_in() 113 frame_len = min(frame_len, remaining); in ft_queue_data_in() 155 remaining -= tlen; in ft_queue_data_in() 160 if (!remaining) in ft_queue_data_in() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/container/detail/ |
| H A D | next_capacity.hpp | 42 const SizeType remaining = max_size - capacity; in get() local 43 if ( remaining < n ) in get() 46 return ( remaining < additional ) ? max_size : ( capacity + additional ); in get() 57 const SizeType remaining = max_size - capacity; in get() local 58 if ( remaining < n ) in get()
|
| /OK3568_Linux_fs/kernel/sound/soc/sof/ |
| H A D | loader.c | 232 ssize_t remaining; in snd_sof_fw_ext_man_parse() local 237 remaining = head->full_size - head->header_size; in snd_sof_fw_ext_man_parse() 255 while (remaining > sizeof(*elem_hdr)) { in snd_sof_fw_ext_man_parse() 262 elem_hdr->size > remaining) { in snd_sof_fw_ext_man_parse() 294 remaining -= elem_hdr->size; in snd_sof_fw_ext_man_parse() 298 if (remaining) { in snd_sof_fw_ext_man_parse() 490 size_t remaining; in snd_sof_parse_module_memcpy() local 498 remaining = module->size; in snd_sof_parse_module_memcpy() 501 if (remaining < sizeof(*block)) { in snd_sof_parse_module_memcpy() 507 remaining -= sizeof(*block); in snd_sof_parse_module_memcpy() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/md/bcache/ |
| H A D | closure.h | 156 atomic_t remaining; member 183 if ((atomic_read(&cl->remaining) & CLOSURE_REMAINING_MASK) != 1) in closure_sync() 224 atomic_sub(CLOSURE_RUNNING, &cl->remaining); in closure_set_stopped() 259 BUG_ON((atomic_inc_return(&cl->remaining) & in closure_get() 262 atomic_inc(&cl->remaining); in closure_get() 279 atomic_set(&cl->remaining, CLOSURE_REMAINING_INITIALIZER); in closure_init() 288 atomic_set(&cl->remaining, CLOSURE_REMAINING_INITIALIZER); in closure_init_stack()
|
| H A D | closure.c | 25 atomic_set(&cl->remaining, in closure_put_after_sub() 46 closure_put_after_sub(cl, atomic_sub_return(v, &cl->remaining)); in closure_sub() 54 closure_put_after_sub(cl, atomic_dec_return(&cl->remaining)); in closure_put() 87 if (atomic_read(&cl->remaining) & CLOSURE_WAITING) in closure_wait() 91 atomic_add(CLOSURE_WAITING + 1, &cl->remaining); in closure_wait() 169 int r = atomic_read(&cl->remaining); in debug_show()
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/pysh/ |
| H A D | pyshlex.py | 149 remaining = ''.join(self._buffer) 152 return result, remaining 368 remaining = token 374 pos, sep = find_chars(remaining, delimiters) 376 tree += [remaining, ''] 378 tree.append(remaining[:pos]) 379 remaining = remaining[pos:] 382 result, remaining = WordLexer(heredoc = here_document).add(remaining, True) 441 remaining = ''.join(self._buffer) 443 return token, remaining [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | atombios_i2c.c | 105 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local 122 remaining = p->len; in radeon_atom_hw_i2c_xfer() 132 while (remaining) { in radeon_atom_hw_i2c_xfer() 133 if (remaining > max_bytes) in radeon_atom_hw_i2c_xfer() 136 current_count = remaining; in radeon_atom_hw_i2c_xfer() 142 remaining -= current_count; in radeon_atom_hw_i2c_xfer()
|
| /OK3568_Linux_fs/kernel/lib/xz/ |
| H A D | xz_dec_test.c | 105 size_t remaining; in xz_dec_test_write() local 119 remaining = size; in xz_dec_test_write() 120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write() 124 buffers.in_size = min(remaining, sizeof(buffer_in)); in xz_dec_test_write() 129 remaining -= buffers.in_size; in xz_dec_test_write() 145 return size - remaining - (buffers.in_size - buffers.in_pos); in xz_dec_test_write()
|
| /OK3568_Linux_fs/kernel/lib/zstd/ |
| H A D | entropy_common.c | 65 int remaining; in FSE_readNCount() local 81 remaining = (1 << nbBits) + 1; in FSE_readNCount() 85 while ((remaining > 1) & (charnum <= *maxSVPtr)) { in FSE_readNCount() 118 int const max = (2 * threshold - 1) - remaining; in FSE_readNCount() 132 remaining -= count < 0 ? -count : count; /* -1 means +1 */ in FSE_readNCount() 135 while (remaining < threshold) { in FSE_readNCount() 150 if (remaining != 1) in FSE_readNCount()
|
| /OK3568_Linux_fs/buildroot/dl/stressapptest/git/src/ |
| H A D | finelock_queue.cc | 103 int64 remaining = m; in getA() local 105 if ((((remaining / 4) * 4) == remaining)) { in getA() 111 if (((remaining / i) * i) == remaining) { in getA() 112 remaining /= i; in getA() 114 while (((remaining / i) * i) == remaining) in getA() 115 remaining /= i; in getA()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | atombios_i2c.c | 112 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local 129 remaining = p->len; in amdgpu_atombios_i2c_xfer() 139 while (remaining) { in amdgpu_atombios_i2c_xfer() 140 if (remaining > max_bytes) in amdgpu_atombios_i2c_xfer() 143 current_count = remaining; in amdgpu_atombios_i2c_xfer() 149 remaining -= current_count; in amdgpu_atombios_i2c_xfer()
|
| /OK3568_Linux_fs/kernel/drivers/char/ |
| H A D | ps3flash.c | 100 size_t remaining, n; in ps3flash_read() local 121 remaining = count; in ps3flash_read() 123 n = min_t(u64, remaining, dev->bounce_size - offset); in ps3flash_read() 150 remaining -= n; in ps3flash_read() 153 } while (remaining > 0); in ps3flash_read() 169 size_t remaining, n; in ps3flash_write() local 190 remaining = count; in ps3flash_write() 192 n = min_t(u64, remaining, dev->bounce_size - offset); in ps3flash_write() 225 remaining -= n; in ps3flash_write() 228 } while (remaining > 0); in ps3flash_write()
|
| /OK3568_Linux_fs/yocto/poky/meta/classes/ |
| H A D | extrausers.bbclass | 27 remaining=`echo $user_group_settings | cut -d ';' -f2-` 60 if [ "$setting" = "$remaining" ]; then 64 setting=`echo $remaining | cut -d ';' -f1` 65 remaining=`echo $remaining | cut -d ';' -f2-`
|
| H A D | useradd.bbclass | 55 remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` 58 if test "x$opts" = "x$remaining"; then 61 opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` 62 remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` 71 remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` 74 if test "x$opts" = "x$remaining"; then 77 opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` 78 remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` 87 remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` 90 if test "x$opts" = "x$remaining"; then [all …]
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | nlattr.c | 25 static struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next() argument 29 *remaining -= totlen; in nla_next() 33 static int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() argument 35 return remaining >= sizeof(*nla) && in nla_ok() 37 nla->nla_len <= remaining; in nla_ok()
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-io.c | 305 sector_t remaining = where->count; in do_region() local 345 dm_sector_div_up(remaining, (PAGE_SIZE >> SECTOR_SHIFT))); in do_region() 349 bio->bi_iter.bi_sector = where->sector + (where->count - remaining); in do_region() 356 num_sectors = min_t(sector_t, special_cmd_max_sectors, remaining); in do_region() 358 remaining -= num_sectors; in do_region() 365 num_sectors = min_t(sector_t, special_cmd_max_sectors, remaining); in do_region() 369 remaining -= num_sectors; in do_region() 371 } else while (remaining) { in do_region() 376 len = min(len, to_bytes(remaining)); in do_region() 381 remaining -= to_sector(len); in do_region() [all …]
|
| /OK3568_Linux_fs/kernel/net/mptcp/ |
| H A D | options.c | 394 unsigned int remaining, in mptcp_established_options_mp() argument 485 unsigned int remaining, in mptcp_established_options_dss() argument 504 remaining -= map_size; in mptcp_established_options_dss() 580 unsigned int remaining, in mptcp_established_options_add_addr() argument 590 !(mptcp_pm_add_addr_signal(msk, remaining, &saddr, &echo))) in mptcp_established_options_add_addr() 594 if (remaining < len) in mptcp_established_options_add_addr() 628 unsigned int remaining, in mptcp_established_options_rm_addr() argument 636 !(mptcp_pm_rm_addr_signal(msk, remaining, &rm_id))) in mptcp_established_options_rm_addr() 639 if (remaining < TCPOLEN_MPTCP_RM_ADDR_BASE) in mptcp_established_options_rm_addr() 652 unsigned int *size, unsigned int remaining, in mptcp_established_options() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | paging.c | 230 int remaining = image->sec[sec_idx].len - offset; in iwl_fill_paging_mem() local 238 len = remaining; in iwl_fill_paging_mem() 239 if (remaining != in iwl_fill_paging_mem() 243 remaining); in iwl_fill_paging_mem() 247 } else if (block->fw_paging_size > remaining) { in iwl_fill_paging_mem() 250 idx, remaining); in iwl_fill_paging_mem()
|
| /OK3568_Linux_fs/kernel/net/sctp/ |
| H A D | chunk.c | 150 size_t len, first_len, max_data, remaining; in sctp_datamsg_from_user() local 236 for (remaining = msg_len; remaining; remaining -= len) { in sctp_datamsg_from_user() 239 if (remaining == msg_len) { in sctp_datamsg_from_user() 248 if (len >= remaining) { in sctp_datamsg_from_user() 250 len = remaining; in sctp_datamsg_from_user()
|