Home
last modified time | relevance | path

Searched refs:seglen (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/comedi/drivers/
Dpcl816.c152 unsigned int seglen) in pcl816_ai_setup_chanlist() argument
160 for (i = 0; i < seglen; i++) { in pcl816_ai_setup_chanlist()
283 unsigned int i, nowmustbechan, seglen; in check_channel_list() local
294 for (i = 1, seglen = 1; i < chanlen; i++, seglen++) { in check_channel_list()
314 if (chanlist[i] != chansegment[i % seglen]) { in check_channel_list()
320 CR_CHAN(chanlist[i % seglen]), in check_channel_list()
321 CR_RANGE(chanlist[i % seglen]), in check_channel_list()
322 CR_AREF(chansegment[i % seglen])); in check_channel_list()
327 seglen = 1; in check_channel_list()
330 return seglen; /* we can serve this with MUX logic */ in check_channel_list()
[all …]
Dpcl818.c341 unsigned int seglen) in pcl818_ai_setup_chanlist() argument
349 devpriv->act_chanlist_len = seglen; in pcl818_ai_setup_chanlist()
353 for (i = 0; i < seglen; i++) { in pcl818_ai_setup_chanlist()
574 unsigned int i, nowmustbechan, seglen; in check_channel_list() local
586 for (i = 1, seglen = 1; i < n_chan; i++, seglen++) { in check_channel_list()
607 if (chanlist[i] != chansegment[i % seglen]) { in check_channel_list()
613 CR_CHAN(chanlist[i % seglen]), in check_channel_list()
614 CR_RANGE(chanlist[i % seglen]), in check_channel_list()
615 CR_AREF(chansegment[i % seglen])); in check_channel_list()
620 seglen = 1; in check_channel_list()
[all …]
Dadv_pci1710.c189 unsigned int seglen; in pci1710_ai_check_chanlist() local
226 seglen = i; in pci1710_ai_check_chanlist()
229 if (cmd->chanlist[i] != chansegment[i % seglen]) { in pci1710_ai_check_chanlist()
235 CR_CHAN(cmd->chanlist[i % seglen]), in pci1710_ai_check_chanlist()
236 CR_RANGE(cmd->chanlist[i % seglen]), in pci1710_ai_check_chanlist()
237 CR_AREF(chansegment[i % seglen])); in pci1710_ai_check_chanlist()
241 devpriv->saved_seglen = seglen; in pci1710_ai_check_chanlist()
250 unsigned int seglen) in pci1710_ai_setup_chanlist() argument
254 unsigned int last_chan = CR_CHAN(chanlist[seglen - 1]); in pci1710_ai_setup_chanlist()
257 for (i = 0; i < seglen; i++) { /* store range list to card */ in pci1710_ai_setup_chanlist()
/linux-5.19.10/net/ipv6/
Drpl.c98 size_t seglen; in ipv6_rpl_srh_compress() local
105 seglen = (n * IPV6_PFXTAIL_LEN(cmpri)) + IPV6_PFXTAIL_LEN(cmpre); in ipv6_rpl_srh_compress()
106 outhdr->hdrlen = seglen >> 3; in ipv6_rpl_srh_compress()
107 if (seglen & 0x7) { in ipv6_rpl_srh_compress()
109 outhdr->pad = 8 - (seglen & 0x7); in ipv6_rpl_srh_compress()
Drpl_iptunnel.c40 size_t seglen) in rpl_validate_srh() argument
44 if ((srh->hdrlen << 3) != seglen) in rpl_validate_srh()
49 (srh->segments_left * sizeof(struct in6_addr)) != seglen) in rpl_validate_srh()
/linux-5.19.10/include/trace/events/
Drcu.h546 __array(long, seglen, RCU_CBLIST_NSEGS)
551 memcpy(__entry->seglen, rs->seglen, RCU_CBLIST_NSEGS * sizeof(long));
558 __entry->seglen[0], __entry->seglen[1], __entry->seglen[2], __entry->seglen[3],
/linux-5.19.10/drivers/net/arcnet/
Drfc1201.c517 int seglen; in continue_tx() local
535 seglen = maxsegsize; in continue_tx()
536 if (seglen > out->dataleft) in continue_tx()
537 seglen = out->dataleft; in continue_tx()
538 out->dataleft -= seglen; in continue_tx()
540 load_pkt(dev, hard, newsoft, seglen + RFC1201_HDR_SIZE, bufnum); in continue_tx()
/linux-5.19.10/kernel/rcu/
Drcu_segcblist.c94 return READ_ONCE(rsclp->seglen[seg]); in rcu_segcblist_get_seglen()
112 WRITE_ONCE(rsclp->seglen[seg], v); in rcu_segcblist_set_seglen()
118 WRITE_ONCE(rsclp->seglen[seg], rsclp->seglen[seg] + v); in rcu_segcblist_add_seglen()
/linux-5.19.10/include/linux/
Drcu_segcblist.h215 long seglen[RCU_CBLIST_NSEGS]; member
/linux-5.19.10/drivers/infiniband/hw/mlx4/
Dqp.c3495 unsigned seglen; in _mlx4_ib_post_send() local
3632 &seglen); in _mlx4_ib_post_send()
3637 wqe += seglen; in _mlx4_ib_post_send()
3638 size += seglen / 16; in _mlx4_ib_post_send()
3655 err = build_lso_seg(wqe, ud_wr(wr), qp, &seglen, in _mlx4_ib_post_send()
3662 wqe += seglen; in _mlx4_ib_post_send()
3663 size += seglen / 16; in _mlx4_ib_post_send()
3669 &seglen); in _mlx4_ib_post_send()
3674 wqe += seglen; in _mlx4_ib_post_send()
3675 size += seglen / 16; in _mlx4_ib_post_send()
[all …]
/linux-5.19.10/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c2636 int cum_len, seglen, boundary, rdma_count; in myri10ge_xmit() local
2772 seglen = boundary - low; in myri10ge_xmit()
2773 if (seglen > len) in myri10ge_xmit()
2774 seglen = len; in myri10ge_xmit()
2776 cum_len_next = cum_len + seglen; in myri10ge_xmit()
2796 seglen = -cum_len; in myri10ge_xmit()
2808 req->length = htons(seglen); in myri10ge_xmit()
2812 low += seglen; in myri10ge_xmit()
2813 len -= seglen; in myri10ge_xmit()
2820 if (unlikely(cksum_offset > seglen)) in myri10ge_xmit()
[all …]
/linux-5.19.10/crypto/
Daf_alg.c1158 size_t seglen; in af_alg_get_rsgl() local
1165 seglen = min_t(size_t, (maxsize - len), in af_alg_get_rsgl()
1180 err = af_alg_make_sg(&rsgl->sgl, &msg->msg_iter, seglen); in af_alg_get_rsgl()
/linux-5.19.10/net/sched/
Dsch_cake.c1163 int seglen, num_found = 0; in cake_ack_filter() local
1212 seglen = ntohs(iph_check->tot_len) - in cake_ack_filter()
1222 seglen = ntohs(ipv6h_check->payload_len); in cake_ack_filter()
1246 (seglen - __tcp_hdrlen(tcph_check)) != 0 || in cake_ack_filter()
/linux-5.19.10/drivers/scsi/
Ddc395x.c910 u32 seglen = (u32)sg->length; in build_srb() local
912 sgp[i].length = seglen; in build_srb()
913 srb->total_xfer_length += seglen; in build_srb()