Lines Matching refs:opt1
127 struct ceph_options *opt1 = new_opt; in ceph_compare_options() local
140 ret = memcmp(opt1, opt2, ofs); in ceph_compare_options()
144 ret = strcmp_null(opt1->name, opt2->name); in ceph_compare_options()
148 if (opt1->key && !opt2->key) in ceph_compare_options()
150 if (!opt1->key && opt2->key) in ceph_compare_options()
152 if (opt1->key && opt2->key) { in ceph_compare_options()
153 if (opt1->key->type != opt2->key->type) in ceph_compare_options()
155 if (opt1->key->created.tv_sec != opt2->key->created.tv_sec) in ceph_compare_options()
157 if (opt1->key->created.tv_nsec != opt2->key->created.tv_nsec) in ceph_compare_options()
159 if (opt1->key->len != opt2->key->len) in ceph_compare_options()
161 if (opt1->key->key && !opt2->key->key) in ceph_compare_options()
163 if (!opt1->key->key && opt2->key->key) in ceph_compare_options()
165 if (opt1->key->key && opt2->key->key) { in ceph_compare_options()
166 ret = memcmp(opt1->key->key, opt2->key->key, opt1->key->len); in ceph_compare_options()
173 for (i = 0; i < opt1->num_mon; i++) { in ceph_compare_options()
175 &opt1->mon_addr[i])) in ceph_compare_options()