Home
last modified time | relevance | path

Searched refs:psid (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/net/switchdev/
Dswitchdev.c30 struct netdev_phys_item_id *psid) in netdev_switch_parent_id_get() argument
36 return ops->swdev_parent_id_get(dev, psid); in netdev_switch_parent_id_get()
267 struct netdev_phys_item_id psid; in netdev_switch_get_dev_by_nhs() local
284 if (netdev_switch_parent_id_get(dev, &psid)) in netdev_switch_get_dev_by_nhs()
288 if (prev_psid.id_len != psid.id_len) in netdev_switch_get_dev_by_nhs()
290 if (memcmp(prev_psid.id, psid.id, psid.id_len)) in netdev_switch_get_dev_by_nhs()
294 prev_psid = psid; in netdev_switch_get_dev_by_nhs()
/linux-4.1.27/fs/cifs/
Dcifsacl.c260 sid_to_id(struct cifs_sb_info *cifs_sb, struct cifs_sid *psid, in sid_to_id() argument
274 if (unlikely(psid->num_subauth > SID_MAX_SUB_AUTHORITIES)) { in sid_to_id()
276 __func__, psid->num_subauth); in sid_to_id()
280 sidstr = sid_to_key_str(psid, sidtype); in sid_to_id()
519 const struct cifs_sid *psid, __u64 nmode, umode_t bits) in fill_ace_for_sid() argument
532 pntace->sid.revision = psid->revision; in fill_ace_for_sid()
533 pntace->sid.num_subauth = psid->num_subauth; in fill_ace_for_sid()
535 pntace->sid.authority[i] = psid->authority[i]; in fill_ace_for_sid()
536 for (i = 0; i < psid->num_subauth; i++) in fill_ace_for_sid()
537 pntace->sid.sub_auth[i] = psid->sub_auth[i]; in fill_ace_for_sid()
[all …]
/linux-4.1.27/include/net/
Dswitchdev.h35 struct netdev_phys_item_id *psid);
70 struct netdev_phys_item_id *psid);
93 struct netdev_phys_item_id *psid) in netdev_switch_parent_id_get() argument
/linux-4.1.27/net/dsa/
Dslave.c386 struct netdev_phys_item_id *psid) in dsa_slave_parent_id_get() argument
391 psid->id_len = sizeof(ds->index); in dsa_slave_parent_id_get()
392 memcpy(&psid->id, &ds->index, psid->id_len); in dsa_slave_parent_id_get()
/linux-4.1.27/drivers/media/radio/si4713/
Dsi4713.c776 static int si4713_tx_rds_ps(struct si4713_device *sdev, u8 psid, in si4713_tx_rds_ps() argument
783 psid & SI4713_RDSPS_PSID_MASK, in si4713_tx_rds_ps()
/linux-4.1.27/net/core/
Drtnetlink.c1007 struct netdev_phys_item_id psid; in rtnl_phys_switch_id_fill() local
1009 err = netdev_switch_parent_id_get(dev, &psid); in rtnl_phys_switch_id_fill()
1016 if (nla_put(skb, IFLA_PHYS_SWITCH_ID, psid.id_len, psid.id)) in rtnl_phys_switch_id_fill()
/linux-4.1.27/drivers/net/ethernet/rocker/
Drocker.c4229 struct netdev_phys_item_id *psid) in rocker_port_swdev_parent_id_get() argument
4234 psid->id_len = sizeof(rocker->hw.id); in rocker_port_swdev_parent_id_get()
4235 memcpy(&psid->id, &rocker->hw.id, psid->id_len); in rocker_port_swdev_parent_id_get()