Lines Matching refs:cf_mod
85 struct cf_mod { struct
99 struct cf_mod *mod); argument
133 struct cf_mod __rcu *cf_mod; argument
154 struct cf_mod *mod) { op ; }
173 static void mod_and_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_fddata()
181 static void mod_or_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_or_fddata()
189 static void mod_xor_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_xor_fddata()
197 static void mod_set_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_set_fddata()
237 static void mod_and_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_ccdlc()
244 static void mod_or_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_or_ccdlc()
251 static void mod_xor_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_xor_ccdlc()
258 static void mod_set_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_set_ccdlc()
462 struct cf_mod *mod; in can_can_gw_rcv()
510 mod = rcu_dereference(gwj->cf_mod); in can_can_gw_rcv()
590 kfree(rcu_access_pointer(gwj->cf_mod)); in cgw_job_free_rcu()
595 static struct cf_mod *cgw_job_cf_mod(struct cgw_job *gwj) in cgw_job_cf_mod()
597 return rcu_dereference_protected(gwj->cf_mod, rtnl_is_locked()); in cgw_job_cf_mod()
632 struct cf_mod *mod; in cgw_put_job()
815 static int cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod, in cgw_parse_attr()
1077 struct cf_mod *mod; in cgw_create_job()
1109 struct cf_mod *old_cf; in cgw_create_job()
1121 rcu_assign_pointer(gwj->cf_mod, mod); in cgw_create_job()
1147 RCU_INIT_POINTER(gwj->cf_mod, mod); in cgw_create_job()
1210 struct cf_mod mod; in cgw_remove_job()
1245 struct cf_mod *cf_mod; in cgw_remove_job() local
1253 cf_mod = cgw_job_cf_mod(gwj); in cgw_remove_job()
1255 if (cf_mod->uid || mod.uid) { in cgw_remove_job()
1256 if (cf_mod->uid != mod.uid) in cgw_remove_job()
1260 if (memcmp(cf_mod, &mod, sizeof(mod))) in cgw_remove_job()