/kernel/linux/linux-6.6/drivers/net/pse-pd/ |
H A D | pse_core.c | 142 struct pse_control *psec = container_of(kref, struct pse_control, in __pse_control_release() local 147 module_put(psec->pcdev->owner); in __pse_control_release() 149 list_del(&psec->list); in __pse_control_release() 150 kfree(psec); in __pse_control_release() 153 static void __pse_control_put_internal(struct pse_control *psec) in __pse_control_put_internal() argument 157 kref_put(&psec->refcnt, __pse_control_release); in __pse_control_put_internal() 162 * @psec: PSE control pointer 164 void pse_control_put(struct pse_control *psec) in pse_control_put() argument 166 if (IS_ERR_OR_NULL(psec)) in pse_control_put() 170 __pse_control_put_internal(psec); in pse_control_put() 178 struct pse_control *psec; pse_control_get_internal() local 211 struct pse_control *psec; of_pse_control_get() local 264 pse_ethtool_get_status(struct pse_control *psec, struct netlink_ext_ack *extack, struct pse_control_status *status) pse_ethtool_get_status() argument 293 pse_ethtool_set_config(struct pse_control *psec, struct netlink_ext_ack *extack, const struct pse_control_config *config) pse_ethtool_set_config() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/mdio/ |
H A D | fwnode_mdio.c | 21 struct pse_control *psec; in fwnode_find_pse_control() local 31 psec = of_pse_control_get(np); in fwnode_find_pse_control() 32 if (PTR_ERR(psec) == -ENOENT) in fwnode_find_pse_control() 35 return psec; in fwnode_find_pse_control() 116 struct pse_control *psec = NULL; in fwnode_mdiobus_register_phy() local 122 psec = fwnode_find_pse_control(child); in fwnode_mdiobus_register_phy() 123 if (IS_ERR(psec)) in fwnode_mdiobus_register_phy() 124 return PTR_ERR(psec); in fwnode_mdiobus_register_phy() 163 phy->psec = psec; in fwnode_mdiobus_register_phy() [all...] |
/kernel/linux/linux-5.10/security/selinux/ |
H A D | ibpkey.c | 38 struct pkey_security_struct psec; member 78 if (pkey->psec.pkey == pkey_num && in sel_ib_pkey_find() 79 pkey->psec.subnet_prefix == subnet_prefix) in sel_ib_pkey_find() 101 idx = sel_ib_pkey_hashfn(pkey->psec.pkey); in sel_ib_pkey_insert() 140 *sid = pkey->psec.sid; in sel_ib_pkey_sid_slow() 159 new->psec.subnet_prefix = subnet_prefix; in sel_ib_pkey_sid_slow() 160 new->psec.pkey = pkey_num; in sel_ib_pkey_sid_slow() 161 new->psec.sid = *sid; in sel_ib_pkey_sid_slow() 189 *sid = pkey->psec.sid; in sel_ib_pkey_sid()
|
H A D | netport.c | 44 struct netport_security_struct psec; member 91 if (port->psec.port == pnum && port->psec.protocol == protocol) in sel_netport_find() 111 idx = sel_netport_hashfn(port->psec.port); in sel_netport_insert() 147 *sid = port->psec.sid; in sel_netport_sid_slow() 157 new->psec.port = pnum; in sel_netport_sid_slow() 158 new->psec.protocol = protocol; in sel_netport_sid_slow() 159 new->psec.sid = *sid; in sel_netport_sid_slow() 191 *sid = port->psec.sid; in sel_netport_sid()
|
/kernel/linux/linux-6.6/security/selinux/ |
H A D | ibpkey.c | 38 struct pkey_security_struct psec; member 77 if (pkey->psec.pkey == pkey_num && in sel_ib_pkey_find() 78 pkey->psec.subnet_prefix == subnet_prefix) in sel_ib_pkey_find() 100 idx = sel_ib_pkey_hashfn(pkey->psec.pkey); in sel_ib_pkey_insert() 139 *sid = pkey->psec.sid; in sel_ib_pkey_sid_slow() 158 new->psec.subnet_prefix = subnet_prefix; in sel_ib_pkey_sid_slow() 159 new->psec.pkey = pkey_num; in sel_ib_pkey_sid_slow() 160 new->psec.sid = *sid; in sel_ib_pkey_sid_slow() 188 *sid = pkey->psec.sid; in sel_ib_pkey_sid()
|
H A D | netport.c | 44 struct netport_security_struct psec; member 90 if (port->psec.port == pnum && port->psec.protocol == protocol) in sel_netport_find() 110 idx = sel_netport_hashfn(port->psec.port); in sel_netport_insert() 146 *sid = port->psec.sid; in sel_netport_sid_slow() 156 new->psec.port = pnum; in sel_netport_sid_slow() 157 new->psec.protocol = protocol; in sel_netport_sid_slow() 158 new->psec.sid = *sid; in sel_netport_sid_slow() 190 *sid = port->psec.sid; in sel_netport_sid()
|
/kernel/linux/linux-6.6/include/linux/pse-pd/ |
H A D | pse.h | 93 void pse_control_put(struct pse_control *psec); 95 int pse_ethtool_get_status(struct pse_control *psec, 98 int pse_ethtool_set_config(struct pse_control *psec, 109 static inline void pse_control_put(struct pse_control *psec) in pse_control_put() argument 113 static inline int pse_ethtool_get_status(struct pse_control *psec, in pse_ethtool_get_status() argument 120 static inline int pse_ethtool_set_config(struct pse_control *psec, in pse_ethtool_set_config() argument
|
/kernel/linux/linux-6.6/net/ethtool/ |
H A D | pse-pd.c | 45 if (!phydev->psec) { in pse_get_pse_attributes() 52 return pse_ethtool_get_status(phydev->psec, extack, &data->status); in pse_get_pse_attributes() 141 if (!phydev->psec) { in ethnl_set_pse() 147 return pse_ethtool_set_config(phydev->psec, info->extack, &config); in ethnl_set_pse()
|
/kernel/linux/linux-5.10/drivers/net/ieee802154/ |
H A D | ca8210.c | 1484 struct secspec *psec; in mcps_data_request() local 1512 psec = (struct secspec *)(command.pdata.data_req.msdu + msdu_length); in mcps_data_request() 1516 psec->security_level = 0; in mcps_data_request() 1519 *psec = *security; in mcps_data_request()
|
/kernel/linux/linux-6.6/drivers/net/ieee802154/ |
H A D | ca8210.c | 1442 struct secspec *psec; in mcps_data_request() local 1470 psec = (struct secspec *)(command.pdata.data_req.msdu + msdu_length); in mcps_data_request() 1474 psec->security_level = 0; in mcps_data_request() 1477 *psec = *security; in mcps_data_request()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | phy.h | 620 * @psec: Pointer to Power Sourcing Equipment control struct 748 struct pse_control *psec; member
|
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | phy_device.c | 1029 pse_control_put(phydev->psec); in phy_device_remove()
|