/net/rds/ |
D | recv.c | 43 void rds_inc_init(struct rds_incoming *inc, struct rds_connection *conn, in rds_inc_init() argument 48 refcount_set(&inc->i_refcount, 1); in rds_inc_init() 49 INIT_LIST_HEAD(&inc->i_item); in rds_inc_init() 50 inc->i_conn = conn; in rds_inc_init() 51 inc->i_saddr = saddr; in rds_inc_init() 52 inc->i_rdma_cookie = 0; in rds_inc_init() 53 inc->i_rx_tstamp.tv_sec = 0; in rds_inc_init() 54 inc->i_rx_tstamp.tv_usec = 0; in rds_inc_init() 57 inc->i_rx_lat_trace[i] = 0; in rds_inc_init() 61 void rds_inc_path_init(struct rds_incoming *inc, struct rds_conn_path *cp, in rds_inc_path_init() argument [all …]
|
D | tcp_recv.c | 42 static void rds_tcp_inc_purge(struct rds_incoming *inc) in rds_tcp_inc_purge() argument 45 tinc = container_of(inc, struct rds_tcp_incoming, ti_inc); in rds_tcp_inc_purge() 46 rdsdebug("purging tinc %p inc %p\n", tinc, inc); in rds_tcp_inc_purge() 50 void rds_tcp_inc_free(struct rds_incoming *inc) in rds_tcp_inc_free() argument 53 tinc = container_of(inc, struct rds_tcp_incoming, ti_inc); in rds_tcp_inc_free() 54 rds_tcp_inc_purge(inc); in rds_tcp_inc_free() 55 rdsdebug("freeing tinc %p inc %p\n", tinc, inc); in rds_tcp_inc_free() 62 int rds_tcp_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to) in rds_tcp_inc_copy_to_user() argument 71 tinc = container_of(inc, struct rds_tcp_incoming, ti_inc); in rds_tcp_inc_copy_to_user()
|
D | ib_recv.c | 157 struct rds_ib_incoming *inc; in rds_ib_recv_free_caches() local 167 list_for_each_entry_safe(inc, inc_tmp, &list, ii_cache_entry) { in rds_ib_recv_free_caches() 168 list_del(&inc->ii_cache_entry); in rds_ib_recv_free_caches() 169 WARN_ON(!list_empty(&inc->ii_frags)); in rds_ib_recv_free_caches() 170 kmem_cache_free(rds_ib_incoming_slab, inc); in rds_ib_recv_free_caches() 202 void rds_ib_inc_free(struct rds_incoming *inc) in rds_ib_inc_free() argument 207 struct rds_ib_connection *ic = inc->i_conn->c_transport_data; in rds_ib_inc_free() 209 ibinc = container_of(inc, struct rds_ib_incoming, ii_inc); in rds_ib_inc_free() 218 rdsdebug("freeing ibinc %p inc %p\n", ibinc, inc); in rds_ib_inc_free() 526 int rds_ib_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to) in rds_ib_inc_copy_to_user() argument [all …]
|
D | rds.h | 509 int (*inc_copy_to_user)(struct rds_incoming *inc, struct iov_iter *to); 510 void (*inc_free)(struct rds_incoming *inc); 787 int rds_message_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to); 788 void rds_message_inc_free(struct rds_incoming *inc); 812 void rds_inc_init(struct rds_incoming *inc, struct rds_connection *conn, 814 void rds_inc_path_init(struct rds_incoming *inc, struct rds_conn_path *conn, 816 void rds_inc_put(struct rds_incoming *inc); 818 struct rds_incoming *inc, gfp_t gfp); 823 void rds_inc_info_copy(struct rds_incoming *inc,
|
D | tcp.h | 83 void rds_tcp_inc_free(struct rds_incoming *inc); 84 int rds_tcp_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to);
|
D | loop.c | 97 static void rds_loop_inc_free(struct rds_incoming *inc) in rds_loop_inc_free() argument 99 struct rds_message *rm = container_of(inc, struct rds_message, m_inc); in rds_loop_inc_free()
|
D | af_rds.c | 563 struct rds_incoming *inc; in rds_sock_inc_info() local 574 list_for_each_entry(inc, &rs->rs_recv_queue, i_item) { in rds_sock_inc_info() 577 rds_inc_info_copy(inc, iter, inc->i_saddr, in rds_sock_inc_info()
|
D | message.c | 312 int rds_message_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to) in rds_message_inc_copy_to_user() argument 322 rm = container_of(inc, struct rds_message, m_inc); in rds_message_inc_copy_to_user()
|
D | ib.h | 379 void rds_ib_inc_free(struct rds_incoming *inc); 380 int rds_ib_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to);
|
/net/netfilter/ipvs/ |
D | ip_vs_app.c | 61 static void ip_vs_app_inc_destroy(struct ip_vs_app *inc) in ip_vs_app_inc_destroy() argument 63 kfree(inc->timeout_table); in ip_vs_app_inc_destroy() 64 kfree(inc); in ip_vs_app_inc_destroy() 69 struct ip_vs_app *inc = container_of(head, struct ip_vs_app, rcu_head); in ip_vs_app_inc_rcu_free() local 71 ip_vs_app_inc_destroy(inc); in ip_vs_app_inc_rcu_free() 82 struct ip_vs_app *inc; in ip_vs_app_inc_new() local 91 inc = kmemdup(app, sizeof(*inc), GFP_KERNEL); in ip_vs_app_inc_new() 92 if (!inc) in ip_vs_app_inc_new() 94 INIT_LIST_HEAD(&inc->p_list); in ip_vs_app_inc_new() 95 INIT_LIST_HEAD(&inc->incs_list); in ip_vs_app_inc_new() [all …]
|
D | ip_vs_proto_udp.c | 361 static int udp_register_app(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in udp_register_app() argument 365 __be16 port = inc->port; in udp_register_app() 377 list_add_rcu(&inc->p_list, &ipvs->udp_apps[hash]); in udp_register_app() 386 udp_unregister_app(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in udp_unregister_app() argument 391 list_del_rcu(&inc->p_list); in udp_unregister_app() 399 struct ip_vs_app *inc; in udp_app_conn_bind() local 409 list_for_each_entry_rcu(inc, &ipvs->udp_apps[hash], p_list) { in udp_app_conn_bind() 410 if (inc->port == cp->vport) { in udp_app_conn_bind() 411 if (unlikely(!ip_vs_app_inc_get(inc))) in udp_app_conn_bind() 421 inc->name, ntohs(inc->port)); in udp_app_conn_bind() [all …]
|
D | ip_vs_proto_sctp.c | 486 static int sctp_register_app(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in sctp_register_app() argument 490 __be16 port = inc->port; in sctp_register_app() 502 list_add_rcu(&inc->p_list, &ipvs->sctp_apps[hash]); in sctp_register_app() 509 static void sctp_unregister_app(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in sctp_unregister_app() argument 514 list_del_rcu(&inc->p_list); in sctp_unregister_app() 521 struct ip_vs_app *inc; in sctp_app_conn_bind() local 530 list_for_each_entry_rcu(inc, &ipvs->sctp_apps[hash], p_list) { in sctp_app_conn_bind() 531 if (inc->port == cp->vport) { in sctp_app_conn_bind() 532 if (unlikely(!ip_vs_app_inc_get(inc))) in sctp_app_conn_bind() 542 inc->name, ntohs(inc->port)); in sctp_app_conn_bind() [all …]
|
D | ip_vs_proto_tcp.c | 611 static int tcp_register_app(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in tcp_register_app() argument 615 __be16 port = inc->port; in tcp_register_app() 627 list_add_rcu(&inc->p_list, &ipvs->tcp_apps[hash]); in tcp_register_app() 636 tcp_unregister_app(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in tcp_unregister_app() argument 641 list_del_rcu(&inc->p_list); in tcp_unregister_app() 650 struct ip_vs_app *inc; in tcp_app_conn_bind() local 660 list_for_each_entry_rcu(inc, &ipvs->tcp_apps[hash], p_list) { in tcp_app_conn_bind() 661 if (inc->port == cp->vport) { in tcp_app_conn_bind() 662 if (unlikely(!ip_vs_app_inc_get(inc))) in tcp_app_conn_bind() 672 inc->name, ntohs(inc->port)); in tcp_app_conn_bind() [all …]
|
/net/ipv4/ |
D | tcp_veno.c | 31 u32 inc; /* decide whether to increase cwnd */ member 67 veno->inc = 1; in tcp_veno_init() 169 if (veno->inc && in tcp_veno_cong_avoid() 172 veno->inc = 0; in tcp_veno_cong_avoid() 174 veno->inc = 1; in tcp_veno_cong_avoid()
|
/net/sctp/ |
D | tsnmap.c | 359 unsigned long inc; in sctp_tsnmap_grow() local 365 inc = ALIGN((size - map->len), BITS_PER_LONG) + SCTP_TSN_MAP_INCREMENT; in sctp_tsnmap_grow() 366 len = min_t(u16, map->len + inc, SCTP_TSN_MAP_SIZE); in sctp_tsnmap_grow()
|
/net/ipv6/ |
D | ndisc.c | 761 bool inc; in ndisc_recv_ns() local 811 inc = ipv6_addr_is_multicast(daddr); in ndisc_recv_ns() 874 inc && in ndisc_recv_ns() 901 if (inc) in ndisc_recv_ns() 911 !inc || lladdr || !dev->addr_len); in ndisc_recv_ns() 919 true, (ifp != NULL && inc), inc); in ndisc_recv_ns()
|
/net/core/ |
D | dev.c | 6563 static int __dev_set_promiscuity(struct net_device *dev, int inc, bool notify) in __dev_set_promiscuity() argument 6572 dev->promiscuity += inc; in __dev_set_promiscuity() 6578 if (inc < 0) in __dev_set_promiscuity() 6581 dev->promiscuity -= inc; in __dev_set_promiscuity() 6622 int dev_set_promiscuity(struct net_device *dev, int inc) in dev_set_promiscuity() argument 6627 err = __dev_set_promiscuity(dev, inc, true); in dev_set_promiscuity() 6636 static int __dev_set_allmulti(struct net_device *dev, int inc, bool notify) in __dev_set_allmulti() argument 6643 dev->allmulti += inc; in __dev_set_allmulti() 6649 if (inc < 0) in __dev_set_allmulti() 6652 dev->allmulti -= inc; in __dev_set_allmulti() [all …]
|
/net/mac80211/ |
D | iface.c | 1616 u64 mask, start, addr, val, inc; in ieee80211_assign_perm_addr() local 1709 inc = 1ULL<<__ffs64(mask); in ieee80211_assign_perm_addr() 1722 val += inc; in ieee80211_assign_perm_addr()
|