Searched refs:locstr (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_hc_sun4v.c | 41 cmd_fault_add_location(fmd_hdl_t *hdl, nvlist_t *flt, const char *locstr) { in cmd_fault_add_location() argument 49 t = fmd_hdl_zalloc(hdl, strlen(locstr) + 1, FMD_SLEEP); in cmd_fault_add_location() 50 s = strstr(locstr, ": "); in cmd_fault_add_location() 52 (void) strncpy(t, locstr, s - locstr); in cmd_fault_add_location() 56 (void) strcpy(t, locstr); in cmd_fault_add_location() 66 fmd_hdl_free(hdl, t, strlen(locstr) + 1); in cmd_fault_add_location()
|
/titanic_50/usr/src/lib/madv/common/ |
H A D | madv.c | 299 char *dummy, *locstr = advstr; in strtoadv() local 301 return (getsubopt(&locstr, legal_madvice, &dummy)); in strtoadv()
|