Home
last modified time | relevance | path

Searched full:remaining (Results 1 – 25 of 2917) sorted by relevance

12345678910>>...117

/OK3568_Linux_fs/kernel/drivers/rkflash/
H A Dsfc_nand_mtd.c45 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/yocto/poky/meta/classes/
H A Duseradd.bbclass55 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 …]
H A Dextrausers.bbclass27 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-`
/OK3568_Linux_fs/kernel/net/sunrpc/xprtrdma/
H A Dsvc_rdma_sendto.c57 * the svc_rqst will be recycled as soon as sendto returns. Remaining
363 * @remaining: remaining bytes of the payload left in the Write chunk
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()
403 * @remaining: size in bytes of the payload in the Write chunk
416 unsigned int remaining) in svc_rdma_encode_write_chunk() argument
422 trace_svcrdma_encode_write_chunk(remaining); in svc_rdma_encode_write_chunk()
[all …]
/OK3568_Linux_fs/kernel/arch/alpha/lib/
H A Dsrm_puts.c12 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/drivers/target/tcm_fc/
H A Dtfc_io.c49 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/kernel/sound/soc/sof/
H A Dloader.c232 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()
502 dev_err(sdev->dev, "error: not enough data remaining\n"); in snd_sof_parse_module_memcpy()
[all …]
/OK3568_Linux_fs/kernel/include/net/
H A Drtnh.h8 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()
H A Dnetlink.h63 * nlmsg_ok(nlh, remaining) does nlh fit into remaining bytes?
64 * nlmsg_next(nlh, remaining) get next netlink message
149 * nla_ok(nla, remaining) does nla fit into remaining bytes?
150 * nla_next(nla, remaining) get next netlink attribute
605 * nlmsg_ok - check if the netlink message fits into the remaining bytes
607 * @remaining: number of bytes remaining in message stream
609 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() argument
611 return (remaining >= (int) sizeof(struct nlmsghdr) && in nlmsg_ok()
613 nlh->nlmsg_len <= remaining); in nlmsg_ok()
619 * @remaining: number of bytes remaining in message stream
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/pysh/
H A Dpyshlex.py141 delimited, return a tuple (expr, remaining) containing the expression
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)
435 """If the here-document was delimited, return a tuple (content, remaining).
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/container/detail/
H A Dnext_capacity.hpp42 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/drivers/char/
H A Dps3flash.c100 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/kernel/drivers/gpu/drm/radeon/
H A Datombios_i2c.c105 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/drivers/gpu/drm/amd/amdgpu/
H A Datombios_i2c.c112 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/lib/xz/
H A Dxz_dec_test.c105 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/drivers/md/bcache/
H A Dclosure.c25 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()
H A Dclosure.h124 * must be cleared before remaining hits 0. Primarily to help guard
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()
/OK3568_Linux_fs/kernel/drivers/usb/musb/
H A Dtusb6010_omap.c107 unsigned long remaining, flags, pio; in tusb_omap_dma_cb() local
115 remaining = musb_readl(ep_conf, TUSB_EP_TX_OFFSET); in tusb_omap_dma_cb()
117 remaining = musb_readl(ep_conf, TUSB_EP_RX_OFFSET); in tusb_omap_dma_cb()
119 remaining = TUSB_EP_CONFIG_XFR_SIZE(remaining); in tusb_omap_dma_cb()
122 if (unlikely(remaining > chdat->transfer_len)) { in tusb_omap_dma_cb()
124 chdat->tx ? "tx" : "rx", remaining); in tusb_omap_dma_cb()
125 remaining = 0; in tusb_omap_dma_cb()
128 channel->actual_len = chdat->transfer_len - remaining; in tusb_omap_dma_cb()
131 dev_dbg(musb->controller, "DMA remaining %lu/%u\n", remaining, chdat->transfer_len); in tusb_omap_dma_cb()
133 /* Transfer remaining 1 - 31 bytes */ in tusb_omap_dma_cb()
[all …]
/OK3568_Linux_fs/kernel/lib/zstd/
H A Dentropy_common.c65 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()
149 } /* while ((remaining>1) & (charnum<=*maxSVPtr)) */ in FSE_readNCount()
150 if (remaining != 1) in FSE_readNCount()
/OK3568_Linux_fs/kernel/tools/testing/selftests/tc-testing/
H A Dtdc.py84 def load_required_plugins(self, reqs, parser, args, remaining): argument
114 (args, remaining) = parser.parse_known_args(args=remaining, namespace=args)
153 def call_check_args(self, args, remaining): argument
155 pgn_inst.check_args(args, remaining)
400 # fill in the remaining tests with ok-skipped
513 def check_default_settings(args, remaining, pm): argument
531 pm.call_check_args(args, remaining)
683 def set_operation_mode(pm, parser, args, remaining): argument
685 Load the test case data and process remaining arguments to determine
722 args = pm.load_required_plugins(req_plugins, parser, args, remaining)
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/
H A Dallocator.h82 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/net/mptcp/
H A Doptions.c394 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/md/
H A Ddm-io.c305 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/drivers/net/usb/
H A Dasix_common.c82 rx->remaining = 0; in reset_asix_rx_fixup_info()
102 if (rx->remaining && (rx->remaining + sizeof(u32) <= skb->len)) { in asix_rx_fixup_internal()
103 offset = ((rx->remaining + 1) & 0xfffe); in asix_rx_fixup_internal()
109 netdev_err(dev->net, "asix_rx_fixup() Data Header synchronisation was lost, remaining %d\n", in asix_rx_fixup_internal()
110 rx->remaining); in asix_rx_fixup_internal()
118 if (!rx->remaining) { in asix_rx_fixup_internal()
160 rx->remaining = size; in asix_rx_fixup_internal()
163 if (rx->remaining > skb->len - offset) { in asix_rx_fixup_internal()
165 rx->remaining -= copy_length; in asix_rx_fixup_internal()
167 copy_length = rx->remaining; in asix_rx_fixup_internal()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/
H A DTODO2 - find and remove remaining code valid only for 5 GHz. Most of the obvious
5 - convert any remaining unusual variable types
7 - checkpatch.pl fixes - most of the remaining ones are lines too long. Many

12345678910>>...117