/net/sunrpc/ |
D | backchannel_rqst.c | 78 static int xprt_alloc_xdr_buf(struct xdr_buf *buf, gfp_t gfp_flags) in xprt_alloc_xdr_buf() argument 82 page = alloc_page(gfp_flags); in xprt_alloc_xdr_buf() 90 struct rpc_rqst *xprt_alloc_bc_req(struct rpc_xprt *xprt, gfp_t gfp_flags) in xprt_alloc_bc_req() argument 95 req = kzalloc(sizeof(*req), gfp_flags); in xprt_alloc_bc_req() 103 if (xprt_alloc_xdr_buf(&req->rq_rcv_buf, gfp_flags) < 0) { in xprt_alloc_bc_req() 110 if (xprt_alloc_xdr_buf(&req->rq_snd_buf, gfp_flags) < 0) { in xprt_alloc_bc_req()
|
D | addr.c | 269 char *rpc_sockaddr2uaddr(const struct sockaddr *sap, gfp_t gfp_flags) in rpc_sockaddr2uaddr() argument 297 return kstrdup(addrbuf, gfp_flags); in rpc_sockaddr2uaddr()
|
D | xprtmultipath.c | 98 gfp_t gfp_flags) in xprt_switch_alloc() argument 102 xps = kmalloc(sizeof(*xps), gfp_flags); in xprt_switch_alloc()
|
D | xdr.c | 1665 size_t maxlen, gfp_t gfp_flags) in xdr_stream_decode_opaque_dup() argument 1672 *ptr = kmemdup(p, ret, gfp_flags); in xdr_stream_decode_opaque_dup() 1723 size_t maxlen, gfp_t gfp_flags) in xdr_stream_decode_string_dup() argument 1730 char *s = kmalloc(ret + 1, gfp_flags); in xdr_stream_decode_string_dup()
|
/net/xdp/ |
D | xsk_queue.c | 34 gfp_t gfp_flags; in xskq_create() local 44 gfp_flags = GFP_KERNEL | __GFP_ZERO | __GFP_NOWARN | in xskq_create() 49 q->ring = (struct xdp_ring *)__get_free_pages(gfp_flags, in xskq_create()
|
/net/wimax/ |
D | op-msg.c | 108 gfp_t gfp_flags) in wimax_msg_alloc() argument 120 skb = genlmsg_new(msg_size, gfp_flags); in wimax_msg_alloc() 295 const void *buf, size_t size, gfp_t gfp_flags) in wimax_msg() argument 300 skb = wimax_msg_alloc(wimax_dev, pipe_name, buf, size, gfp_flags); in wimax_msg()
|
/net/ceph/ |
D | snapshot.c | 28 gfp_t gfp_flags) in ceph_create_snap_context() argument 35 snapc = kzalloc(size, gfp_flags); in ceph_create_snap_context()
|
D | pagelist.c | 9 struct ceph_pagelist *ceph_pagelist_alloc(gfp_t gfp_flags) in ceph_pagelist_alloc() argument 13 pl = kmalloc(sizeof(*pl), gfp_flags); in ceph_pagelist_alloc()
|
D | osd_client.c | 580 gfp_t gfp_flags) in ceph_osdc_alloc_request() argument 586 req = mempool_alloc(osdc->req_mempool, gfp_flags); in ceph_osdc_alloc_request() 588 req = kmem_cache_alloc(ceph_osd_request_cache, gfp_flags); in ceph_osdc_alloc_request() 591 req = kmalloc(struct_size(req, r_ops, num_ops), gfp_flags); in ceph_osdc_alloc_request()
|
/net/atm/ |
D | atm_misc.c | 27 gfp_t gfp_flags) in atm_alloc_charge() argument 34 struct sk_buff *skb = alloc_skb(pdu_size, gfp_flags); in atm_alloc_charge()
|
/net/netfilter/ |
D | nf_nat_masquerade.c | 100 gfp_t gfp_flags) in nf_nat_masq_schedule() argument 114 w = kzalloc(sizeof(*w), gfp_flags); in nf_nat_masq_schedule()
|
D | nf_tables_api.c | 3559 gfp_t gfp_flags) in nf_tables_set_notify() argument 3569 skb = nlmsg_new(NLMSG_GOODSIZE, gfp_flags); in nf_tables_set_notify() 3580 gfp_flags); in nf_tables_set_notify()
|
/net/ipv6/ |
D | addrconf_core.c | 181 struct fib6_config *cfg, gfp_t gfp_flags, in eafnosupport_fib6_nh_init() argument
|
D | route.c | 3433 struct fib6_config *cfg, gfp_t gfp_flags, in fib6_nh_init() argument 3526 cfg->fc_encap_type, cfg, gfp_flags, extack); in fib6_nh_init() 3531 fib6_nh->rt6i_pcpu = alloc_percpu_gfp(struct rt6_info *, gfp_flags); in fib6_nh_init() 3592 gfp_t gfp_flags, in ip6_route_info_create() argument 3662 rt = fib6_info_alloc(gfp_flags, !nh); in ip6_route_info_create() 3714 err = fib6_nh_init(net, rt->fib6_nh, cfg, gfp_flags, extack); in ip6_route_info_create() 3752 int ip6_route_add(struct fib6_config *cfg, gfp_t gfp_flags, in ip6_route_add() argument 3758 rt = ip6_route_info_create(cfg, gfp_flags, extack); in ip6_route_add() 4424 bool anycast, gfp_t gfp_flags) in addrconf_f6i_alloc() argument 4446 f6i = ip6_route_info_create(&cfg, gfp_flags, NULL); in addrconf_f6i_alloc()
|
D | ip6_fib.c | 146 struct fib6_info *fib6_info_alloc(gfp_t gfp_flags, bool with_fib6_nh) in fib6_info_alloc() argument 154 f6i = kzalloc(sz, gfp_flags); in fib6_info_alloc()
|
D | addrconf.c | 1067 gfp_t gfp_flags = can_block ? GFP_KERNEL : GFP_ATOMIC; in ipv6_add_addr() local 1108 ifa = kzalloc(sizeof(*ifa), gfp_flags); in ipv6_add_addr() 1114 f6i = addrconf_f6i_alloc(net, idev, cfg->pfx, false, gfp_flags); in ipv6_add_addr() 2416 u32 flags, gfp_t gfp_flags) in addrconf_prefix_route() argument 2441 ip6_route_add(&cfg, gfp_flags, NULL); in addrconf_prefix_route()
|
/net/mac80211/ |
D | mesh_pathtbl.c | 365 const u8 *dst, gfp_t gfp_flags) in mesh_path_new() argument 369 new_mpath = kzalloc(sizeof(struct mesh_path), gfp_flags); in mesh_path_new()
|
/net/netlabel/ |
D | netlabel_kapi.c | 557 gfp_t gfp_flags) in _netlbl_catmap_getnode() argument 582 iter = netlbl_catmap_alloc(gfp_flags); in _netlbl_catmap_getnode()
|
/net/ipv4/ |
D | fib_semantics.c | 574 u16 encap_type, void *cfg, gfp_t gfp_flags, in fib_nh_common_init() argument 580 gfp_flags); in fib_nh_common_init()
|
/net/packet/ |
D | af_packet.c | 4280 gfp_t gfp_flags = GFP_KERNEL | __GFP_COMP | in alloc_one_pg_vec_page() local 4283 buffer = (char *) __get_free_pages(gfp_flags, order); in alloc_one_pg_vec_page() 4293 gfp_flags &= ~__GFP_NORETRY; in alloc_one_pg_vec_page() 4294 buffer = (char *) __get_free_pages(gfp_flags, order); in alloc_one_pg_vec_page()
|