Searched refs:left (Results 1 - 25 of 682) sorted by last modified time

1234567891011>>

/linux-master/drivers/usb/dwc3/
H A Dgadget.c1427 * the request and resume where we left off.
4406 int left; local
4408 left = evt->count;
4413 while (left > 0) {
4430 left -= 4;
/linux-master/drivers/usb/core/
H A Dport.c481 static int link_peers(struct usb_port *left, struct usb_port *right) argument
486 if (left->peer == right && right->peer == left)
489 if (left->peer || right->peer) {
490 struct usb_port *lpeer = left->peer;
494 if (left->location && left->location == right->location)
500 dev_name(&left->dev), dev_name(&right->dev), method,
501 dev_name(&left->dev),
508 rc = sysfs_create_link(&left
550 link_peers_report(struct usb_port *left, struct usb_port *right) argument
565 unlink_peers(struct usb_port *left, struct usb_port *right) argument
[all...]
/linux-master/net/ipv4/
H A Dip_output.c655 state->left = skb->len - hlen; /* Space per frame */
681 unsigned int len = state->left;
685 /* IF: it doesn't fit, use 'mtu' - the data space left */
690 if (len < state->left) {
728 state->left -= len;
742 if (state->left > 0 || state->not_last_frag)
902 while (state.left > 0) {
/linux-master/lib/
H A Dscatterlist.c211 * If we have more than max_ents segments left,
291 unsigned int left; local
304 left = nents;
307 unsigned int sg_size, alloc_size = left;
315 left -= sg_size;
351 if (!left)
357 } while (left);
525 /* Pass how many chunks might be left */
1329 * No end mark is placed on the scatterlist; that's left to the caller.
1336 * left unaltere
[all...]
/linux-master/drivers/nvme/target/
H A Dtcp.c168 int left; member in struct:nvmet_tcp_queue
611 int left = sizeof(*cmd->data_pdu) - cmd->offset + hdgst; local
614 bvec_set_virt(&bvec, (void *)cmd->data_pdu + cmd->offset, left);
615 iov_iter_bvec(&msg.msg_iter, ITER_SOURCE, &bvec, 1, left);
621 left -= ret;
623 if (left)
642 u32 left = cmd->cur_sg->length - cmd->offset; local
645 cmd->wbytes_done + left < cmd->req.transfer_len ||
649 bvec_set_page(&bvec, page, left, cmd->offset);
650 iov_iter_bvec(&msg.msg_iter, ITER_SOURCE, &bvec, 1, left);
690 int left = sizeof(*cmd->rsp_pdu) - cmd->offset + hdgst; local
720 int left = sizeof(*cmd->r2t_pdu) - cmd->offset + hdgst; local
746 int left = NVME_TCP_DIGEST_LENGTH - cmd->offset; local
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c218 * the size because one descriptor needs to be left unpopulated, otherwise
1094 int left = (void *)q->stat - pos; local
1097 if (likely(skb->len <= left)) {
1104 skb_copy_bits(skb, 0, pos, left);
1105 skb_copy_bits(skb, left, q->desc, skb->len - left);
1106 pos = (void *)q->desc + (skb->len - left);
1121 int left = (void *)q->stat - pos; local
1123 if (likely(length <= left)) {
1127 memcpy(pos, skb->data, left);
1494 int len, qidx, credits, ret, left; local
2262 int left, ret = 0; local
2941 unsigned int left; variable
3178 int left = (void *)q->stat - pos; local
[all...]
/linux-master/fs/nfsd/
H A Dnfs4xdr.c2286 * plus trailing '\0' left in a maximum size buffer, it's invalid.
4481 * Number of bytes left for directory entries allowing for the
5410 u32 left, xdrleft, slen, count; local
5438 left = listxattrs->lsxa_len;
5442 /* Bytes left is maxcount - 8 (cookie) - 4 (array count) */
5445 while (left > 0 && xdrleft > 0) {
5469 left -= XATTR_USER_PREFIX_LEN;
5487 left -= slen + 1;
/linux-master/kernel/sched/
H A Dfair.c658 * For this to be so, the result of this function must have a left bias.
810 * se->min_vruntime = min(se->vruntime, {left,right}->min_vruntime)
857 struct rb_node *left = rb_first_cached(&cfs_rq->tasks_timeline); local
859 if (!left)
862 return __node_2_se(left);
880 * se->min_vruntime = min(se->vruntime, se->{left,right}->min_vruntime)
916 struct rb_node *left = node->rb_left; local
919 * Eligible entities in left subtree are always better
922 if (left && vruntime_eligible(cfs_rq,
923 __node_2_se(left)
[all...]
/linux-master/drivers/dma/xilinx/
H A Dxdma.c91 * @frames_left: Number of frames left in interleaved DMA transfer
569 u32 left = size, len, desc_num = filled_descs_num; local
577 len = min_t(u32, left, XDMA_DESC_BLEN_MAX);
589 left -= len;
590 } while (left);
/linux-master/drivers/dma/idxd/
H A Dcdev.c650 int left = len, status_size = 1; local
669 left = copy_to_user((void __user *)addr + status_size, cr + status_size,
676 if (!left) {
688 left += status_size;
690 left += status_size;
697 return len - left;
/linux-master/net/mac80211/
H A Dmlme.c2744 size_t left; local
2777 left = wmm_param_len - 8;
2782 for (; left >= 4; left -= 4, pos += 4) {
/linux-master/arch/loongarch/kernel/
H A Dperf_event.c304 u64 left = local64_read(&hwc->period_left); local
307 if (unlikely((left + period) & (1ULL << 63))) {
308 /* left underflowed by more than period. */
309 left = period;
310 local64_set(&hwc->period_left, left);
313 } else if (unlikely((left + period) <= period)) {
314 /* left underflowed by less than period. */
315 left += period;
316 local64_set(&hwc->period_left, left);
321 if (left > loongarch_pm
[all...]
/linux-master/arch/arc/kernel/
H A Dperf_event.c408 s64 left = local64_read(&hwc->period_left); local
414 if (unlikely(left <= -period)) {
415 /* left underflowed by more than period. */
416 left = period;
417 local64_set(&hwc->period_left, left);
420 } else if (unlikely(left <= 0)) {
421 /* left underflowed by less than period. */
422 left += period;
423 local64_set(&hwc->period_left, left);
428 if (left > arc_pm
[all...]
/linux-master/tools/testing/selftests/net/tcp_ao/
H A Drst.c198 fd_set left; local
202 FD_ZERO(&left);
204 FD_SET(sk[i], &left);
220 if (!FD_ISSET(sk[i], &left))
243 FD_CLR(sk[i], &left);
248 FD_CLR(sk[i], &left);
/linux-master/net/netfilter/
H A Dnft_set_pipapo.c646 /* growing and enough space left, no action needed */
1929 * @left: Byte expression for left boundary (start of range)
1953 * This function fills @left and @right with the byte values of the leftmost
1957 * left: < 12, 0, 10, 8, 0, 1, 0, 0 >
1960 * left: < 192, 168, 1, 0 >
1965 * rule 2 above: @left becomes < 192, 168, 1, 0 >, @right becomes
1972 int rule_count, u8 *left, u8 *right)
1975 u8 *l = left, *r = right;
2031 u8 left[NFT_PIPAPO_MAX_BYTE local
1971 pipapo_get_boundaries(struct nft_pipapo_field *f, int first_rule, int rule_count, u8 *left, u8 *right) argument
[all...]
H A Dnf_tables_api.c4946 int left; local
4953 nla_for_each_nested(tmp, nla[NFTA_SET_EXPRESSIONS], left) {
6893 int left; local
6896 nla_for_each_nested(tmp, nla[NFTA_SET_ELEM_EXPRESSIONS], left) {
/linux-master/net/bridge/netfilter/
H A Dnf_conntrack_bridge.c107 while (state.left > 0) {
/linux-master/fs/fuse/
H A Dfile.c695 int left; local
703 left = --io->reqs;
704 if (!left && io->blocking)
708 if (!left && !io->blocking) {
1008 * Congested and only async pages left, so skip the
/linux-master/arch/x86/events/
H A Dcore.c625 s64 left = event->attr.sample_period; local
626 x86_pmu.limit_period(event, &left);
627 if (left > event->attr.sample_period)
788 int unassigned; /* number of events to be assigned left */
1368 s64 left = local64_read(&hwc->period_left); local
1378 if (unlikely(left <= -period)) {
1379 left = period;
1380 local64_set(&hwc->period_left, left);
1385 if (unlikely(left <= 0)) {
1386 left
2647 s64 left = value; local
[all...]
/linux-master/io_uring/
H A Dio_uring.c2262 * Plug now if we have more than 2 IO left after this, and the
2467 unsigned int left; variable
2473 ret = left = min(nr, entries);
2474 io_get_task_refs(left); variable
2475 io_submit_state_start(&ctx->submit_state, left);
2494 left--;
2497 } while (--left);
2499 if (unlikely(left)) {
2500 ret -= left;
2504 current->io_uring->cached_refs += left;
[all...]
/linux-master/drivers/iommu/amd/
H A Diommu.c1208 u32 left, next_tail; local
1212 left = (iommu->cmd_buf_head - next_tail) % CMD_BUFFER_SIZE;
1214 if (left <= 0x20) {
/linux-master/net/ipv6/
H A Dip6_fib.c815 rcu_dereference_protected(fn->left,
852 rcu_assign_pointer(pn->left, ln);
913 rcu_assign_pointer(pn->left, in);
922 rcu_assign_pointer(in->left, fn);
924 rcu_assign_pointer(in->left, ln);
947 RCU_INIT_POINTER(ln->left, fn);
954 rcu_assign_pointer(pn->left, ln);
1582 rcu_dereference(fn->left);
1711 fn = rcu_dereference(fn->left);
1768 child_left = rcu_dereference_protected(fn->left,
2078 struct fib6_node *fn, *pn, *left, *right; local
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp8_if.c552 cr->left = 0;
557 cr->left, cr->top, cr->width, cr->height);
H A Dvdec_vp9_if.c974 cr->left = 0;
979 cr->left, cr->top, cr->width, cr->height);
H A Dvdec_hevc_req_multi_if.c721 cr->left = 0;
727 cr->left, cr->top, cr->width, cr->height);

Completed in 663 milliseconds

1234567891011>>