Home
last modified time | relevance | path

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

/net/ceph/
Dpagelist.c9 static void ceph_pagelist_unmap_tail(struct ceph_pagelist *pl) in ceph_pagelist_unmap_tail() argument
11 if (pl->mapped_tail) { in ceph_pagelist_unmap_tail()
12 struct page *page = list_entry(pl->head.prev, struct page, lru); in ceph_pagelist_unmap_tail()
14 pl->mapped_tail = NULL; in ceph_pagelist_unmap_tail()
18 void ceph_pagelist_release(struct ceph_pagelist *pl) in ceph_pagelist_release() argument
20 if (!refcount_dec_and_test(&pl->refcnt)) in ceph_pagelist_release()
22 ceph_pagelist_unmap_tail(pl); in ceph_pagelist_release()
23 while (!list_empty(&pl->head)) { in ceph_pagelist_release()
24 struct page *page = list_first_entry(&pl->head, struct page, in ceph_pagelist_release()
29 ceph_pagelist_free_reserve(pl); in ceph_pagelist_release()
[all …]
Dosd_client.c4502 struct ceph_pagelist *pl; in osd_req_op_notify_ack_init() local
4507 pl = kmalloc(sizeof(*pl), GFP_NOIO); in osd_req_op_notify_ack_init()
4508 if (!pl) in osd_req_op_notify_ack_init()
4511 ceph_pagelist_init(pl); in osd_req_op_notify_ack_init()
4512 ret = ceph_pagelist_encode_64(pl, notify_id); in osd_req_op_notify_ack_init()
4513 ret |= ceph_pagelist_encode_64(pl, cookie); in osd_req_op_notify_ack_init()
4515 ret |= ceph_pagelist_encode_32(pl, payload_len); in osd_req_op_notify_ack_init()
4516 ret |= ceph_pagelist_append(pl, payload, payload_len); in osd_req_op_notify_ack_init()
4518 ret |= ceph_pagelist_encode_32(pl, 0); in osd_req_op_notify_ack_init()
4521 ceph_pagelist_release(pl); in osd_req_op_notify_ack_init()
[all …]
/net/sched/
Dact_csum.c420 unsigned int *pl) in tcf_csum_ipv6_hopopts() argument
438 *pl = ntohl(*(__be32 *)(xh + off + 2)); in tcf_csum_ipv6_hopopts()
460 unsigned int pl; in tcf_csum_ipv6() local
473 pl = ntohs(ip6h->payload_len); in tcf_csum_ipv6()
491 !(tcf_csum_ipv6_hopopts(ip6xh, ixhl, &pl))) in tcf_csum_ipv6()
499 hl, pl + sizeof(*ip6h))) in tcf_csum_ipv6()
505 hl, pl + sizeof(*ip6h))) in tcf_csum_ipv6()
511 pl + sizeof(*ip6h), 0)) in tcf_csum_ipv6()
517 pl + sizeof(*ip6h), 1)) in tcf_csum_ipv6()
522 !tcf_csum_sctp(skb, hl, pl + sizeof(*ip6h))) in tcf_csum_ipv6()
/net/tipc/
Dnode.c1379 struct tipc_link *l, *tnl, *pl = NULL; in tipc_node_check_state() local
1395 pl = n->links[pb_id].link; in tipc_node_check_state()
1426 if (pl && tipc_link_is_up(pl)) { in tipc_node_check_state()
1428 tipc_skb_queue_splice_tail_init(tipc_link_inputq(pl), in tipc_node_check_state()
1441 if (pl) in tipc_node_check_state()
1442 tipc_link_fsm_evt(pl, LINK_FAILOVER_END_EVT); in tipc_node_check_state()
1447 if (!pl || !tipc_link_is_up(pl)) in tipc_node_check_state()
1467 tnl = pl; in tipc_node_check_state()
1468 pl = l; in tipc_node_check_state()
1470 inputq_len = skb_queue_len(tipc_link_inputq(pl)); in tipc_node_check_state()
[all …]