Lines Matching refs:maj
78 __u32 maj; in get_qdisc_handle() local
81 maj = TC_H_UNSPEC; in get_qdisc_handle()
84 maj = strtoul(str, &p, 16); in get_qdisc_handle()
85 if (p == str || maj >= (1 << 16)) in get_qdisc_handle()
87 maj <<= 16; in get_qdisc_handle()
91 *h = maj; in get_qdisc_handle()
97 __u32 maj, min; in get_tc_classid() local
100 maj = TC_H_ROOT; in get_tc_classid()
103 maj = TC_H_UNSPEC; in get_tc_classid()
106 maj = strtoul(str, &p, 16); in get_tc_classid()
108 maj = 0; in get_tc_classid()
113 if (maj >= (1<<16)) in get_tc_classid()
115 maj <<= 16; in get_tc_classid()
122 maj |= min; in get_tc_classid()
127 *h = maj; in get_tc_classid()