Lines Matching defs:field
45 char *ksf_header; /* header for field */
47 int ksf_width; /* width for field in output line */
48 uint32_t ksf_flags; /* flags for this field, if any */
49 int ksf_hint; /* index hint for field in kstat */
83 kstat_field_hint(kstat_t *ksp, kstat_field_t *field)
91 if (strcmp(field->ksf_name, nm[i].name) == 0)
92 return (field->ksf_hint = i);
95 fatal("could not find field '%s' in %s:%d\n",
96 field->ksf_name, ksp->ks_name, ksp->ks_instance);
270 kstat_field_t *field = &fields[i];
271 int hint = field->ksf_hint;
273 if (field->ksf_name == NULL)
277 strcmp(field->ksf_name, nm[hint].name) != 0) {
278 hint = kstat_field_hint(ksp, field);