Searched refs:opt2 (Results 1 - 2 of 2) sorted by relevance

/net/ipv6/
H A Dexthdrs.c722 struct ipv6_txoptions *opt2; local
724 opt2 = sock_kmalloc(sk, opt->tot_len, GFP_ATOMIC);
725 if (opt2) {
726 long dif = (char *)opt2 - (char *)opt;
727 memcpy(opt2, opt, opt->tot_len);
728 if (opt2->hopopt)
729 *((char **)&opt2->hopopt) += dif;
730 if (opt2->dst0opt)
731 *((char **)&opt2->dst0opt) += dif;
732 if (opt2
773 struct ipv6_txoptions *opt2; local
[all...]
/net/ceph/
H A Dceph_common.c126 struct ceph_options *opt2 = client->options; local
131 ret = memcmp(opt1, opt2, ofs);
135 ret = strcmp_null(opt1->name, opt2->name);
139 if (opt1->key && !opt2->key)
141 if (!opt1->key && opt2->key)
143 if (opt1->key && opt2->key) {
144 if (opt1->key->type != opt2->key->type)
146 if (opt1->key->created.tv_sec != opt2->key->created.tv_sec)
148 if (opt1->key->created.tv_nsec != opt2->key->created.tv_nsec)
150 if (opt1->key->len != opt2
[all...]

Completed in 35 milliseconds