Home
last modified time | relevance | path

Searched refs:fibctx (Results 1 – 5 of 5) sorted by relevance

/drivers/scsi/aacraid/
Dcommctrl.c180 struct aac_fib_context * fibctx; in open_getadapter_fib() local
183 fibctx = kmalloc(sizeof(struct aac_fib_context), GFP_KERNEL); in open_getadapter_fib()
184 if (fibctx == NULL) { in open_getadapter_fib()
191 fibctx->type = FSAFS_NTC_GET_ADAPTER_FIB_CONTEXT; in open_getadapter_fib()
192 fibctx->size = sizeof(struct aac_fib_context); in open_getadapter_fib()
199 fibctx->unique = (u32)((ulong)fibctx & 0xFFFFFFFF); in open_getadapter_fib()
203 sema_init(&fibctx->wait_sem, 0); in open_getadapter_fib()
204 fibctx->wait = 0; in open_getadapter_fib()
209 fibctx->count = 0; in open_getadapter_fib()
210 INIT_LIST_HEAD(&fibctx->fib_list); in open_getadapter_fib()
[all …]
Ddpcsup.c188 struct fib fibctx; in aac_command_normal() local
191 struct fib *fib = &fibctx; in aac_command_normal()
203 fib = &fibctx; in aac_command_normal()
214 if (dev->aif_thread && fib != &fibctx) { in aac_command_normal()
245 struct fib *fibctx; in aac_aif_callback() local
250 fibctx = (struct fib *)context; in aac_aif_callback()
263 aac_fib_init(fibctx); in aac_aif_callback()
264 cmd = (struct aac_aifcmd *) fib_data(fibctx); in aac_aif_callback()
268 fibctx, in aac_aif_callback()
272 (fib_callback)aac_aif_callback, fibctx); in aac_aif_callback()
[all …]
Dcommsup.c1555 struct fib * fibctx = aac_fib_alloc(aac); in aac_reset_adapter() local
1556 if (fibctx) { in aac_reset_adapter()
1560 aac_fib_init(fibctx); in aac_reset_adapter()
1562 cmd = (struct aac_pause *) fib_data(fibctx); in aac_reset_adapter()
1572 fibctx, in aac_reset_adapter()
1579 aac_fib_complete(fibctx); in aac_reset_adapter()
1583 aac_fib_free(fibctx); in aac_reset_adapter()
1630 struct aac_fib_context *fibctx = list_entry(entry, struct aac_fib_context, next); in aac_check_health() local
1637 if (fibctx->count > 20) { in aac_check_health()
1643 u32 time_last = fibctx->jiffies; in aac_check_health()
[all …]
Dcomminit.c225 struct fib * fibctx; in aac_send_shutdown() local
229 fibctx = aac_fib_alloc(dev); in aac_send_shutdown()
230 if (!fibctx) in aac_send_shutdown()
232 aac_fib_init(fibctx); in aac_send_shutdown()
238 cmd = (struct aac_close *) fib_data(fibctx); in aac_send_shutdown()
243 fibctx, in aac_send_shutdown()
250 aac_fib_complete(fibctx); in aac_send_shutdown()
253 aac_fib_free(fibctx); in aac_send_shutdown()
Daacraid.h868 typedef void (*fib_callback)(void *ctxt, struct fib *fibctx);
1899 u32 fibctx; member
2148 #define fib_data(fibctx) ((void *)(fibctx)->hw_fib_va->data) argument
2176 int aac_close_fib_context(struct aac_dev * dev, struct aac_fib_context *fibctx);