Lines Matching refs:fmt
10271 char *fmt, **new;
10274 fmt = kmem_zalloc(len, KM_SLEEP);
10275 bcopy(str, fmt, len);
10279 state->dts_formats[ndx] = fmt;
10289 kmem_free(fmt, len);
10307 state->dts_formats[ndx] = fmt;
10315 char *fmt;
10321 fmt = state->dts_formats[format - 1];
10322 kmem_free(fmt, strlen(fmt) + 1);
10339 char *fmt = state->dts_formats[i];
10341 if (fmt == NULL)
10344 kmem_free(fmt, strlen(fmt) + 1);
12977 char *str, *fmt;
13009 fmt = kmem_alloc(i + 1, KM_SLEEP);
13010 bcopy(&str[desc->dofa_arg], fmt, i + 1);
13011 arg = (uint64_t)(uintptr_t)fmt;
16963 dtrace_fmtdesc_t fmt;
16967 if (copyin((void *)arg, &fmt, sizeof (fmt)) != 0)
16972 if (fmt.dtfd_format == 0 ||
16973 fmt.dtfd_format > state->dts_nformats) {
16985 str = state->dts_formats[fmt.dtfd_format - 1];
16990 if (len > fmt.dtfd_length) {
16991 fmt.dtfd_length = len;
16993 if (copyout(&fmt, (void *)arg, sizeof (fmt)) != 0) {
16998 if (copyout(str, fmt.dtfd_string, len) != 0) {