Lines Matching refs:opt
110 kfree(fl->opt); in fl_free_rcu()
120 if (fl_shared_exclusive(fl) || fl->opt) in fl_free()
136 if (fl->opt && fl->share == IPV6_FL_S_EXCL) { in fl_release()
137 struct ipv6_txoptions *opt = fl->opt; in fl_release() local
138 fl->opt = NULL; in fl_release()
139 kfree(opt); in fl_release()
319 struct ipv6_txoptions *fl_opt = fl->opt; in fl6_merge_options()
400 fl->opt = kmalloc(sizeof(*fl->opt) + olen, GFP_KERNEL); in fl_create()
401 if (!fl->opt) in fl_create()
404 memset(fl->opt, 0, sizeof(*fl->opt)); in fl_create()
405 fl->opt->tot_len = sizeof(*fl->opt) + olen; in fl_create()
407 if (copy_from_sockptr_offset(fl->opt + 1, optval, in fl_create()
412 msg.msg_control = (void *)(fl->opt+1); in fl_create()
415 ipc6.opt = fl->opt; in fl_create()
420 if (fl->opt->opt_flen) in fl_create()
422 if (fl->opt->opt_nflen == 0) { in fl_create()
423 kfree(fl->opt); in fl_create()
424 fl->opt = NULL; in fl_create()
456 if (fl_shared_exclusive(fl) || fl->opt) { in fl_create()
464 kfree(fl->opt); in fl_create()
857 fl->opt ? fl->opt->opt_nflen : 0); in ip6fl_seq_show()