• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/aacraid/

Lines Matching refs:fib

229 		struct fib *fibptr) {
258 struct fib * fibptr;
352 struct fib * fibptr;
409 static void get_container_name_callback(void *context, struct fib * fibptr)
459 struct fib * cmd_fibcontext;
509 static void _aac_probe_container2(void * context, struct fib * fibptr)
552 static void _aac_probe_container1(void * context, struct fib * fibptr)
600 struct fib * fibptr;
810 static void get_container_serial_callback(void *context, struct fib * fibptr)
848 struct fib * cmd_fibcontext;
956 static void io_callback(void *context, struct fib * fibptr);
958 static int aac_read_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count)
962 aac_fib_init(fib);
963 readcmd = (struct aac_raw_io *) fib_data(fib);
974 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr)));
979 fib,
987 static int aac_read_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count)
991 aac_fib_init(fib);
992 readcmd = (struct aac_read64 *) fib_data(fib);
1004 BUG_ON (fibsize > (fib->dev->max_fib_size -
1010 fib,
1018 static int aac_read_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count)
1022 aac_fib_init(fib);
1023 readcmd = (struct aac_read *) fib_data(fib);
1033 BUG_ON (fibsize > (fib->dev->max_fib_size -
1039 fib,
1047 static int aac_write_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua)
1051 aac_fib_init(fib);
1052 writecmd = (struct aac_raw_io *) fib_data(fib);
1058 (((aac_cache & 5) != 5) || !fib->dev->cache_protected)) ?
1066 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr)));
1071 fib,
1079 static int aac_write_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua)
1083 aac_fib_init(fib);
1084 writecmd = (struct aac_write64 *) fib_data(fib);
1096 BUG_ON (fibsize > (fib->dev->max_fib_size -
1102 fib,
1110 static int aac_write_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua)
1114 aac_fib_init(fib);
1115 writecmd = (struct aac_write *) fib_data(fib);
1127 BUG_ON (fibsize > (fib->dev->max_fib_size -
1133 fib,
1141 static struct aac_srb * aac_scsi_common(struct fib * fib, struct scsi_cmnd * cmd)
1147 aac_fib_init(fib);
1164 srbcmd = (struct aac_srb*) fib_data(fib);
1179 static void aac_srb_callback(void *context, struct fib * fibptr);
1181 static int aac_scsi_64(struct fib * fib, struct scsi_cmnd * cmd)
1184 struct aac_srb * srbcmd = aac_scsi_common(fib, cmd);
1197 BUG_ON (fibsize > (fib->dev->max_fib_size -
1203 return aac_fib_send(ScsiPortCommand64, fib,
1209 static int aac_scsi_32(struct fib * fib, struct scsi_cmnd * cmd)
1212 struct aac_srb * srbcmd = aac_scsi_common(fib, cmd);
1225 BUG_ON (fibsize > (fib->dev->max_fib_size -
1231 return aac_fib_send(ScsiPortCommand, fib, fibsize, FsaNormal, 0, 1,
1235 static int aac_scsi_32_64(struct fib * fib, struct scsi_cmnd * cmd)
1237 if ((sizeof(dma_addr_t) > 4) && fib->dev->needs_dac &&
1238 (fib->dev->adapter_info.options & AAC_OPT_SGMAP_HOST64))
1240 return aac_scsi_32(fib, cmd);
1245 struct fib* fibptr;
1513 static void io_callback(void *context, struct fib * fibptr)
1610 struct fib * cmd_fibcontext;
1685 printk(KERN_WARNING "aac_read: fib allocation failed\n");
1717 struct fib * cmd_fibcontext;
1788 printk(KERN_WARNING "aac_write: fib allocation failed\n");
1814 static void synchronize_callback(void *context, struct fib *fibptr)
1858 struct fib *cmd_fibcontext;
1977 static void aac_start_stop_callback(void *context, struct fib *fibptr)
1996 struct fib *cmd_fibcontext;
2586 * @context: the context set in the fib - here it is scsi cmd
2587 * @fibptr: pointer to the fib
2593 static void aac_srb_callback(void *context, struct fib * fibptr)
2626 * First check the fib status
2779 struct fib* cmd_fibcontext;