Lines Matching refs:ata
122 aoecmdlen = sizeof ( aoecmd->ata ); in aoe_send_command()
155 aoeata = &aoecmd->ata; in aoe_send_command()
356 static int aoe_command ( struct ata_device *ata, in aoe_command() argument
359 container_of ( ata->backend, struct aoe_session, refcnt ); in aoe_command()
394 static int aoe_detached_command ( struct ata_device *ata __unused, in aoe_detached_command()
399 void aoe_detach ( struct ata_device *ata ) { in aoe_detach() argument
401 container_of ( ata->backend, struct aoe_session, refcnt ); in aoe_detach()
404 ata->command = aoe_detached_command; in aoe_detach()
406 ref_put ( ata->backend ); in aoe_detach()
407 ata->backend = NULL; in aoe_detach()
432 int aoe_attach ( struct ata_device *ata, struct net_device *netdev, in aoe_attach() argument
454 ata->backend = ref_get ( &aoe->refcnt ); in aoe_attach()
455 ata->command = aoe_command; in aoe_attach()