Lines Matching full:generation

130 	 * The generation is updated once we've logged in or reconnected
135 int generation; member
368 * iPod 2nd generation: needs 128k max transfer size workaround
369 * iPod 3rd generation: needs fix capacity workaround
377 /* iPod 4th generation */ {
408 int generation, unsigned long long offset, in sbp2_status_write() argument
491 int node_id, int generation, u64 offset) in sbp2_send_orb() argument
509 node_id, generation, device->max_speed, offset, in sbp2_send_orb()
550 int generation, int function, in sbp2_send_management_orb() argument
606 sbp2_send_orb(&orb->base, lu, node_id, generation, in sbp2_send_management_orb()
653 lu->tgt->node_id, lu->generation, device->max_speed, in sbp2_agent_reset()
675 lu->tgt->node_id, lu->generation, device->max_speed, in sbp2_agent_reset_no_wait()
691 * - lu->generation is stale.
707 lu->generation != card->generation) { in sbp2_conditionally_block()
730 if (lu->blocked && lu->generation == card->generation) { in sbp2_conditionally_unblock()
791 lu->tgt->node_id, lu->generation, device->max_speed, in sbp2_set_busy_timeout()
806 int generation, node_id, local_node_id; in sbp2_login() local
811 generation = device->generation; in sbp2_login()
812 smp_rmb(); /* node IDs must not be older than generation */ in sbp2_login()
818 sbp2_send_management_orb(lu, device->node_id, generation, in sbp2_login()
821 if (sbp2_send_management_orb(lu, node_id, generation, in sbp2_login()
836 smp_wmb(); /* node IDs must not be older than generation */ in sbp2_login()
837 lu->generation = generation; in sbp2_login()
879 smp_rmb(); /* get current card generation */ in sbp2_login()
880 if (generation != device->card->generation) { in sbp2_login()
894 smp_rmb(); /* generation may have changed */ in sbp2_login()
895 generation = device->generation; in sbp2_login()
896 smp_rmb(); /* node_id must not be older than generation */ in sbp2_login()
898 sbp2_send_management_orb(lu, device->node_id, generation, in sbp2_login()
913 int generation, node_id, local_node_id; in sbp2_reconnect() local
918 generation = device->generation; in sbp2_reconnect()
919 smp_rmb(); /* node IDs must not be older than generation */ in sbp2_reconnect()
923 if (sbp2_send_management_orb(lu, node_id, generation, in sbp2_reconnect()
928 * current generation, fall back and try to log in again. in sbp2_reconnect()
931 * looking at the bus generation as simpler and more general. in sbp2_reconnect()
933 smp_rmb(); /* get current card generation */ in sbp2_reconnect()
934 if (generation == device->card->generation || in sbp2_reconnect()
947 smp_wmb(); /* node IDs must not be older than generation */ in sbp2_reconnect()
948 lu->generation = generation; in sbp2_reconnect()
1232 int generation, node_id; in sbp2_remove() local
1238 generation = device->generation; in sbp2_remove()
1239 smp_rmb(); /* node_id vs. generation */ in sbp2_remove()
1241 sbp2_send_management_orb(lu, node_id, generation, in sbp2_remove()
1397 * as the second generation iPod which doesn't support page in sbp2_map_scatterlist()
1449 int generation, retval = SCSI_MLQUEUE_HOST_BUSY; in sbp2_scsi_queuecommand() local
1468 generation = device->generation; in sbp2_scsi_queuecommand()
1485 sbp2_send_orb(&orb->base, lu, lu->tgt->node_id, generation, in sbp2_scsi_queuecommand()