/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_rsrc.c | 427 char *errormsg, *rsrc_name; in tavor_rsrc_init_phase1() local 437 rsrc_name = (char *)kmem_zalloc(TAVOR_RSRC_NAME_MAXLEN, KM_SLEEP); in tavor_rsrc_init_phase1() 438 TAVOR_RSRC_NAME(rsrc_name, TAVOR_RSRC_CACHE); in tavor_rsrc_init_phase1() 444 state->ts_rsrc_cache = kmem_cache_create(rsrc_name, in tavor_rsrc_init_phase1() 473 TAVOR_RSRC_NAME(rsrc_name, TAVOR_DDR_OUTMBOX_VMEM); in tavor_rsrc_init_phase1() 477 mbox_info.mbi_rsrcname = rsrc_name; in tavor_rsrc_init_phase1() 520 TAVOR_RSRC_NAME(rsrc_name, TAVOR_DDR_INTR_OUTMBOX_VMEM); in tavor_rsrc_init_phase1() 524 mbox_info.mbi_rsrcname = rsrc_name; in tavor_rsrc_init_phase1() 550 kmem_free(rsrc_name, TAVOR_RSRC_NAME_MAXLEN); in tavor_rsrc_init_phase1() 555 kmem_free(rsrc_name, TAVOR_RSRC_NAME_MAXLEN); in tavor_rsrc_init_phase1() [all …]
|
H A D | tavor_agents.c | 66 char *errormsg, *rsrc_name; in tavor_agent_handlers_init() local 81 rsrc_name = (char *)kmem_zalloc(TAVOR_RSRC_NAME_MAXLEN, KM_SLEEP); in tavor_agent_handlers_init() 82 TAVOR_RSRC_NAME(rsrc_name, TAVOR_TASKQ_NAME); in tavor_agent_handlers_init() 99 rsrc_name, TAVOR_TASKQ_NTHREADS, TASKQ_DEFAULTPRI, 0); in tavor_agent_handlers_init() 117 kmem_free(rsrc_name, TAVOR_RSRC_NAME_MAXLEN); in tavor_agent_handlers_init() 122 kmem_free(rsrc_name, TAVOR_RSRC_NAME_MAXLEN); in tavor_agent_handlers_init()
|
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_rsrc.c | 642 char *rsrc_name; in hermon_rsrc_init_phase1() local 650 rsrc_name = kmem_zalloc(HERMON_RSRC_NAME_MAXLEN, KM_SLEEP); in hermon_rsrc_init_phase1() 651 HERMON_RSRC_NAME(rsrc_name, HERMON_RSRC_CACHE); in hermon_rsrc_init_phase1() 657 state->hs_rsrc_cache = kmem_cache_create(rsrc_name, in hermon_rsrc_init_phase1() 789 kmem_free(rsrc_name, HERMON_RSRC_NAME_MAXLEN); in hermon_rsrc_init_phase1() 793 kmem_free(rsrc_name, HERMON_RSRC_NAME_MAXLEN); in hermon_rsrc_init_phase1() 814 char *rsrc_name; in hermon_rsrc_init_phase2() local 824 rsrc_name = kmem_zalloc(HERMON_RSRC_NAME_MAXLEN, KM_SLEEP); in hermon_rsrc_init_phase2() 859 HERMON_RSRC_NAME(rsrc_name, HERMON_MTT_VMEM); in hermon_rsrc_init_phase2() 866 HERMON_RSRC_NAME(rsrc_name, HERMON_DMPT_VMEM); in hermon_rsrc_init_phase2() [all …]
|
H A D | hermon_agents.c | 66 char *rsrc_name; in hermon_agent_handlers_init() local 78 rsrc_name = (char *)kmem_zalloc(HERMON_RSRC_NAME_MAXLEN, KM_SLEEP); in hermon_agent_handlers_init() 79 HERMON_RSRC_NAME(rsrc_name, HERMON_TASKQ_NAME); in hermon_agent_handlers_init() 94 rsrc_name, HERMON_TASKQ_NTHREADS, TASKQ_DEFAULTPRI, 0); in hermon_agent_handlers_init() 108 kmem_free(rsrc_name, HERMON_RSRC_NAME_MAXLEN); in hermon_agent_handlers_init() 112 kmem_free(rsrc_name, HERMON_RSRC_NAME_MAXLEN); in hermon_agent_handlers_init()
|
H A D | hermon_fm.c | 493 char *rsrc_name; in hermon_fm_ereport_init() local 659 rsrc_name = (char *)kmem_zalloc(HERMON_RSRC_NAME_MAXLEN, KM_SLEEP); in hermon_fm_ereport_init() 660 HERMON_RSRC_NAME(rsrc_name, HERMON_UAR_PAGE_VMEM_RUNTM); in hermon_fm_ereport_init() 665 entry_info.hwi_rsrcname = rsrc_name; in hermon_fm_ereport_init() 667 kmem_free(rsrc_name, HERMON_RSRC_NAME_MAXLEN); in hermon_fm_ereport_init() 670 kmem_free(rsrc_name, HERMON_RSRC_NAME_MAXLEN); in hermon_fm_ereport_init()
|
/titanic_41/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_rsrc.h | 104 #define TAVOR_RSRC_NAME(rsrc_name, string) \ argument 105 (void) sprintf((rsrc_name), string"%08X", \
|
/titanic_41/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_rsrc.h | 113 #define HERMON_RSRC_NAME(rsrc_name, string) \ argument 114 (void) sprintf((rsrc_name), string"%08X", \
|
/titanic_41/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_asru.c | 359 char *asru_name, *rsrc_name, *fru_name, *name, *label; in fmd_asru_al_create() local 372 fmd_asru_get_namestr(rsrc, &rsrc_name, &rsrc_namelen) == 0) in fmd_asru_al_create() 417 alp->al_rsrc_name = got_rsrc ? rsrc_name : fmd_strdup("", FMD_SLEEP); in fmd_asru_al_create()
|