| /illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
| H A D | tavor_cmd.c | 766 tavor_cmdlist_t *cmd_list; in tavor_outstanding_cmd_alloc() local 769 cmd_list = &state->ts_cmd_list; in tavor_outstanding_cmd_alloc() 770 mutex_enter(&cmd_list->cml_lock); in tavor_outstanding_cmd_alloc() 773 ASSERT(cmd_list->cml_num_alloc != 0); in tavor_outstanding_cmd_alloc() 780 while (cmd_list->cml_entries_free == 0) { in tavor_outstanding_cmd_alloc() 783 mutex_exit(&cmd_list->cml_lock); in tavor_outstanding_cmd_alloc() 797 cmd_list->cml_waiters++; in tavor_outstanding_cmd_alloc() 799 cv_wait(&cmd_list->cml_cv, &cmd_list->cml_lock); in tavor_outstanding_cmd_alloc() 804 head = cmd_list->cml_head_indx; in tavor_outstanding_cmd_alloc() 805 *cmd_ptr = &cmd_list->cml_cmd[head]; in tavor_outstanding_cmd_alloc() [all …]
|
| /illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/ |
| H A D | syseventconfd.c | 80 static struct cmd *cmd_list; variable 195 cmd_list = NULL; in main() 216 while (cmd_list == NULL) in main() 219 cmd = cmd_list; in main() 220 cmd_list = cmd->cmd_next; in main() 221 if (cmd_list == NULL) in main() 254 if (cmd_list == NULL) { in event_handler() 255 cmd_list = cmd; in event_handler()
|
| /illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
| H A D | hermon_cmd.c | 859 hermon_cmdlist_t *cmd_list; in hermon_outstanding_cmd_alloc() local 862 cmd_list = &state->hs_cmd_list; in hermon_outstanding_cmd_alloc() 863 mutex_enter(&cmd_list->cml_lock); in hermon_outstanding_cmd_alloc() 866 ASSERT(cmd_list->cml_num_alloc != 0); in hermon_outstanding_cmd_alloc() 873 while (cmd_list->cml_entries_free == 0) { in hermon_outstanding_cmd_alloc() 876 mutex_exit(&cmd_list->cml_lock); in hermon_outstanding_cmd_alloc() 890 cmd_list->cml_waiters++; in hermon_outstanding_cmd_alloc() 892 cv_wait(&cmd_list->cml_cv, &cmd_list->cml_lock); in hermon_outstanding_cmd_alloc() 897 head = cmd_list->cml_head_indx; in hermon_outstanding_cmd_alloc() 898 *cmd_ptr = &cmd_list->cml_cmd[head]; in hermon_outstanding_cmd_alloc() [all …]
|
| /illumos-gate/usr/src/cmd/mdb/common/mdb/ |
| H A D | mdb_print.h | 47 extern int cmd_list(uintptr_t, uint_t, int, const mdb_arg_t *);
|
| H A D | mdb_print.c | 700 cmd_list(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in cmd_list() function
|
| H A D | mdb_cmds.c | 3378 "walk list using member as link pointer", cmd_list, NULL,
|
| /illumos-gate/usr/src/cmd/fm/fminject/common/ |
| H A D | inj.h | 207 inj_list_t cmd_list; /* List of commands */ member
|
| /illumos-gate/usr/src/uts/common/io/mega_sas/ |
| H A D | megaraid_sas.c | 1724 cmd = instance->cmd_list[context]; in megasas_isr() 1819 cmd = instance->cmd_list[i]; in destroy_mfi_frame_pool() 1856 cmd = instance->cmd_list[i]; in create_mfi_frame_pool() 1999 if (instance->cmd_list == NULL) { in free_space_for_mfi() 2010 kmem_free(instance->cmd_list[i], in free_space_for_mfi() 2013 instance->cmd_list[i] = NULL; in free_space_for_mfi() 2017 kmem_free(instance->cmd_list, in free_space_for_mfi() 2020 instance->cmd_list = NULL; in free_space_for_mfi() 2045 instance->cmd_list = kmem_zalloc(sz, KM_SLEEP); in alloc_space_for_mfi() 2046 ASSERT(instance->cmd_list); in alloc_space_for_mfi() [all …]
|
| H A D | megaraid_sas.h | 1154 struct megasas_cmd **cmd_list; member
|
| /illumos-gate/usr/src/cmd/hotplug/ |
| H A D | hotplug.c | 45 static int cmd_list(int, char **, const char *); 103 { "list [-l] [-v] [<path> [<connection>]]", "list", cmd_list }, 243 cmd_list(int argc, char *argv[], const char *usage_str) in cmd_list() function
|
| /illumos-gate/usr/src/uts/common/io/mr_sas/ |
| H A D | mr_sas_tbolt.c | 89 cmd = instance->cmd_list[i]; in destroy_mfi_mpi_frame_pool() 243 cmd = instance->cmd_list[i]; in create_mpi2_frame_pool() 581 instance->cmd_list = kmem_zalloc(sz, KM_SLEEP); in mrsas_alloc_cmd_pool_tbolt() 585 instance->cmd_list[count] = in mrsas_alloc_cmd_pool_tbolt() 599 cmd = instance->cmd_list[i]; in mrsas_alloc_cmd_pool_tbolt() 606 cmd = instance->cmd_list[i]; in mrsas_alloc_cmd_pool_tbolt() 622 if (instance->cmd_list == NULL) { in free_space_for_mpi2() 939 cmd = instance->cmd_list[0]; in mrsas_tbolt_ioc_init() 2656 cmd = instance->cmd_list[smid - 1]; in mr_sas_tbolt_process_outstanding_cmd()
|
| H A D | mr_sas.c | 2376 cmd = instance->cmd_list[context]; in mrsas_isr() 2874 cmd = instance->cmd_list[i]; in destroy_mfi_frame_pool() 2909 cmd = instance->cmd_list[i]; in create_mfi_frame_pool() 3070 if (instance->cmd_list == NULL) { in mrsas_free_cmd_pool() 3081 if (instance->cmd_list[i] != NULL) { in mrsas_free_cmd_pool() 3082 kmem_free(instance->cmd_list[i], in mrsas_free_cmd_pool() 3086 instance->cmd_list[i] = NULL; in mrsas_free_cmd_pool() 3090 if (instance->cmd_list != NULL) in mrsas_free_cmd_pool() 3091 kmem_free(instance->cmd_list, sz); in mrsas_free_cmd_pool() 3093 instance->cmd_list = NULL; in mrsas_free_cmd_pool() [all …]
|
| H A D | mr_sas.h | 487 struct mrsas_cmd **cmd_list; member
|