| /linux/drivers/net/ethernet/mellanox/mlxfw/ |
| H A D | mlxfw_mfa2.c | 28 * | | PSID tlv | | +-----------------+ 65 * - PSID TLV child of type MLXFW_MFA2_TLV_PSID containing that device PSID. 118 const struct mlxfw_mfa2_tlv_psid *psid; in mlxfw_mfa2_file_dev_validate() local 135 /* Validate the device has PSID tlv */ in mlxfw_mfa2_file_dev_validate() 139 pr_err("Device %d does not have PSID\n", dev_idx); in mlxfw_mfa2_file_dev_validate() 143 psid = mlxfw_mfa2_tlv_psid_get(mfa2_file, tlv); in mlxfw_mfa2_file_dev_validate() 144 if (!psid) { in mlxfw_mfa2_file_dev_validate() 145 pr_err("Device %d PSID TLV is not valid\n", dev_idx); in mlxfw_mfa2_file_dev_validate() 149 print_hex_dump_debug(" -- Device PSID ", DUMP_PREFIX_NONE, 16, 16, in mlxfw_mfa2_file_dev_validate() 150 psid->psid, be16_to_cpu(tlv->len), true); in mlxfw_mfa2_file_dev_validate() [all …]
|
| H A D | mlxfw_mfa2.h | 23 const char *psid, u32 psid_size, 28 const char *psid, int psid_size,
|
| H A D | mlxfw_mfa2_format.h | 47 DECLARE_FLEX_ARRAY(u8, psid); 50 MLXFW_MFA2_TLV_VARSIZE(psid, struct mlxfw_mfa2_tlv_psid,
|
| H A D | mlxfw.h | 14 const char *psid; member
|
| /linux/fs/smb/client/ |
| H A D | cifsacl.c | 224 is_well_known_sid(const struct smb_sid *psid, uint32_t *puid, bool is_group) in is_well_known_sid() 230 if (!psid || (puid == NULL)) in is_well_known_sid() 233 num_subauth = psid->num_subauth; in is_well_known_sid() 250 if (psid->revision != pwell_known_sid->revision) in is_well_known_sid() 255 if (psid->authority[i] != pwell_known_sid->authority[i]) { in is_well_known_sid() 262 if (psid->sub_auth[0] != pwell_known_sid->sub_auth[0]) in is_well_known_sid() 265 *puid = le32_to_cpu(psid->sub_auth[1]); in cifs_copy_sid() 267 *puid = le32_to_cpu(psid->sub_auth[0]); in cifs_copy_sid() 268 if ((psid->sub_auth[0] != pwell_known_sid->sub_auth[0]) || in cifs_copy_sid() 269 (psid in cifs_copy_sid() 209 is_well_known_sid(const struct smb_sid * psid,uint32_t * puid,bool is_group) is_well_known_sid() argument 281 parse_sid(const struct smb_sid * psid,const char * end_of_acl) parse_sid() argument 325 struct smb_sid *psid; sid_from_sd() local 409 sid_to_id(struct cifs_sb_info * cifs_sb,struct smb_sid * psid,struct cifs_fattr * fattr,uint sidtype) sid_to_id() argument 745 cifs_copy_ace(struct smb_ace * dst,struct smb_ace * src,struct smb_sid * psid) cifs_copy_ace() argument 765 fill_ace_for_sid(struct smb_ace * pntace,const struct smb_sid * psid,__u64 nmode,umode_t bits,__u8 access_type,bool allow_delete_child) fill_ace_for_sid() argument [all...] |
| H A D | cifsproto.h | 202 int sid_to_id(struct cifs_sb_info *cifs_sb, struct smb_sid *psid,
|
| /linux/fs/smb/server/ |
| H A D | smbacl.c | 197 const struct smb_sid *psid, int type, int flags, in fill_ace_for_sid() argument 211 pntace->sid.revision = psid->revision; in fill_ace_for_sid() 212 pntace->sid.num_subauth = psid->num_subauth; in fill_ace_for_sid() 214 pntace->sid.authority[i] = psid->authority[i]; in fill_ace_for_sid() 215 for (i = 0; i < psid->num_subauth; i++) in fill_ace_for_sid() 216 pntace->sid.sub_auth[i] = psid->sub_auth[i]; in fill_ace_for_sid() 218 size = 1 + 1 + 2 + 4 + 1 + 1 + 6 + (psid->num_subauth * 4); in fill_ace_for_sid() 261 struct smb_sid *psid, uint sidtype, in sid_to_id() argument 271 if (unlikely(psid->num_subauth > SID_MAX_SUB_AUTHORITIES)) { in sid_to_id() 273 __func__, psid->num_subauth); in sid_to_id() [all …]
|
| /linux/Documentation/networking/devlink/ |
| H A D | mlxsw.rst | 54 * - ``fw.psid`` 56 - Firmware PSID 78 * - ``fw.psid`` 80 - Line card device PSID
|
| H A D | bnxt.rst | 67 * - ``fw.psid``
|
| H A D | mlx5.rst | 253 * - ``fw.psid``
|
| H A D | ice.rst | 156 * - ``fw.psid.api``
|
| /linux/net/l2tp/ |
| H A D | trace.h | 98 __field(u32, psid) 106 __entry->psid = session->peer_session_id; 109 TP_printk("%s: pseudowire=%s sid=%u psid=%u tid=%u ptid=%u", 113 __entry->psid, 115 __entry->psid)
|
| /linux/net/ipv6/netfilter/ |
| H A D | ip6t_srh.c | 120 struct in6_addr *psid, *nsid, *lsid; in srh1_mt6() local 208 psid = skb_header_pointer(skb, psidoff, sizeof(_psid), &_psid); in srh1_mt6() 209 if (!psid) in srh1_mt6() 212 ipv6_masked_addr_cmp(psid, &srhinfo->psid_msk, in srh1_mt6()
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | devlink_linecard.sh | 262 jq -e -r '."fw.psid"') 263 check_err $? "Failed to get linecard $lc fixed fw PSID" 264 log_info "Linecard $lc fixed.fw.psid: \"$fixed_device_fw_psid\""
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_linecards.c | 345 .psid = linecard->device.info.psid, in mlxsw_linecard_flash_update() 346 .psid_size = strlen(linecard->device.info.psid), in mlxsw_linecard_flash_update() 368 u8 device_index, char *psid) in mlxsw_linecard_device_psid_get() argument 384 mlxsw_reg_mgir_fw_info_psid_memcpy_from(mgir_pl, psid); in mlxsw_linecard_device_psid_get() 424 info.psid); in mlxsw_linecard_device_info_update() 603 info->psid); in mlxsw_linecard_devlink_info_get()
|
| H A D | cmd.h | 393 * domain of the VSD/PSID data. Different vendors may choose different VSD/PSID 406 * The PSID field is a 16-ascii (byte) character string which acts as 407 * the board ID. The PSID format is used in conjunction with 411 MLXSW_ITEM_BUF(cmd_mbox, boardinfo, psid, 0xF0, MLXSW_CMD_BOARDINFO_PSID_LEN);
|
| /linux/drivers/net/ethernet/intel/ixgbe/devlink/ |
| H A D | devlink.c | 252 err = devlink_info_version_running_put(req, "fw.psid.api", ctx->buf); in ixgbe_devlink_info_get_e610() 298 err = devlink_info_version_stored_put(req, "fw.psid.api", ctx->buf); in ixgbe_devlink_pending_info_get_e610()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fw.c | 731 .psid = dev->board_id, in mlx5_firmware_flash()
|
| H A D | devlink.c | 106 err = devlink_info_version_fixed_put(req, "fw.psid", dev->board_id); in mlx5_devlink_info_get()
|
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | devlink.c | 249 combined("fw.psid.api", ice_info_nvm_ver, ice_info_pending_nvm_ver),
|
| /linux/include/net/ |
| H A D | devlink.h | 715 #define DEVLINK_INFO_VERSION_GENERIC_FW_PSID "fw.psid"
|