Lines Matching refs:cf_mod

86 struct cf_mod {  struct
100 struct cf_mod *mod); argument
134 struct cf_mod __rcu *cf_mod; argument
155 struct cf_mod *mod) { op ; }
174 static void mod_and_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_fddata()
182 static void mod_or_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_or_fddata()
190 static void mod_xor_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_xor_fddata()
198 static void mod_set_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_set_fddata()
238 static void mod_and_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_ccdlc()
245 static void mod_or_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_or_ccdlc()
252 static void mod_xor_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_xor_ccdlc()
259 static void mod_set_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_set_ccdlc()
464 struct cf_mod *mod; in can_can_gw_rcv()
505 mod = rcu_dereference(gwj->cf_mod); in can_can_gw_rcv()
596 kfree(rcu_access_pointer(gwj->cf_mod)); in cgw_job_free_rcu()
601 static struct cf_mod *cgw_job_cf_mod(struct cgw_job *gwj) in cgw_job_cf_mod()
603 return rcu_dereference_protected(gwj->cf_mod, rtnl_is_locked()); in cgw_job_cf_mod()
638 struct cf_mod *mod; in cgw_put_job()
821 static int cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod, in cgw_parse_attr()
1083 struct cf_mod *mod; in cgw_create_job()
1115 struct cf_mod *old_cf; in cgw_create_job()
1127 rcu_assign_pointer(gwj->cf_mod, mod); in cgw_create_job()
1153 RCU_INIT_POINTER(gwj->cf_mod, mod); in cgw_create_job()
1216 struct cf_mod mod; in cgw_remove_job()
1251 struct cf_mod *cf_mod; in cgw_remove_job() local
1259 cf_mod = cgw_job_cf_mod(gwj); in cgw_remove_job()
1261 if (cf_mod->uid || mod.uid) { in cgw_remove_job()
1262 if (cf_mod->uid != mod.uid) in cgw_remove_job()
1266 if (memcmp(cf_mod, &mod, sizeof(mod))) in cgw_remove_job()