tclass 47 drivers/base/transport_class.c int transport_class_register(struct transport_class *tclass) tclass 49 drivers/base/transport_class.c return class_register(&tclass->class); tclass 61 drivers/base/transport_class.c void transport_class_unregister(struct transport_class *tclass) tclass 63 drivers/base/transport_class.c class_unregister(&tclass->class); tclass 90 drivers/base/transport_class.c atc->container.class = &atc->tclass.class; tclass 95 drivers/base/transport_class.c atc->tclass.setup = anon_transport_dummy_function; tclass 96 drivers/base/transport_class.c atc->tclass.remove = anon_transport_dummy_function; tclass 120 drivers/base/transport_class.c struct transport_class *tclass = class_to_transport_class(cont->class); tclass 123 drivers/base/transport_class.c if (tclass->setup) tclass 124 drivers/base/transport_class.c tclass->setup(tcont, dev, classdev); tclass 186 drivers/base/transport_class.c struct transport_class *tclass = class_to_transport_class(cont->class); tclass 189 drivers/base/transport_class.c if (tclass->configure) tclass 190 drivers/base/transport_class.c tclass->configure(tcont, dev, cdev); tclass 219 drivers/base/transport_class.c struct transport_class *tclass = class_to_transport_class(cont->class); tclass 221 drivers/base/transport_class.c if (tclass->remove) tclass 222 drivers/base/transport_class.c tclass->remove(tcont, dev, classdev); tclass 224 drivers/base/transport_class.c if (tclass->remove != anon_transport_dummy_function) { tclass 256 drivers/base/transport_class.c struct transport_class *tclass = class_to_transport_class(cont->class); tclass 258 drivers/base/transport_class.c if (tclass->remove != anon_transport_dummy_function) tclass 95 drivers/infiniband/hw/hns/hns_roce_ah.c ah->av.gid_index, ah->av.hop_limit, ah->av.tclass); tclass 582 drivers/infiniband/hw/hns/hns_roce_device.h u8 tclass; tclass 197 drivers/infiniband/hw/hns/hns_roce_hw_v1.c ah->av.tclass); tclass 409 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ah->av.tclass); tclass 91 drivers/infiniband/hw/mlx4/mcg.c u8 tclass; tclass 400 drivers/infiniband/hw/mlx4/mcg.c src->tclass != dst->tclass) tclass 1031 drivers/infiniband/hw/mlx4/mcg.c group->rec.tclass, tclass 48 drivers/infiniband/hw/mlx5/ah.c ah->av.tclass = grh->traffic_class; tclass 63 drivers/infiniband/hw/mlx5/ah.c ah->av.tclass |= MLX5_ECN_ENABLED; tclass 118 drivers/infiniband/hw/mlx5/ah.c ah->av.tclass); tclass 3861 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(dctc, dctc, tclass, attr->ah_attr.grh.traffic_class); tclass 5743 drivers/infiniband/hw/mlx5/qp.c qp_attr->ah_attr.grh.traffic_class = MLX5_GET(dctc, dctc, tclass); tclass 243 drivers/net/ethernet/aquantia/atlantic/aq_filters.c fsp->h_u.tcp_ip6_spec.tclass)) { tclass 5224 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (tcp_ip6_spec->tclass) tclass 5246 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (usr_ip6_spec->tclass) tclass 556 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (l3_mask->l4_4_bytes || l3_mask->tclass) tclass 574 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (l4_mask->tclass) tclass 585 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qtct_reg, in, tclass, prio_tc[i]); tclass 613 drivers/net/ethernet/mellanox/mlx5/core/port.c *tc = MLX5_GET(qtct_reg, out, tclass); tclass 3451 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, qtct, tclass, 0x04, 0, 4); tclass 3454 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 switch_prio, u8 tclass) tclass 3459 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qtct_tclass_set(payload, tclass); tclass 3504 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 switch_prio, u8 tclass) tclass 3510 drivers/net/ethernet/mellanox/mlxsw/spectrum.c tclass); tclass 469 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u8 switch_prio, u8 tclass); tclass 78 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c int tclass, child_index; tclass 90 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c tclass = MLXSW_SP_PRIO_CHILD_TO_TCLASS(child_index); tclass 91 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c return &mlxsw_sp_port->tclass_qdiscs[tclass]; tclass 525 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c int tclass, i, band, backlog; tclass 530 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c tclass = MLXSW_SP_PRIO_BAND_TO_TCLASS(band); tclass 531 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c child_qdisc = &mlxsw_sp_port->tclass_qdiscs[tclass]; tclass 540 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c i, tclass); tclass 554 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c tclass = MLXSW_SP_PRIO_BAND_TO_TCLASS(band); tclass 555 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c child_qdisc = &mlxsw_sp_port->tclass_qdiscs[tclass]; tclass 1189 drivers/net/ethernet/sfc/ethtool.c if (ip6_mask->tclass) tclass 1220 drivers/net/ethernet/sfc/ethtool.c if (uip6_mask->l4_4_bytes || uip6_mask->tclass) tclass 1124 drivers/net/ethernet/sfc/falcon/ethtool.c if (ip6_mask->tclass) tclass 1155 drivers/net/ethernet/sfc/falcon/ethtool.c if (uip6_mask->l4_4_bytes || uip6_mask->tclass) tclass 201 include/linux/ipv6.h u8 tclass; tclass 287 include/linux/ipv6.h __u8 tclass; tclass 653 include/linux/mlx5/mlx5_ifc.h u8 tclass[0x8]; tclass 3471 include/linux/mlx5/mlx5_ifc.h u8 tclass[0x8]; tclass 9017 include/linux/mlx5/mlx5_ifc.h u8 tclass[0x8]; tclass 9674 include/linux/mlx5/mlx5_ifc.h u8 tclass[0x3]; tclass 309 include/linux/mlx5/qp.h u8 tclass; tclass 39 include/linux/transport_class.h struct transport_class tclass; tclass 45 include/linux/transport_class.h .tclass = { \ tclass 56 include/net/inet_ecn.h inet6_sk(sk)->tclass |= INET_ECN_ECT_0; tclass 63 include/net/inet_ecn.h inet6_sk(sk)->tclass &= ~INET_ECN_MASK; tclass 71 include/net/inet_ecn.h if (INET_ECN_is_capable(inet6_sk(sk)->tclass)) \ tclass 346 include/net/ipv6.h __s16 tclass; tclass 356 include/net/ipv6.h .tclass = -1, tclass 366 include/net/ipv6.h .tclass = np->tclass, tclass 934 include/net/ipv6.h static inline void ip6_flow_hdr(struct ipv6hdr *hdr, unsigned int tclass, tclass 937 include/net/ipv6.h *(__be32 *)hdr = htonl(0x60000000 | (tclass << 20)) | flowlabel; tclass 955 include/net/ipv6.h static inline __be32 ip6_make_flowinfo(unsigned int tclass, __be32 flowlabel) tclass 957 include/net/ipv6.h return htonl(tclass << IPV6_TCLASS_SHIFT) | flowlabel; tclass 984 include/net/ipv6.h __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority); tclass 817 include/uapi/linux/ethtool.h __u8 tclass; tclass 833 include/uapi/linux/ethtool.h __u8 tclass; tclass 848 include/uapi/linux/ethtool.h __u8 tclass; tclass 38 include/uapi/linux/netfilter_bridge/ebt_ip6.h __u8 tclass; tclass 51 net/bridge/netfilter/ebt_ip6.c info->tclass != ipv6_get_dsfield(ih6))) tclass 3009 net/core/ethtool.c if (v6_m_spec->tclass) { tclass 3010 net/core/ethtool.c match->key.ip.tos = v6_spec->tclass; tclass 3011 net/core/ethtool.c match->mask.ip.tos = v6_m_spec->tclass; tclass 4330 net/core/filter.c np->tclass = val; tclass 4455 net/core/filter.c *((int *)optval) = (int)np->tclass; tclass 233 net/dccp/ipv6.c err = ip6_xmit(sk, skb, &fl6, sk->sk_mark, opt, np->tclass, tclass 134 net/ipv4/inet_diag.c inet6_sk(sk)->tclass) < 0) tclass 285 net/ipv4/tcp_minisocks.c tw->tw_tclass = np->tclass; tclass 611 net/ipv6/datagram.c int tclass = ipv6_get_dsfield(ipv6_hdr(skb)); tclass 612 net/ipv6/datagram.c put_cmsg(msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); tclass 991 net/ipv6/datagram.c ipc6->tclass = tc; tclass 27 net/ipv6/fib6_rules.c u8 tclass; tclass 34 net/ipv6/fib6_rules.c if (r->dst.plen || r->src.plen || r->tclass) tclass 318 net/ipv6/fib6_rules.c if (r->tclass && r->tclass != ip6_tclass(fl6->flowlabel)) tclass 368 net/ipv6/fib6_rules.c rule6->tclass = frh->tos; tclass 401 net/ipv6/fib6_rules.c if (frh->tos && (rule6->tclass != frh->tos)) tclass 422 net/ipv6/fib6_rules.c frh->tos = rule6->tclass; tclass 555 net/ipv6/icmp.c fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); tclass 750 net/ipv6/icmp.c ipc6.tclass = ipv6_get_dsfield(ipv6_hdr(skb)); tclass 136 net/ipv6/inet6_connection_sock.c np->tclass, sk->sk_priority); tclass 196 net/ipv6/ip6_output.c __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority) tclass 250 net/ipv6/ip6_output.c ip6_flow_hdr(hdr, tclass, ip6_make_flowlabel(net, skb, fl6->flowlabel, tclass 1284 net/ipv6/ip6_output.c v6_cork->tclass = ipc6->tclass; tclass 1762 net/ipv6/ip6_output.c ip6_flow_hdr(hdr, v6_cork->tclass, tclass 346 net/ipv6/ipv6_sockglue.c np->tclass = val; tclass 1098 net/ipv6/ipv6_sockglue.c int tclass = (int)ip6_tclass(np->rcv_flowinfo); tclass 1100 net/ipv6/ipv6_sockglue.c put_cmsg(&msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); tclass 1201 net/ipv6/ipv6_sockglue.c val = np->tclass; tclass 445 net/ipv6/ndisc.c unsigned tclass; tclass 449 net/ipv6/ndisc.c tclass = idev ? idev->cnf.ndisc_tclass : 0; tclass 456 net/ipv6/ndisc.c ip6_flow_hdr(hdr, tclass, 0); tclass 70 net/ipv6/netfilter/nf_reject_ipv6.c const __u8 tclass = DEFAULT_TOS_VALUE; tclass 75 net/ipv6/netfilter/nf_reject_ipv6.c ip6_flow_hdr(ip6h, tclass, 0); tclass 117 net/ipv6/ping.c fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); tclass 923 net/ipv6/raw.c if (ipc6.tclass < 0) tclass 924 net/ipv6/raw.c ipc6.tclass = np->tclass; tclass 926 net/ipv6/raw.c fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); tclass 516 net/ipv6/tcp_ipv6.c err = ip6_xmit(sk, skb, fl6, sk->sk_mark, opt, np->tclass, tclass 808 net/ipv6/tcp_ipv6.c u8 tclass, __be32 label, u32 priority) tclass 912 net/ipv6/tcp_ipv6.c ip6_xmit(ctl_sk, buff, &fl6, fl6.flowi6_mark, NULL, tclass, tclass 1019 net/ipv6/tcp_ipv6.c struct tcp_md5sig_key *key, u8 tclass, tclass 1023 net/ipv6/tcp_ipv6.c tclass, label, priority); tclass 1441 net/ipv6/udp.c if (ipc6.tclass < 0) tclass 1442 net/ipv6/udp.c ipc6.tclass = np->tclass; tclass 1444 net/ipv6/udp.c fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); tclass 627 net/l2tp/l2tp_ip6.c if (ipc6.tclass < 0) tclass 628 net/l2tp/l2tp_ip6.c ipc6.tclass = np->tclass; tclass 630 net/l2tp/l2tp_ip6.c fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); tclass 199 net/sctp/ipv6.c __u8 tclass = np->tclass; tclass 206 net/sctp/ipv6.c tclass = transport->dscp & SCTP_DSCP_VAL_MASK; tclass 208 net/sctp/ipv6.c if (INET_ECN_is_capable(tclass)) tclass 218 net/sctp/ipv6.c tclass, sk->sk_priority); tclass 801 net/sctp/ipv6.c inet6_sk(sk)->tclass |= INET_ECN_ECT_0; tclass 47 security/selinux/avc.c u16 tclass; tclass 124 security/selinux/avc.c static inline int avc_hash(u32 ssid, u32 tsid, u16 tclass) tclass 126 security/selinux/avc.c return (ssid ^ (tsid<<2) ^ (tclass<<4)) & (AVC_CACHE_SLOTS - 1); tclass 414 security/selinux/avc.c u32 ssid, u32 tsid, u16 tclass, tclass 426 security/selinux/avc.c return slow_avc_audit(state, ssid, tsid, tclass, requested, tclass 515 security/selinux/avc.c static void avc_node_populate(struct avc_node *node, u32 ssid, u32 tsid, u16 tclass, struct av_decision *avd) tclass 519 security/selinux/avc.c node->ae.tclass = tclass; tclass 524 security/selinux/avc.c u32 ssid, u32 tsid, u16 tclass) tclass 530 security/selinux/avc.c hvalue = avc_hash(ssid, tsid, tclass); tclass 534 security/selinux/avc.c tclass == node->ae.tclass && tclass 557 security/selinux/avc.c u32 ssid, u32 tsid, u16 tclass) tclass 562 security/selinux/avc.c node = avc_search_node(avc, ssid, tsid, tclass); tclass 613 security/selinux/avc.c u32 ssid, u32 tsid, u16 tclass, tclass 630 security/selinux/avc.c avc_node_populate(node, ssid, tsid, tclass, avd); tclass 636 security/selinux/avc.c hvalue = avc_hash(ssid, tsid, tclass); tclass 643 security/selinux/avc.c pos->ae.tclass == tclass) { tclass 675 security/selinux/avc.c perms = secclass_map[sad->tclass-1].perms; tclass 727 security/selinux/avc.c audit_log_format(ab, " tclass=%s", secclass_map[sad->tclass-1].name); tclass 756 security/selinux/avc.c u32 ssid, u32 tsid, u16 tclass, tclass 763 security/selinux/avc.c if (WARN_ON(!tclass || tclass >= ARRAY_SIZE(secclass_map))) tclass 771 security/selinux/avc.c sad.tclass = tclass; tclass 830 security/selinux/avc.c u32 tsid, u16 tclass, u32 seqno, tclass 862 security/selinux/avc.c hvalue = avc_hash(ssid, tsid, tclass); tclass 872 security/selinux/avc.c tclass == pos->ae.tclass && tclass 889 security/selinux/avc.c avc_node_populate(node, ssid, tsid, tclass, &orig->ae.avd); tclass 997 security/selinux/avc.c u16 tclass, struct av_decision *avd, tclass 1002 security/selinux/avc.c security_compute_av(state, ssid, tsid, tclass, avd, &xp_node->xp); tclass 1004 security/selinux/avc.c return avc_insert(state->avc, ssid, tsid, tclass, avd, xp_node); tclass 1009 security/selinux/avc.c u16 tclass, u32 requested, tclass 1021 security/selinux/avc.c xperm, ssid, tsid, tclass, avd->seqno, NULL, flags); tclass 1033 security/selinux/avc.c u32 ssid, u32 tsid, u16 tclass, u32 requested, tclass 1054 security/selinux/avc.c node = avc_lookup(state->avc, ssid, tsid, tclass); tclass 1056 security/selinux/avc.c node = avc_compute_av(state, ssid, tsid, tclass, &avd, xp_node); tclass 1080 security/selinux/avc.c security_compute_xperms_decision(state, ssid, tsid, tclass, tclass 1084 security/selinux/avc.c driver, xperm, ssid, tsid, tclass, avd.seqno, tclass 1097 security/selinux/avc.c rc = avc_denied(state, ssid, tsid, tclass, requested, tclass 1102 security/selinux/avc.c rc2 = avc_xperms_audit(state, ssid, tsid, tclass, requested, tclass 1131 security/selinux/avc.c u16 tclass, u32 requested, tclass 1145 security/selinux/avc.c node = avc_lookup(state->avc, ssid, tsid, tclass); tclass 1147 security/selinux/avc.c node = avc_compute_av(state, ssid, tsid, tclass, avd, &xp_node); tclass 1153 security/selinux/avc.c rc = avc_denied(state, ssid, tsid, tclass, requested, 0, 0, tclass 1176 security/selinux/avc.c int avc_has_perm(struct selinux_state *state, u32 ssid, u32 tsid, u16 tclass, tclass 1182 security/selinux/avc.c rc = avc_has_perm_noaudit(state, ssid, tsid, tclass, requested, 0, tclass 1185 security/selinux/avc.c rc2 = avc_audit(state, ssid, tsid, tclass, requested, &avd, rc, tclass 1193 security/selinux/avc.c u32 ssid, u32 tsid, u16 tclass, u32 requested, tclass 1200 security/selinux/avc.c rc = avc_has_perm_noaudit(state, ssid, tsid, tclass, requested, tclass 1204 security/selinux/avc.c rc2 = avc_audit(state, ssid, tsid, tclass, requested, &avd, rc, tclass 1332 security/selinux/hooks.c u16 tclass, tclass 1358 security/selinux/hooks.c path, tclass, sid); tclass 1788 security/selinux/hooks.c const struct qstr *name, u16 tclass, tclass 1802 security/selinux/hooks.c dsec->sid, tclass, tclass 1812 security/selinux/hooks.c u16 tclass) tclass 1837 security/selinux/hooks.c &dentry->d_name, tclass, &newsid); tclass 1842 security/selinux/hooks.c sid, newsid, tclass, FILE__CREATE, &ad); tclass 50 security/selinux/include/avc.h u16 tclass; tclass 101 security/selinux/include/avc.h u32 ssid, u32 tsid, u16 tclass, tclass 127 security/selinux/include/avc.h u16 tclass, u32 requested, tclass 140 security/selinux/include/avc.h return slow_avc_audit(state, ssid, tsid, tclass, tclass 150 security/selinux/include/avc.h u16 tclass, u32 requested, tclass 156 security/selinux/include/avc.h u16 tclass, u32 requested, tclass 160 security/selinux/include/avc.h u16 tclass, u32 requested, tclass 165 security/selinux/include/avc.h u32 ssid, u32 tsid, u16 tclass, u32 requested, tclass 227 security/selinux/include/security.h u16 tclass, struct av_decision *avd, tclass 231 security/selinux/include/security.h u32 ssid, u32 tsid, u16 tclass, tclass 237 security/selinux/include/security.h u16 tclass, struct av_decision *avd); tclass 240 security/selinux/include/security.h u32 ssid, u32 tsid, u16 tclass, tclass 244 security/selinux/include/security.h u32 ssid, u32 tsid, u16 tclass, tclass 248 security/selinux/include/security.h u16 tclass, u32 *out_sid); tclass 251 security/selinux/include/security.h u16 tclass, u32 *out_sid); tclass 299 security/selinux/include/security.h u16 tclass); tclass 303 security/selinux/include/security.h u16 tclass); tclass 690 security/selinux/selinuxfs.c u16 tclass; tclass 729 security/selinux/selinuxfs.c if (sscanf(req, "%s %s %hu %s", oldcon, newcon, &tclass, taskcon) != 4) tclass 744 security/selinux/selinuxfs.c rc = security_validate_transition_user(state, osid, nsid, tsid, tclass); tclass 818 security/selinux/selinuxfs.c u16 tclass; tclass 839 security/selinux/selinuxfs.c if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) tclass 850 security/selinux/selinuxfs.c security_compute_av_user(state, ssid, tsid, tclass, &avd); tclass 870 security/selinux/selinuxfs.c u16 tclass; tclass 899 security/selinux/selinuxfs.c nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); tclass 941 security/selinux/selinuxfs.c length = security_transition_sid_user(state, ssid, tsid, tclass, tclass 973 security/selinux/selinuxfs.c u16 tclass; tclass 996 security/selinux/selinuxfs.c if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) tclass 1007 security/selinux/selinuxfs.c length = security_change_sid(state, ssid, tsid, tclass, &newsid); tclass 1099 security/selinux/selinuxfs.c u16 tclass; tclass 1122 security/selinux/selinuxfs.c if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) tclass 1133 security/selinux/selinuxfs.c length = security_member_sid(state, ssid, tsid, tclass, &newsid); tclass 490 security/selinux/ss/mls.c u16 tclass, tclass 508 security/selinux/ss/mls.c rtr.target_class = tclass; tclass 513 security/selinux/ss/mls.c if (tclass && tclass <= p->p_classes.nprim) { tclass 514 security/selinux/ss/mls.c cladatum = p->class_val_to_struct[tclass - 1]; tclass 536 security/selinux/ss/mls.c if ((tclass == p->process_class) || (sock == true)) tclass 55 security/selinux/ss/mls.h u16 tclass, tclass 409 security/selinux/ss/policydb.c hash = ft->stype ^ ft->ttype ^ ft->tclass; tclass 431 security/selinux/ss/policydb.c v = ft1->tclass - ft2->tclass; tclass 1778 security/selinux/ss/policydb.c u32 string_to_av_perm(struct policydb *p, u16 tclass, const char *name) tclass 1784 security/selinux/ss/policydb.c if (!tclass || tclass > p->p_classes.nprim) tclass 1787 security/selinux/ss/policydb.c cladatum = p->class_val_to_struct[tclass-1]; tclass 1923 security/selinux/ss/policydb.c ft->tclass = le32_to_cpu(buf[2]); tclass 2433 security/selinux/ss/policydb.c tr->tclass = le32_to_cpu(buf[0]); tclass 2435 security/selinux/ss/policydb.c tr->tclass = p->process_class; tclass 2440 security/selinux/ss/policydb.c !policydb_class_isvalid(p, tr->tclass) || tclass 2671 security/selinux/ss/policydb.c buf[0] = cpu_to_le32(tr->tclass); tclass 3342 security/selinux/ss/policydb.c buf[2] = cpu_to_le32(ft->tclass); tclass 86 security/selinux/ss/policydb.h u32 tclass; /* process class, or new object class */ tclass 94 security/selinux/ss/policydb.h u16 tclass; /* class of new object */ tclass 372 security/selinux/ss/policydb.h extern u32 string_to_av_perm(struct policydb *p, u16 tclass, const char *name); tclass 97 security/selinux/ss/services.c u16 tclass, tclass 182 security/selinux/ss/services.c static u16 unmap_class(struct selinux_map *map, u16 tclass) tclass 184 security/selinux/ss/services.c if (tclass < map->size) tclass 185 security/selinux/ss/services.c return map->mapping[tclass].value; tclass 187 security/selinux/ss/services.c return tclass; tclass 206 security/selinux/ss/services.c u16 tclass, struct av_decision *avd, tclass 209 security/selinux/ss/services.c if (tclass < map->size) { tclass 210 security/selinux/ss/services.c struct selinux_mapping *mapping = &map->mapping[tclass]; tclass 456 security/selinux/ss/services.c u16 tclass, tclass 474 security/selinux/ss/services.c tclass_name = sym_name(policydb, SYM_CLASSES, tclass - 1); tclass 475 security/selinux/ss/services.c tclass_dat = policydb->class_val_to_struct[tclass - 1]; tclass 535 security/selinux/ss/services.c u16 tclass, tclass 567 security/selinux/ss/services.c tclass, tclass 581 security/selinux/ss/services.c tclass, masked, "bounds"); tclass 616 security/selinux/ss/services.c u16 tclass, tclass 637 security/selinux/ss/services.c if (unlikely(!tclass || tclass > policydb->p_classes.nprim)) { tclass 639 security/selinux/ss/services.c pr_warn("SELinux: Invalid class %hu\n", tclass); tclass 643 security/selinux/ss/services.c tclass_datum = policydb->class_val_to_struct[tclass - 1]; tclass 649 security/selinux/ss/services.c avkey.target_class = tclass; tclass 697 security/selinux/ss/services.c if (tclass == policydb->process_class && tclass 715 security/selinux/ss/services.c tclass, avd); tclass 722 security/selinux/ss/services.c u16 tclass) tclass 737 security/selinux/ss/services.c o, n, t, sym_name(p, SYM_CLASSES, tclass-1)); tclass 759 security/selinux/ss/services.c u16 tclass; tclass 772 security/selinux/ss/services.c tclass = unmap_class(&state->ss->map, orig_tclass); tclass 774 security/selinux/ss/services.c tclass = orig_tclass; tclass 776 security/selinux/ss/services.c if (!tclass || tclass > policydb->p_classes.nprim) { tclass 780 security/selinux/ss/services.c tclass_datum = policydb->class_val_to_struct[tclass - 1]; tclass 817 security/selinux/ss/services.c tclass); tclass 830 security/selinux/ss/services.c u16 tclass) tclass 833 security/selinux/ss/services.c tclass, true); tclass 1007 security/selinux/ss/services.c u16 tclass; tclass 1042 security/selinux/ss/services.c tclass = unmap_class(&state->ss->map, orig_tclass); tclass 1043 security/selinux/ss/services.c if (unlikely(orig_tclass && !tclass)) { tclass 1050 security/selinux/ss/services.c if (unlikely(!tclass || tclass > policydb->p_classes.nprim)) { tclass 1051 security/selinux/ss/services.c pr_warn_ratelimited("SELinux: Invalid class %hu\n", tclass); tclass 1055 security/selinux/ss/services.c avkey.target_class = tclass; tclass 1101 security/selinux/ss/services.c u16 tclass; tclass 1131 security/selinux/ss/services.c tclass = unmap_class(&state->ss->map, orig_tclass); tclass 1132 security/selinux/ss/services.c if (unlikely(orig_tclass && !tclass)) { tclass 1137 security/selinux/ss/services.c context_struct_compute_av(policydb, scontext, tcontext, tclass, avd, tclass 1152 security/selinux/ss/services.c u16 tclass, tclass 1185 security/selinux/ss/services.c if (unlikely(!tclass)) { tclass 1191 security/selinux/ss/services.c context_struct_compute_av(policydb, scontext, tcontext, tclass, avd, tclass 1579 security/selinux/ss/services.c u16 tclass, tclass 1599 security/selinux/ss/services.c s, t, sym_name(policydb, SYM_CLASSES, tclass-1)); tclass 1612 security/selinux/ss/services.c u32 stype, u32 ttype, u16 tclass, tclass 1628 security/selinux/ss/services.c ft.tclass = tclass; tclass 1653 security/selinux/ss/services.c u16 tclass; tclass 1674 security/selinux/ss/services.c tclass = unmap_class(&state->ss->map, orig_tclass); tclass 1677 security/selinux/ss/services.c tclass = orig_tclass; tclass 1679 security/selinux/ss/services.c tclass)); tclass 1700 security/selinux/ss/services.c if (tclass && tclass <= policydb->p_classes.nprim) tclass 1701 security/selinux/ss/services.c cladatum = policydb->class_val_to_struct[tclass - 1]; tclass 1727 security/selinux/ss/services.c if ((tclass == policydb->process_class) || (sock == true)) tclass 1739 security/selinux/ss/services.c if ((tclass == policydb->process_class) || (sock == true)) { tclass 1751 security/selinux/ss/services.c avkey.target_class = tclass; tclass 1774 security/selinux/ss/services.c tcontext->type, tclass, objname); tclass 1783 security/selinux/ss/services.c (roletr->tclass == tclass)) { tclass 1793 security/selinux/ss/services.c rc = mls_compute_sid(policydb, scontext, tcontext, tclass, specified, tclass 1802 security/selinux/ss/services.c tclass, tclass 1830 security/selinux/ss/services.c u32 ssid, u32 tsid, u16 tclass, tclass 1833 security/selinux/ss/services.c return security_compute_sid(state, ssid, tsid, tclass, tclass 1839 security/selinux/ss/services.c u32 ssid, u32 tsid, u16 tclass, tclass 1842 security/selinux/ss/services.c return security_compute_sid(state, ssid, tsid, tclass, tclass 1863 security/selinux/ss/services.c u16 tclass, tclass 1866 security/selinux/ss/services.c return security_compute_sid(state, ssid, tsid, tclass, tclass 1887 security/selinux/ss/services.c u16 tclass, tclass 1891 security/selinux/ss/services.c ssid, tsid, tclass, AVTAB_CHANGE, NULL,