Lines Matching refs:con_modes
354 opt->con_modes[0] = CEPH_CON_MODE_UNKNOWN; in ceph_alloc_options()
355 opt->con_modes[1] = CEPH_CON_MODE_UNKNOWN; in ceph_alloc_options()
529 opt->con_modes[0] = CEPH_CON_MODE_UNKNOWN; in ceph_parse_param()
530 opt->con_modes[1] = CEPH_CON_MODE_UNKNOWN; in ceph_parse_param()
533 opt->con_modes[0] = CEPH_CON_MODE_CRC; in ceph_parse_param()
534 opt->con_modes[1] = CEPH_CON_MODE_UNKNOWN; in ceph_parse_param()
537 opt->con_modes[0] = CEPH_CON_MODE_SECURE; in ceph_parse_param()
538 opt->con_modes[1] = CEPH_CON_MODE_UNKNOWN; in ceph_parse_param()
541 opt->con_modes[0] = CEPH_CON_MODE_CRC; in ceph_parse_param()
542 opt->con_modes[1] = CEPH_CON_MODE_SECURE; in ceph_parse_param()
545 opt->con_modes[0] = CEPH_CON_MODE_SECURE; in ceph_parse_param()
546 opt->con_modes[1] = CEPH_CON_MODE_CRC; in ceph_parse_param()
662 if (opt->con_modes[0] != CEPH_CON_MODE_UNKNOWN) { in ceph_print_client_options()
663 if (opt->con_modes[0] == CEPH_CON_MODE_CRC && in ceph_print_client_options()
664 opt->con_modes[1] == CEPH_CON_MODE_UNKNOWN) { in ceph_print_client_options()
666 } else if (opt->con_modes[0] == CEPH_CON_MODE_SECURE && in ceph_print_client_options()
667 opt->con_modes[1] == CEPH_CON_MODE_UNKNOWN) { in ceph_print_client_options()
669 } else if (opt->con_modes[0] == CEPH_CON_MODE_CRC && in ceph_print_client_options()
670 opt->con_modes[1] == CEPH_CON_MODE_SECURE) { in ceph_print_client_options()
672 } else if (opt->con_modes[0] == CEPH_CON_MODE_SECURE && in ceph_print_client_options()
673 opt->con_modes[1] == CEPH_CON_MODE_CRC) { in ceph_print_client_options()