Lines Matching defs:mode
80 int *mode, int *ownership, int *xlf_capable);
88 int xlf = 0, mode = 0, ownership = 0;
98 purple_get_fo_mode(sd, &mode, &ownership, &xlf);
99 if (mode == SCSI_EXPLICIT_FAILOVER)
118 purple_get_fo_mode(struct scsi_device *sd, int *mode,
127 *mode = *ownership = *xlf_capable = 0;
154 VHCI_DEBUG(4, (CE_NOTE, NULL, "!(sd:%p)failed to get mode"
166 " implicit mode\n", (void *)sd));
167 *mode = SCSI_IMPLICIT_FAILOVER;
172 *mode = ptr[0];
227 int mode, ownership, retval, xlf;
232 mode = ownership = 0;
234 purple_get_fo_mode(sd, &mode, &ownership, &xlf);
241 if (mode != SCSI_IMPLICIT_FAILOVER) {
243 "!mode is EXPLICIT for 0x%p xlf %x\n",
253 VHCI_DEBUG(4, (CE_NOTE, NULL, "!mode is IMPLICIT for 0x%p\n",
442 int retval, mode, ownership, xlf;
485 purple_get_fo_mode(sd, &mode, &ownership, &xlf);
494 opinfo->opinfo_mode = (uint16_t)mode;