/third_party/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
H A D | clock_nanosleep01.c | 15 * EFAULT V (Invalid remain pointer when interrupted by a signal) 134 void *request, *remain; in do_test() local 160 remain = bad_addr; in do_test() 162 remain = tst_ts_get(rm); in do_test() 164 TEST(tv->clock_nanosleep(tc->clk_id, tc->flags, request, remain)); in do_test()
|
/kernel/linux/linux-5.10/lib/ |
H A D | genalloc.c | 81 * users set the same bit, one user will return remain bits, otherwise 116 * users clear the same bit, one user will return remain bits, 282 unsigned long nbits, start_bit, end_bit, remain; in gen_pool_alloc_algo_owner() local 307 remain = bitmap_set_ll(chunk->bits, start_bit, nbits); in gen_pool_alloc_algo_owner() 308 if (remain) { in gen_pool_alloc_algo_owner() 309 remain = bitmap_clear_ll(chunk->bits, start_bit, in gen_pool_alloc_algo_owner() 310 nbits - remain); in gen_pool_alloc_algo_owner() 311 BUG_ON(remain); in gen_pool_alloc_algo_owner() 491 unsigned long start_bit, nbits, remain; in gen_pool_free_owner() local 506 remain in gen_pool_free_owner() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | genalloc.c | 81 * users set the same bit, one user will return remain bits, otherwise 117 * users clear the same bit, one user will return remain bits, 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 in gen_pool_free_owner() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | udbg.c | 102 int remain = n; in udbg_write() local 109 while (((c = *s++) != '\0') && (remain-- > 0)) { in udbg_write() 117 return n - remain; in udbg_write()
|
/kernel/linux/linux-6.6/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()
|
/third_party/node/deps/npm/node_modules/@npmcli/arborist/bin/lib/ |
H A D | options.js | 52 command: (o) => o.argv.remain.shift(), 53 path: (o) => cleanPath(o.argv.remain.shift() || '.'), 103 ({ argv: { remain: _ }, ...o }) => {
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd_csi.c | 79 int pos = 0, dump_len = 0, remain = 0;
in dhd_csi_event_handler() local 90 remain = p_event->header.remain_length;
in dhd_csi_event_handler() 91 if (remain) {
in dhd_csi_event_handler() 92 pos = dump_len - remain - MAX_EVENT_SIZE;
in dhd_csi_event_handler() 119 DHD_TRACE(("remain %d\n", p_event->header.remain_length));
in dhd_csi_event_handler()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | ep0.c | 244 unsigned int remain; in ast_vhub_ep0_do_receive() local 248 remain = req->req.length - req->req.actual; in ast_vhub_ep0_do_receive() 250 EPVDBG(ep, "receive got=%d remain=%d\n", len, remain); in ast_vhub_ep0_do_receive() 253 if (len > remain) { in ast_vhub_ep0_do_receive() 255 len - remain); in ast_vhub_ep0_do_receive() 256 len = remain; in ast_vhub_ep0_do_receive() 264 if (len < ep->ep.maxpacket || len == remain) { in ast_vhub_ep0_do_receive()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | filecheck.c | 304 ssize_t ret = 0, total = 0, remain = PAGE_SIZE; in ocfs2_filecheck_attr_show() local 315 total = snprintf(buf, remain, "%u\n", ent->fs_fcheck->fc_max); in ocfs2_filecheck_attr_show() 320 ret = snprintf(buf, remain, "INO\t\tDONE\tERROR\n"); in ocfs2_filecheck_attr_show() 322 remain -= ret; in ocfs2_filecheck_attr_show() 328 ret = snprintf(buf + total, remain, "%lu\t\t%u\t%s\n", in ocfs2_filecheck_attr_show() 331 if (ret >= remain) { in ocfs2_filecheck_attr_show() 337 remain -= ret; in ocfs2_filecheck_attr_show()
|
/kernel/linux/linux-6.6/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()
|
/third_party/node/deps/npm/node_modules/nopt/lib/ |
H A D | nopt-lib.js | 36 remain: [], 41 parse(args, data, argv.remain, { typeDefs, types, dynamicTypes, shorthands }) 245 function parse (args, data, remain, { 256 debug('parse', args, data, remain) 269 remain.push.apply(remain, args.slice(i + 1)) 403 remain.push(arg)
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/host1x/ |
H A D | syncpt.c | 261 int remain; in host1x_syncpt_wait() local 263 remain = wait_event_interruptible_timeout(wq, in host1x_syncpt_wait() 266 if (remain > 0 || host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait() 275 if (remain < 0) { in host1x_syncpt_wait() 276 err = remain; in host1x_syncpt_wait() 436 * use. Note that client drivers must ensure that the syncpoint doesn't remain
|
/kernel/linux/linux-6.6/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()
|
/third_party/lz4/lib/ |
H A D | lz4file.c | 253 size_t remain = size; in LZ4F_write() local 259 while (remain) { in LZ4F_write() 260 if (remain > lz4fWrite->maxWriteSize) in LZ4F_write() 263 chunk = remain; in LZ4F_write() 280 remain -= chunk; in LZ4F_write()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/third_party/musl/src/stdio/ |
H A D | fopencookie.c | 24 size_t remain = len, readlen = 0; in cookieread() local 34 remain -= ret; in cookieread() 37 if (!f->buf_size || remain > !!f->buf_size) return readlen; in cookieread()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress_cpal.c | 84 GLuint remain, i; in paletted_to_color() local 91 remain = num_pixels % 2; in paletted_to_color() 96 if (remain) { in paletted_to_color()
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam-tx-rx/ |
H A D | minimal-ws-client.c | 49 size_t remain; in callback() local 109 remain = lws_remaining_packet_payload(wsi); in callback() 113 (unsigned long)remain); in callback()
|
/kernel/linux/linux-6.6/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() 125 AHASH_DBG(hace_dev, "length:0x%x, remain:0x%x\n", length, remain); 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_le in aspeed_ahash_dma_prepare_sg() local [all...] |
/third_party/libsnd/src/ |
H A D | flac.c | 69 unsigned pos, len, remain ; member 224 if (pflac->remain % channels != 0) in flac_buffer_copy() 225 { psf_log_printf (psf, "Error: pflac->remain %u channels %u\n", pflac->remain, channels) ; in flac_buffer_copy() 235 for (i = 0 ; i < len && pflac->remain > 0 ; i++) in flac_buffer_copy() 246 pflac->remain -= channels ; in flac_buffer_copy() 251 { for (i = 0 ; i < len && pflac->remain > 0 ; i++) in flac_buffer_copy() 263 pflac->remain -= channels ; in flac_buffer_copy() 273 for (i = 0 ; i < len && pflac->remain > 0 ; i++) in flac_buffer_copy() 284 pflac->remain in flac_buffer_copy() [all...] |