Lines Matching refs:path_struct
398 l_dev_bypass_enable(struct path_struct *path_struct, int bypass_flag,
417 if (path_struct == NULL) {
425 (void) strcpy(temppath, path_struct->p_physical_path);
426 if ((strstr(path_struct->p_physical_path, SCSI_VHCI) != NULL) &&
435 path_struct->argv) != NULL) {
450 path_struct->argv) != NULL) {
471 * The path_struct will return a valid slot
475 if (!path_struct->ib_path_flag) {
480 if (err = l_get_ses_path(path_struct->p_physical_path,
487 (void) strcpy(ses_path, path_struct->p_physical_path);
489 if (!path_struct->slot_valid) {
496 if ((err = l_get_ses_path(path_struct->p_physical_path,
509 if ((err = l_get_slot(path_struct, l_state, verbose)) != 0) {
552 if ((!(force_flag | path_struct->ib_path_flag)) &&
554 i = path_struct->slot;
555 f_flag = path_struct->f_flag;
651 if (path_struct->f_flag) {
652 offset = (8 + (front_index + path_struct->slot)*4);
654 offset = (8 + (rear_index + path_struct->slot)*4);
684 path_struct->slot,
685 path_struct->f_flag ? "front" : "rear");