Home
last modified time | relevance | path

Searched refs:pi (Results 1 – 10 of 10) sorted by relevance

/net/ceph/
Dosdmap.c62 static void calc_pg_masks(struct ceph_pg_pool_info *pi) in calc_pg_masks() argument
64 pi->pg_num_mask = (1 << calc_bits_of(pi->pg_num-1)) - 1; in calc_pg_masks()
65 pi->pgp_num_mask = (1 << calc_bits_of(pi->pgp_num-1)) - 1; in calc_pg_masks()
745 struct ceph_pg_pool_info *pi; in ceph_pg_pool_name_by_id() local
753 pi = lookup_pg_pool(&map->pg_pools, id); in ceph_pg_pool_name_by_id()
754 return pi ? pi->name : NULL; in ceph_pg_pool_name_by_id()
763 struct ceph_pg_pool_info *pi = in ceph_pg_poolid_by_name() local
765 if (pi->name && strcmp(pi->name, name) == 0) in ceph_pg_poolid_by_name()
766 return pi->id; in ceph_pg_poolid_by_name()
774 struct ceph_pg_pool_info *pi; in ceph_pg_pool_flags() local
[all …]
Ddebugfs.c70 struct ceph_pg_pool_info *pi = in osdmap_show() local
74 pi->id, pi->name, pi->type, pi->size, pi->min_size, in osdmap_show()
75 pi->pg_num, pi->pg_num_mask, pi->flags, in osdmap_show()
76 pi->last_force_request_resend, pi->read_tier, in osdmap_show()
77 pi->write_tier); in osdmap_show()
Dosd_client.c1430 static bool __pool_full(struct ceph_pg_pool_info *pi) in __pool_full() argument
1432 return pi->flags & CEPH_POOL_FLAG_FULL; in __pool_full()
1440 struct ceph_pg_pool_info *pi = in have_pool_full() local
1443 if (__pool_full(pi)) in have_pool_full()
1452 struct ceph_pg_pool_info *pi; in pool_full() local
1454 pi = ceph_pg_pool_by_id(osdc->osdmap, pool_id); in pool_full()
1455 if (!pi) in pool_full()
1458 return __pool_full(pi); in pool_full()
1467 struct ceph_pg_pool_info *pi) in target_should_be_paused() argument
1472 __pool_full(pi); in target_should_be_paused()
[all …]
/net/bluetooth/rfcomm/
Dsock.c241 struct rfcomm_pinfo *pi = rfcomm_pi(sk); in rfcomm_sock_init() local
247 pi->dlc->defer_setup = test_bit(BT_SK_DEFER_SETUP, in rfcomm_sock_init()
250 pi->sec_level = rfcomm_pi(parent)->sec_level; in rfcomm_sock_init()
251 pi->role_switch = rfcomm_pi(parent)->role_switch; in rfcomm_sock_init()
255 pi->dlc->defer_setup = 0; in rfcomm_sock_init()
257 pi->sec_level = BT_SECURITY_LOW; in rfcomm_sock_init()
258 pi->role_switch = 0; in rfcomm_sock_init()
261 pi->dlc->sec_level = pi->sec_level; in rfcomm_sock_init()
262 pi->dlc->role_switch = pi->role_switch; in rfcomm_sock_init()
/net/bluetooth/
Dl2cap_sock.c1183 struct l2cap_pinfo *pi = l2cap_pi(sk); in l2cap_sock_recvmsg() local
1190 if (pi->chan->mode == L2CAP_MODE_EXT_FLOWCTL) { in l2cap_sock_recvmsg()
1192 pi->chan->state = BT_CONNECTED; in l2cap_sock_recvmsg()
1193 __l2cap_ecred_conn_rsp_defer(pi->chan); in l2cap_sock_recvmsg()
1194 } else if (bdaddr_type_is_le(pi->chan->src_type)) { in l2cap_sock_recvmsg()
1196 pi->chan->state = BT_CONNECTED; in l2cap_sock_recvmsg()
1197 __l2cap_le_connect_rsp_defer(pi->chan); in l2cap_sock_recvmsg()
1200 pi->chan->state = BT_CONFIG; in l2cap_sock_recvmsg()
1201 __l2cap_connect_rsp_defer(pi->chan); in l2cap_sock_recvmsg()
1215 if (pi->chan->mode != L2CAP_MODE_ERTM) in l2cap_sock_recvmsg()
[all …]
Dsco.c812 struct sco_pinfo *pi = sco_pi(sk); in sco_sock_recvmsg() local
818 sco_conn_defer_accept(pi->conn->hcon, pi->setting); in sco_sock_recvmsg()
Diso.c1128 struct iso_pinfo *pi = iso_pi(sk); in iso_sock_recvmsg() local
1136 iso_conn_defer_accept(pi->conn->hcon); in iso_sock_recvmsg()
/net/smc/
Dsmc_pnet.c744 struct smc_pnetids_ndev_entry *pe, *pi; in smc_pnet_add_pnetid() local
751 list_for_each_entry(pi, &sn->pnetids_ndev.list, list) { in smc_pnet_add_pnetid()
753 refcount_inc(&pi->refcnt); in smc_pnet_add_pnetid()
/net/xfrm/
Dxfrm_policy.c3525 int pi; in __xfrm_policy_check() local
3638 for (pi = 0; pi < npols; pi++) { in __xfrm_policy_check()
3639 if (pols[pi] != pol && in __xfrm_policy_check()
3640 pols[pi]->action != XFRM_POLICY_ALLOW) { in __xfrm_policy_check()
3644 if (ti + pols[pi]->xfrm_nr >= XFRM_MAX_DEPTH) { in __xfrm_policy_check()
3648 for (i = 0; i < pols[pi]->xfrm_nr; i++) in __xfrm_policy_check()
3649 tpp[ti++] = &pols[pi]->xfrm_vec[i]; in __xfrm_policy_check()
Dxfrm_user.c2761 struct xfrm_userpolicy_id *pi = nlmsg_data(nlh); in xfrm_do_migrate() local
2797 err = xfrm_migrate(&pi->sel, pi->dir, type, m, n, kmp, net, encap, if_id); in xfrm_do_migrate()