Home
last modified time | relevance | path

Searched refs:rsrc_name (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_rsrc.c427 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 Dtavor_agents.c66 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 Dhermon_rsrc.c642 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 Dhermon_agents.c66 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 Dhermon_fm.c493 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 Dtavor_rsrc.h104 #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 Dhermon_rsrc.h113 #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 Dfmd_asru.c359 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()