Lines Matching full:class
21 __type(key, u32); /* class; u32 required */
28 __type(key, u32); /* class; u32 required */
81 u8 class = ctx->mgmt_class; in on_ib_umad_read_recv() local
83 bpf_printk("ib_umad read recv : class 0x%x\n", class); in on_ib_umad_read_recv()
85 val = bpf_map_lookup_elem(&read_count, &class); in on_ib_umad_read_recv()
87 bpf_map_update_elem(&read_count, &class, &zero, BPF_NOEXIST); in on_ib_umad_read_recv()
88 val = bpf_map_lookup_elem(&read_count, &class); in on_ib_umad_read_recv()
101 u8 class = ctx->mgmt_class; in on_ib_umad_read_send() local
103 bpf_printk("ib_umad read send : class 0x%x\n", class); in on_ib_umad_read_send()
105 val = bpf_map_lookup_elem(&read_count, &class); in on_ib_umad_read_send()
107 bpf_map_update_elem(&read_count, &class, &zero, BPF_NOEXIST); in on_ib_umad_read_send()
108 val = bpf_map_lookup_elem(&read_count, &class); in on_ib_umad_read_send()
121 u8 class = ctx->mgmt_class; in on_ib_umad_write() local
123 bpf_printk("ib_umad write : class 0x%x\n", class); in on_ib_umad_write()
125 val = bpf_map_lookup_elem(&write_count, &class); in on_ib_umad_write()
127 bpf_map_update_elem(&write_count, &class, &zero, BPF_NOEXIST); in on_ib_umad_write()
128 val = bpf_map_lookup_elem(&write_count, &class); in on_ib_umad_write()