Searched refs:fibctx (Results 1 – 5 of 5) sorted by relevance
133 struct aac_fib_context * fibctx; in open_getadapter_fib() local137 fibctx = kmalloc(sizeof(struct aac_fib_context), GFP_KERNEL); in open_getadapter_fib()138 if (fibctx == NULL) { in open_getadapter_fib()141 fibctx->type = FSAFS_NTC_GET_ADAPTER_FIB_CONTEXT; in open_getadapter_fib()142 fibctx->size = sizeof(struct aac_fib_context); in open_getadapter_fib()146 init_MUTEX_LOCKED(&fibctx->wait_sem); in open_getadapter_fib()147 fibctx->wait = 0; in open_getadapter_fib()152 fibctx->count = 0; in open_getadapter_fib()153 INIT_LIST_HEAD(&fibctx->fib_list); in open_getadapter_fib()154 fibctx->jiffies = jiffies/HZ; in open_getadapter_fib()[all …]
153 struct fib * fibctx; in aac_send_shutdown() local157 fibctx = fib_alloc(dev); in aac_send_shutdown()158 fib_init(fibctx); in aac_send_shutdown()160 cmd = (struct aac_close *) fib_data(fibctx); in aac_send_shutdown()166 fibctx, in aac_send_shutdown()173 fib_complete(fibctx); in aac_send_shutdown()174 fib_free(fibctx); in aac_send_shutdown()
180 struct fib fibctx; in aac_command_normal() local183 struct fib *fib = &fibctx; in aac_command_normal()195 fib = &fibctx; in aac_command_normal()205 if (dev->aif_thread && fib != &fibctx) in aac_command_normal()
920 struct aac_fib_context *fibctx; in aac_command_thread() local1005 fibctx = list_entry(entry, struct aac_fib_context, next); in aac_command_thread()1010 if (fibctx->count > 20) in aac_command_thread()1017 time_last = fibctx->jiffies; in aac_command_thread()1025 aac_close_fib_context(dev, fibctx); in aac_command_thread()1047 list_add_tail(&newfib->fiblink, &fibctx->fib_list); in aac_command_thread()1048 fibctx->count++; in aac_command_thread()1053 up(&fibctx->wait_sem); in aac_command_thread()
630 typedef void (*fib_callback)(void *ctxt, struct fib *fibctx);1239 char *fibctx; member1421 #define fib_data(fibctx) ((void *)(fibctx)->hw_fib->data) argument1433 int aac_close_fib_context(struct aac_dev * dev, struct aac_fib_context *fibctx);