Searched refs:ptype (Results 76 - 100 of 122) sorted by relevance

12345

/linux-master/fs/affs/
H A Dfile.c136 AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST);
598 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA);
749 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA);
783 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA);
H A Dsuper.c432 be32_to_cpu(AFFS_ROOT_HEAD(root_bh)->ptype) == T_SHORT &&
/linux-master/net/ncsi/
H A Dinternal.h338 struct packet_type ptype; /* NCSI packet Rx handler */ member in struct:ncsi_dev_priv
H A Dncsi-manage.c1789 ndp->ptype.type = cpu_to_be16(ETH_P_NCSI);
1790 ndp->ptype.func = ncsi_rcv_rsp;
1791 ndp->ptype.dev = dev;
1792 dev_add_pack(&ndp->ptype);
1949 dev_remove_pack(&ndp->ptype);
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c415 u8 ptype; local
422 ptype = port_link_modes[mode].port_type;
423 __set_bit(port_types[ptype].eth_mode,
/linux-master/drivers/media/platform/qcom/venus/
H A Dhfi_msgs.c37 u32 ptype; local
60 ptype = *((u32 *)data_ptr);
61 switch (ptype) {
H A Dhfi_venus.c1412 static int venus_session_set_property(struct venus_inst *inst, u32 ptype, argument
1422 ret = pkt_session_set_property(pkt, inst, ptype, pdata);
1431 static int venus_session_get_property(struct venus_inst *inst, u32 ptype) argument
1437 ret = pkt_session_get_property(&pkt, inst, ptype);
/linux-master/kernel/bpf/
H A Dtrampoline.c110 enum bpf_prog_type ptype = prog->type; local
112 return (ptype == BPF_PROG_TYPE_TRACING &&
115 (ptype == BPF_PROG_TYPE_LSM && eatype == BPF_LSM_MAC);
/linux-master/scripts/kconfig/
H A Dnconf.c775 enum prop_type ptype; local
776 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN;
777 switch (ptype) {
/linux-master/net/netfilter/ipvs/
H A Dip_vs_sync.c1104 int ptype; local
1109 ptype = *(p++);
1115 switch (ptype & ~IPVS_OPT_F_PARAM) {
1137 if (!(ptype & IPVS_OPT_F_PARAM)) {
1139 ptype & ~IPVS_OPT_F_PARAM);
/linux-master/kernel/trace/
H A Dtrace_probe.c1845 enum probe_print_type ptype)
1852 switch (ptype) {
1914 int traceprobe_set_print_fmt(struct trace_probe *tp, enum probe_print_type ptype) argument
1921 len = __set_print_fmt(tp, NULL, 0, ptype);
1927 __set_print_fmt(tp, print_fmt, len + 1, ptype);
1844 __set_print_fmt(struct trace_probe *tp, char *buf, int len, enum probe_print_type ptype) argument
/linux-master/drivers/scsi/fcoe/
H A Dfcoe.c502 * @ptype: The packet_type structure which was used to register this handler
509 struct packet_type *ptype,
515 fcoe = container_of(ptype, struct fcoe_interface, fip_packet_type);
525 * @ptype: The packet_type structure which was used to register this handler
532 struct packet_type *ptype,
538 fcoe = container_of(ptype, struct fcoe_interface, fip_vlan_packet_type);
1326 * @ptype: The packet type context
1335 struct packet_type *ptype, struct net_device *olddev)
1346 fcoe = container_of(ptype, struct fcoe_interface, fcoe_packet_type);
508 fcoe_fip_recv(struct sk_buff *skb, struct net_device *netdev, struct packet_type *ptype, struct net_device *orig_dev) argument
531 fcoe_fip_vlan_recv(struct sk_buff *skb, struct net_device *netdev, struct packet_type *ptype, struct net_device *orig_dev) argument
1334 fcoe_rcv(struct sk_buff *skb, struct net_device *netdev, struct packet_type *ptype, struct net_device *olddev) argument
/linux-master/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c2873 static int ocrdma_mbx_get_dcbx_config(struct ocrdma_dev *dev, u32 ptype, argument
2902 req->param_type = ptype;
2921 static int ocrdma_parse_dcbxcfg_rsp(struct ocrdma_dev *dev, int ptype, argument
2941 (ptype > 0 ? "operational" : "admin"),
3002 int ptype = OCRDMA_PARAMETER_TYPE_OPER; local
3005 status = ocrdma_mbx_get_dcbx_config(dev, ptype, &dcbxcfg);
3008 ptype = OCRDMA_PARAMETER_TYPE_ADMIN;
3012 status = ocrdma_parse_dcbxcfg_rsp(dev, ptype,
3015 ptype = OCRDMA_PARAMETER_TYPE_ADMIN;
/linux-master/drivers/net/hamradio/
H A Dbpqether.c170 static int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument
/linux-master/drivers/net/wan/
H A Dlapbether.c111 struct packet_type *ptype, struct net_device *orig_dev)
110 lapbeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtc_actions.sh216 action skbedit ptype host pipe \
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A DMakefile57 en/tc/act/ct.o en/tc/act/sample.o en/tc/act/ptype.o \
/linux-master/net/core/
H A Ddev.c2244 struct packet_type *ptype, *pt_prev = *pt; local
2246 list_for_each_entry_rcu(ptype, ptype_list, list) {
2247 if (ptype->type != type)
2251 pt_prev = ptype;
2256 static inline bool skb_loop_sk(struct packet_type *ptype, struct sk_buff *skb) argument
2258 if (!ptype->af_packet_priv || !skb->sk)
2261 if (ptype->id_match)
2262 return ptype->id_match(ptype, skb->sk);
2263 else if ((struct sock *)ptype
2289 struct packet_type *ptype, *pt_prev = NULL; local
5414 struct packet_type *ptype, *pt_prev; local
[all...]
/linux-master/drivers/net/ethernet/ti/
H A Dnetcp_ethss.c244 u32 ptype; member in struct:xgbe_switch_regs
375 u32 ptype; /* NU */ member in struct:gbenu_switch_regs
561 u32 ptype; member in struct:gbe_switch_regs
575 u16 ptype; member in struct:gbe_switch_regs_ofs
2922 writel(0, GBE_REG_ADDR(gbe_dev, switch_regs, ptype));
3314 XGBE_SET_REG_OFS(gbe_dev, switch_regs, ptype);
3438 GBE_SET_REG_OFS(gbe_dev, switch_regs, ptype);
3530 GBENU_SET_REG_OFS(gbe_dev, switch_regs, ptype);
H A Dcpsw_priv.c796 val = readl_relaxed(&cpsw->regs->ptype);
812 val = readl_relaxed(&cpsw->regs->ptype);
819 writel_relaxed(val, &cpsw->regs->ptype);
H A Dcpsw_priv.h168 u32 ptype; member in struct:cpsw_ss_regs
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c911 u8 ptype; local
917 ptype = FIELD_GET(IAVF_RXD_QW1_PTYPE_MASK, qword);
919 decoded = libie_rx_pt_parse(ptype);
/linux-master/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py1696 def attach(self, dpindex, vport_ifname, ptype):
1703 port_type = OvsVport.str_to_type(ptype)
2120 "--ptype",
2189 rep = ovsvp.attach(rep["dpifindex"], args.addif, args.ptype)
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h402 u32 ptype : 8; member in struct:hns3_rx_ptype
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c419 * @ptype: context
425 struct packet_type *ptype, struct net_device *olddev)
433 interface = container_of(ptype, struct bnx2fc_interface,
1044 * @ptype: the &packet_type structure which was used to register this handler.
1050 struct packet_type *ptype,
1055 interface = container_of(ptype, struct bnx2fc_interface,
424 bnx2fc_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *olddev) argument
1049 bnx2fc_fip_recv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument

Completed in 459 milliseconds

12345