Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/aacraid/
Dcommctrl.c169 struct aac_fib_context * fibctx; in open_getadapter_fib() local
172 fibctx = kmalloc(sizeof(struct aac_fib_context), GFP_KERNEL); in open_getadapter_fib()
173 if (fibctx == NULL) { in open_getadapter_fib()
180 fibctx->type = FSAFS_NTC_GET_ADAPTER_FIB_CONTEXT; in open_getadapter_fib()
181 fibctx->size = sizeof(struct aac_fib_context); in open_getadapter_fib()
188 fibctx->unique = (u32)((ulong)fibctx & 0xFFFFFFFF); in open_getadapter_fib()
192 init_completion(&fibctx->completion); in open_getadapter_fib()
193 fibctx->wait = 0; in open_getadapter_fib()
198 fibctx->count = 0; in open_getadapter_fib()
199 INIT_LIST_HEAD(&fibctx->fib_list); in open_getadapter_fib()
[all …]
Ddpcsup.c173 struct fib fibctx; in aac_command_normal() local
176 struct fib *fib = &fibctx; in aac_command_normal()
188 fib = &fibctx; in aac_command_normal()
199 if (dev->aif_thread && fib != &fibctx) { in aac_command_normal()
230 struct fib *fibctx; in aac_aif_callback() local
234 fibctx = (struct fib *)context; in aac_aif_callback()
248 aac_fib_init(fibctx); in aac_aif_callback()
249 cmd = (struct aac_aifcmd *) fib_data(fibctx); in aac_aif_callback()
253 fibctx, in aac_aif_callback()
257 (fib_callback)aac_aif_callback, fibctx); in aac_aif_callback()
[all …]
Dcomminit.c315 struct fib * fibctx; in aac_send_shutdown() local
330 fibctx = aac_fib_alloc(dev); in aac_send_shutdown()
331 if (!fibctx) in aac_send_shutdown()
333 aac_fib_init(fibctx); in aac_send_shutdown()
335 cmd = (struct aac_close *) fib_data(fibctx); in aac_send_shutdown()
340 fibctx, in aac_send_shutdown()
347 aac_fib_complete(fibctx); in aac_send_shutdown()
350 aac_fib_free(fibctx); in aac_send_shutdown()
Dcommsup.c1666 struct fib * fibctx = aac_fib_alloc(aac); in aac_reset_adapter() local
1667 if (fibctx) { in aac_reset_adapter()
1671 aac_fib_init(fibctx); in aac_reset_adapter()
1673 cmd = (struct aac_pause *) fib_data(fibctx); in aac_reset_adapter()
1683 fibctx, in aac_reset_adapter()
1690 aac_fib_complete(fibctx); in aac_reset_adapter()
1694 aac_fib_free(fibctx); in aac_reset_adapter()
1740 struct aac_fib_context *fibctx = list_entry(entry, struct aac_fib_context, next); in aac_check_health() local
1747 if (fibctx->count > 20) { in aac_check_health()
1753 u32 time_last = fibctx->jiffies; in aac_check_health()
[all …]
Daacraid.h1221 typedef void (*fib_callback)(void *ctxt, struct fib *fibctx);
2332 u32 fibctx; member
2712 #define fib_data(fibctx) ((void *)(fibctx)->hw_fib_va->data) argument
2741 int aac_close_fib_context(struct aac_dev * dev, struct aac_fib_context *fibctx);