/net/ipv4/ |
D | tcp_cong.c | 262 size_t offs = 0; in tcp_get_available_congestion_control() local 266 offs += snprintf(buf + offs, maxlen - offs, in tcp_get_available_congestion_control() 268 offs == 0 ? "" : " ", ca->name); in tcp_get_available_congestion_control() 270 if (WARN_ON_ONCE(offs >= maxlen)) in tcp_get_available_congestion_control() 291 size_t offs = 0; in tcp_get_allowed_congestion_control() local 298 offs += snprintf(buf + offs, maxlen - offs, in tcp_get_allowed_congestion_control() 300 offs == 0 ? "" : " ", ca->name); in tcp_get_allowed_congestion_control() 302 if (WARN_ON_ONCE(offs >= maxlen)) in tcp_get_allowed_congestion_control()
|
D | tcp_ulp.c | 88 size_t offs = 0; in tcp_get_available_ulp() local 93 offs += snprintf(buf + offs, maxlen - offs, in tcp_get_available_ulp() 95 offs == 0 ? "" : " ", ulp_ops->name); in tcp_get_available_ulp() 97 if (WARN_ON_ONCE(offs >= maxlen)) in tcp_get_available_ulp()
|
D | tcp_cubic.c | 224 u64 offs, t; in bictcp_update() local 281 offs = ca->bic_K - t; in bictcp_update() 283 offs = t - ca->bic_K; in bictcp_update() 286 delta = (cube_rtt_scale * offs * offs * offs) >> (10+3*BICTCP_HZ); in bictcp_update()
|
/net/9p/ |
D | trans_virtio.c | 214 struct page **pdata, int nr_pages, size_t offs, int count) in pack_sg_list_p() argument 217 int data_off = offs; in pack_sg_list_p() 308 size_t *offs, in p9_get_mapped_pages() argument 329 n = iov_iter_get_pages_alloc(data, pages, count, offs); in p9_get_mapped_pages() 333 nr_pages = DIV_ROUND_UP(n + *offs, PAGE_SIZE); in p9_get_mapped_pages() 363 p -= (*offs = offset_in_page(p)); in p9_get_mapped_pages() 397 size_t offs = 0; in p9_virtio_zc_request() local 406 outlen, &offs, &need_drop); in p9_virtio_zc_request() 411 out_nr_pages = DIV_ROUND_UP(n + offs, PAGE_SIZE); in p9_virtio_zc_request() 425 inlen, &offs, &need_drop); in p9_virtio_zc_request() [all …]
|
/net/netfilter/ |
D | xt_l2tp.c | 83 int offs = thoff + uhlen; in l2tp_udp_mt() local 95 lh = skb_header_pointer(skb, offs, 2, &lhbuf); in l2tp_udp_mt() 113 lh = skb_header_pointer(skb, offs + 4, 4, &lhbuf); in l2tp_udp_mt() 122 offs += 2; in l2tp_udp_mt() 123 lh = skb_header_pointer(skb, offs + 2, 4, &lhbuf); in l2tp_udp_mt()
|
/net/wireless/ |
D | sme.c | 470 size_t offs; in cfg80211_sme_get_conn_ies() local 497 offs = ieee80211_ie_split(ies, ies_len, before_extcapa, in cfg80211_sme_get_conn_ies() 499 memcpy(buf, ies, offs); in cfg80211_sme_get_conn_ies() 501 memcpy(buf + offs + rdev->wiphy.extended_capabilities_len + 2, in cfg80211_sme_get_conn_ies() 502 ies + offs, ies_len - offs); in cfg80211_sme_get_conn_ies() 504 offs = 0; in cfg80211_sme_get_conn_ies() 508 buf[offs] = WLAN_EID_EXT_CAPABILITY; in cfg80211_sme_get_conn_ies() 509 buf[offs + 1] = rdev->wiphy.extended_capabilities_len; in cfg80211_sme_get_conn_ies() 510 memcpy(buf + offs + 2, in cfg80211_sme_get_conn_ies()
|
/net/sunrpc/ |
D | xdr.c | 523 size_t copy, offs; in xdr_shrink_bufhead() local 547 offs = len - copy; in xdr_shrink_bufhead() 548 if (offs >= tail->iov_len) in xdr_shrink_bufhead() 550 else if (copy > tail->iov_len - offs) in xdr_shrink_bufhead() 551 copy = tail->iov_len - offs; in xdr_shrink_bufhead() 553 _copy_from_pages((char *)tail->iov_base + offs, in xdr_shrink_bufhead() 555 buf->page_base + pglen + offs - len, in xdr_shrink_bufhead() 561 offs = copy = len - pglen; in xdr_shrink_bufhead() 566 head->iov_len - offs, in xdr_shrink_bufhead()
|
/net/l2tp/ |
D | l2tp_debugfs.c | 67 static void *l2tp_dfs_seq_start(struct seq_file *m, loff_t *offs) in l2tp_dfs_seq_start() argument 70 loff_t pos = *offs; in l2tp_dfs_seq_start()
|
D | l2tp_ppp.c | 1453 static void *pppol2tp_seq_start(struct seq_file *m, loff_t *offs) in pppol2tp_seq_start() argument 1456 loff_t pos = *offs; in pppol2tp_seq_start()
|
/net/mac80211/ |
D | tx.c | 4792 struct ieee80211_mutable_offsets *offs, in __ieee80211_beacon_get() argument 4813 if (offs) in __ieee80211_beacon_get() 4814 memset(offs, 0, sizeof(*offs)); in __ieee80211_beacon_get() 4845 if (offs) { in __ieee80211_beacon_get() 4846 offs->tim_offset = beacon->head_len; in __ieee80211_beacon_get() 4847 offs->tim_length = skb->len - beacon->head_len; in __ieee80211_beacon_get() 4919 if (offs) { in __ieee80211_beacon_get() 4920 offs->tim_offset = beacon->head_len; in __ieee80211_beacon_get() 4921 offs->tim_length = skb->len - beacon->head_len; in __ieee80211_beacon_get() 4931 if (offs && beacon) { in __ieee80211_beacon_get() [all …]
|
/net/netfilter/ipvs/ |
D | ip_vs_core.c | 811 unsigned int offs = 0; /* header offset*/ in ip_vs_nat_icmp_v6() local 819 offs = icmp_offset + sizeof(struct icmp6hdr); in ip_vs_nat_icmp_v6() 820 ciph = (struct ipv6hdr *)(skb_network_header(skb) + offs); in ip_vs_nat_icmp_v6() 822 protocol = ipv6_find_hdr(skb, &offs, -1, &fragoffs, NULL); in ip_vs_nat_icmp_v6() 835 __be16 *ports = (void *)(skb_network_header(skb) + offs); in ip_vs_nat_icmp_v6()
|