Home
last modified time | relevance | path

Searched refs:pl (Results 1 – 6 of 6) sorted by relevance

/net/ceph/
Dpagelist.c11 struct ceph_pagelist *pl; in ceph_pagelist_alloc() local
13 pl = kmalloc(sizeof(*pl), gfp_flags); in ceph_pagelist_alloc()
14 if (!pl) in ceph_pagelist_alloc()
17 INIT_LIST_HEAD(&pl->head); in ceph_pagelist_alloc()
18 pl->mapped_tail = NULL; in ceph_pagelist_alloc()
19 pl->length = 0; in ceph_pagelist_alloc()
20 pl->room = 0; in ceph_pagelist_alloc()
21 INIT_LIST_HEAD(&pl->free_list); in ceph_pagelist_alloc()
22 pl->num_pages_free = 0; in ceph_pagelist_alloc()
23 refcount_set(&pl->refcnt, 1); in ceph_pagelist_alloc()
[all …]
Dosd_client.c4714 struct ceph_pagelist *pl; in osd_req_op_notify_ack_init() local
4719 pl = ceph_pagelist_alloc(GFP_NOIO); in osd_req_op_notify_ack_init()
4720 if (!pl) in osd_req_op_notify_ack_init()
4723 ret = ceph_pagelist_encode_64(pl, notify_id); in osd_req_op_notify_ack_init()
4724 ret |= ceph_pagelist_encode_64(pl, cookie); in osd_req_op_notify_ack_init()
4726 ret |= ceph_pagelist_encode_32(pl, payload_len); in osd_req_op_notify_ack_init()
4727 ret |= ceph_pagelist_append(pl, payload, payload_len); in osd_req_op_notify_ack_init()
4729 ret |= ceph_pagelist_encode_32(pl, 0); in osd_req_op_notify_ack_init()
4732 ceph_pagelist_release(pl); in osd_req_op_notify_ack_init()
4736 ceph_osd_data_pagelist_init(&op->notify_ack.request_data, pl); in osd_req_op_notify_ack_init()
[all …]
/net/dsa/
Dslave.c97 phylink_start(dp->pl); in dsa_slave_open()
122 phylink_stop(dp->pl); in dsa_slave_close()
276 return phylink_mii_ioctl(p->dp->pl, ifr, cmd); in dsa_slave_ioctl()
602 return phylink_ethtool_nway_reset(dp->pl); in dsa_slave_nway_reset()
716 phylink_ethtool_get_wol(dp->pl, w); in dsa_slave_get_wol()
728 phylink_ethtool_set_wol(dp->pl, w); in dsa_slave_set_wol()
743 if (!dev->phydev || !dp->pl) in dsa_slave_set_eee()
753 return phylink_ethtool_set_eee(dp->pl, e); in dsa_slave_set_eee()
763 if (!dev->phydev || !dp->pl) in dsa_slave_get_eee()
773 return phylink_ethtool_get_eee(dp->pl, e); in dsa_slave_get_eee()
[all …]
Dport.c605 dp->pl = phylink_create(&dp->pl_config, of_fwnode_handle(port_dn), in dsa_port_phylink_register()
607 if (IS_ERR(dp->pl)) { in dsa_port_phylink_register()
608 pr_err("error creating PHYLINK: %ld\n", PTR_ERR(dp->pl)); in dsa_port_phylink_register()
609 return PTR_ERR(dp->pl); in dsa_port_phylink_register()
612 err = phylink_of_phy_connect(dp->pl, port_dn, 0); in dsa_port_phylink_register()
619 phylink_start(dp->pl); in dsa_port_phylink_register()
625 phylink_destroy(dp->pl); in dsa_port_phylink_register()
651 phylink_disconnect_phy(dp->pl); in dsa_port_link_unregister_of()
653 phylink_destroy(dp->pl); in dsa_port_link_unregister_of()
/net/sched/
Dact_csum.c451 unsigned int *pl) in tcf_csum_ipv6_hopopts() argument
469 *pl = ntohl(*(__be32 *)(xh + off + 2)); in tcf_csum_ipv6_hopopts()
491 unsigned int pl; in tcf_csum_ipv6() local
504 pl = ntohs(ip6h->payload_len); in tcf_csum_ipv6()
522 !(tcf_csum_ipv6_hopopts(ip6xh, ixhl, &pl))) in tcf_csum_ipv6()
530 hl, pl + sizeof(*ip6h))) in tcf_csum_ipv6()
536 hl, pl + sizeof(*ip6h))) in tcf_csum_ipv6()
542 pl + sizeof(*ip6h), 0)) in tcf_csum_ipv6()
548 pl + sizeof(*ip6h), 1)) in tcf_csum_ipv6()
553 !tcf_csum_sctp(skb, hl, pl + sizeof(*ip6h))) in tcf_csum_ipv6()
/net/tipc/
Dnode.c1657 struct tipc_link *l, *tnl, *pl = NULL; in tipc_node_check_state() local
1677 pl = n->links[pb_id].link; in tipc_node_check_state()
1714 if (pl && !tipc_link_is_reset(pl)) { in tipc_node_check_state()
1718 tipc_skb_queue_splice_tail_init(tipc_link_inputq(pl), in tipc_node_check_state()
1729 tipc_node_link_failover(n, pl, l, xmitq); in tipc_node_check_state()
1741 if (pl) in tipc_node_check_state()
1742 tipc_link_fsm_evt(pl, LINK_FAILOVER_END_EVT); in tipc_node_check_state()
1747 if (!pl || !tipc_link_is_up(pl)) in tipc_node_check_state()
1770 tnl = pl; in tipc_node_check_state()
1771 pl = l; in tipc_node_check_state()
[all …]