| /net/ceph/ |
| A D | pagelist.c | 13 pl = kmalloc(sizeof(*pl), gfp_flags); in ceph_pagelist_alloc() 14 if (!pl) in ceph_pagelist_alloc() 19 pl->length = 0; in ceph_pagelist_alloc() 20 pl->room = 0; in ceph_pagelist_alloc() 25 return pl; in ceph_pagelist_alloc() 50 kfree(pl); in ceph_pagelist_release() 80 memcpy(pl->mapped_tail + (pl->length & ~PAGE_MASK), in ceph_pagelist_append() 83 pl->room -= bit; in ceph_pagelist_append() 91 memcpy(pl->mapped_tail + (pl->length & ~PAGE_MASK), buf, len); in ceph_pagelist_append() 92 pl->length += len; in ceph_pagelist_append() [all …]
|
| A D | osd_client.c | 4842 struct ceph_pagelist *pl; in osd_req_op_notify_ack_init() local 4847 pl = ceph_pagelist_alloc(GFP_NOIO); in osd_req_op_notify_ack_init() 4848 if (!pl) in osd_req_op_notify_ack_init() 4851 ret = ceph_pagelist_encode_64(pl, notify_id); in osd_req_op_notify_ack_init() 4852 ret |= ceph_pagelist_encode_64(pl, cookie); in osd_req_op_notify_ack_init() 4854 ret |= ceph_pagelist_encode_32(pl, payload_len); in osd_req_op_notify_ack_init() 4855 ret |= ceph_pagelist_append(pl, payload, payload_len); in osd_req_op_notify_ack_init() 4857 ret |= ceph_pagelist_encode_32(pl, 0); in osd_req_op_notify_ack_init() 4860 ceph_pagelist_release(pl); in osd_req_op_notify_ack_init() 4864 ceph_osd_data_pagelist_init(&op->notify_ack.request_data, pl); in osd_req_op_notify_ack_init() [all …]
|
| /net/sctp/ |
| A D | transport.c | 290 t->pl.probe_high = t->pl.probe_size; in sctp_transport_pl_send() 291 t->pl.probe_size = t->pl.pmtu; in sctp_transport_pl_send() 306 __func__, t, t->pl.state, t->pl.pmtu, t->pl.probe_size, t->pl.probe_high); in sctp_transport_pl_send() 313 __func__, t, t->pl.state, t->pl.pmtu, t->pl.probe_size, t->pl.probe_high); in sctp_transport_pl_recv() 315 t->pl.pmtu = t->pl.probe_size; in sctp_transport_pl_recv() 323 t->pl.pmtu = t->pl.probe_size; in sctp_transport_pl_recv() 330 t->pl.probe_size = min(t->pl.probe_size + SCTP_PL_BIG_STEP, in sctp_transport_pl_recv() 337 if (t->pl.probe_size >= t->pl.probe_high) { in sctp_transport_pl_recv() 341 t->pl.probe_size = t->pl.pmtu; in sctp_transport_pl_recv() 358 __func__, t, t->pl.state, t->pl.pmtu, t->pl.probe_size, pmtu); in sctp_transport_pl_toobig() [all …]
|
| A D | output.c | 229 pad = sctp_make_pad(t->asoc, t->pl.probe_size - overhead); in sctp_packet_bundle_pad() 586 if (tp->pl.state == SCTP_PL_ERROR) { /* do IP fragmentation if in Error state */ in sctp_packet_transmit()
|
| A D | input.c | 377 t->pl.probe_size + sctp_transport_pl_hlen(t) <= pmtu)) in sctp_icmp_frag_needed()
|
| A D | outqueue.c | 553 if (transport->pl.state == SCTP_PL_COMPLETE && in sctp_retransmit()
|
| A D | sm_statefuns.c | 1130 reply = sctp_make_heartbeat(asoc, transport, transport->pl.probe_size); in sctp_sf_send_probe() 1289 if (hbinfo->probe_size != link->pl.probe_size || in sctp_sf_backbeat_8_3()
|
| /net/ethtool/ |
| A D | cmis_fw_update.c | 120 struct cmis_cdb_start_fw_download_pl pl = {}; in cmis_fw_update_start_download() local 125 pl.image_size = cpu_to_be32(fw_update->fw->size); in cmis_fw_update_start_download() 126 memcpy(pl.vendor_data, fw_update->fw->data, vendor_data_size); in cmis_fw_update_start_download() 133 (u8 *)&pl, lpl_len, NULL, 0, in cmis_fw_update_start_download() 176 struct cmis_cdb_write_fw_block_lpl_pl pl = { in cmis_fw_update_write_image_lpl() local 187 memcpy(pl.fw_block, &fw_update->fw->data[offset], block_size); in cmis_fw_update_write_image_lpl() 194 (u8 *)&pl, lpl_len, NULL, 0, in cmis_fw_update_write_image_lpl() 369 struct cmis_cdb_run_fw_image_pl pl = {0}; in cmis_fw_update_run_image() local 373 (u8 *)&pl, sizeof(pl), NULL, 0, in cmis_fw_update_run_image()
|
| /net/sched/ |
| A D | act_csum.c | 449 unsigned int *pl) in tcf_csum_ipv6_hopopts() argument 467 *pl = ntohl(*(__be32 *)(xh + off + 2)); in tcf_csum_ipv6_hopopts() 489 unsigned int pl; in tcf_csum_ipv6() local 502 pl = ntohs(ip6h->payload_len); in tcf_csum_ipv6() 520 !(tcf_csum_ipv6_hopopts(ip6xh, ixhl, &pl))) in tcf_csum_ipv6() 528 hl, pl + sizeof(*ip6h))) in tcf_csum_ipv6() 534 hl, pl + sizeof(*ip6h))) in tcf_csum_ipv6() 540 pl + sizeof(*ip6h), 0)) in tcf_csum_ipv6() 546 pl + sizeof(*ip6h), 1)) in tcf_csum_ipv6() 551 !tcf_csum_sctp(skb, hl, pl + sizeof(*ip6h))) in tcf_csum_ipv6()
|
| /net/dsa/ |
| A D | port.c | 228 if (dp->pl) in dsa_port_enable_rt() 229 phylink_start(dp->pl); in dsa_port_enable_rt() 250 if (dp->pl) in dsa_port_disable_rt() 251 phylink_stop(dp->pl); in dsa_port_disable_rt() 1622 struct phylink *pl; in dsa_port_phylink_create() local 1649 if (IS_ERR(pl)) { in dsa_port_phylink_create() 1651 return PTR_ERR(pl); in dsa_port_phylink_create() 1654 dp->pl = pl; in dsa_port_phylink_create() 1661 phylink_destroy(dp->pl); in dsa_port_phylink_destroy() 1662 dp->pl = NULL; in dsa_port_phylink_destroy() [all …]
|
| A D | user.c | 984 return phylink_ethtool_nway_reset(dp->pl); in dsa_user_nway_reset() 1202 phylink_ethtool_get_wol(dp->pl, w); in dsa_user_get_wol() 1214 phylink_ethtool_set_wol(dp->pl, w); in dsa_user_set_wol() 1252 return phylink_ethtool_set_eee(dp->pl, e); in dsa_user_set_eee() 1268 return phylink_ethtool_get_eee(dp->pl, e); in dsa_user_get_eee() 2621 if (dp->pl) in dsa_port_phylink_mac_change() 2622 phylink_mac_change(dp->pl, up); in dsa_port_phylink_mac_change() 2738 phylink_stop(dp->pl); in dsa_user_suspend() 2754 phylink_start(dp->pl); in dsa_user_resume() 2870 phylink_disconnect_phy(p->dp->pl); in dsa_user_create() [all …]
|
| /net/tipc/ |
| A D | node.c | 1940 struct tipc_link *l, *tnl, *pl = NULL; in tipc_node_check_state() local 1960 pl = n->links[pb_id].link; in tipc_node_check_state() 1997 if (pl && !tipc_link_is_reset(pl)) { in tipc_node_check_state() 2012 tipc_node_link_failover(n, pl, l, xmitq); in tipc_node_check_state() 2024 if (pl) in tipc_node_check_state() 2025 tipc_link_fsm_evt(pl, LINK_FAILOVER_END_EVT); in tipc_node_check_state() 2030 if (!pl || !tipc_link_is_up(pl)) in tipc_node_check_state() 2053 tnl = pl; in tipc_node_check_state() 2054 pl = l; in tipc_node_check_state() 2057 dlv_nxt = tipc_link_rcv_nxt(pl) - inputq_len; in tipc_node_check_state() [all …]
|
| /net/ieee802154/ |
| A D | header_ops.c | 124 const void *pl, unsigned int pl_len) in ieee802154_mac_cmd_push() argument 140 skb_put_data(skb, pl, pl_len); in ieee802154_mac_cmd_push()
|