Lines Matching refs:bpf_stmt
256 static inline void bpf_stmt(struct sock_filter *inss, unsigned int *i,
304 bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(struct udev_monitor_netlink_header, magic));
308 bpf_stmt(ins, &i, BPF_RET|BPF_K, 0xffffffff);
325 bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(struct udev_monitor_netlink_header, filter_tag_bloom_hi));
327 bpf_stmt(ins, &i, BPF_ALU|BPF_AND|BPF_K, tag_bloom_hi);
332 bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(struct udev_monitor_netlink_header, filter_tag_bloom_lo));
334 bpf_stmt(ins, &i, BPF_ALU|BPF_AND|BPF_K, tag_bloom_lo);
341 bpf_stmt(ins, &i, BPF_RET|BPF_K, 0);
350 bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(struct udev_monitor_netlink_header, filter_subsystem_hash));
359 bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(struct udev_monitor_netlink_header, filter_devtype_hash));
366 bpf_stmt(ins, &i, BPF_RET|BPF_K, 0xffffffff);
373 bpf_stmt(ins, &i, BPF_RET|BPF_K, 0);
377 bpf_stmt(ins, &i, BPF_RET|BPF_K, 0xffffffff);