Lines Matching defs:fmt
13 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
263 * @fmt: format string used to build the name
266 int kobject_set_name_vargs(struct kobject *kobj, const char *fmt,
271 if (kobj->name && !fmt)
274 s = kvasprintf_const(GFP_KERNEL, fmt, vargs);
302 * @fmt: format string used to build the name
308 int kobject_set_name(struct kobject *kobj, const char *fmt, ...)
313 va_start(vargs, fmt);
314 retval = kobject_set_name_vargs(kobj, fmt, vargs);
364 const char *fmt, va_list vargs)
368 retval = kobject_set_name_vargs(kobj, fmt, vargs);
381 * @fmt: format to name the kobject with.
411 const char *fmt, ...)
425 va_start(args, fmt);
426 retval = kobject_add_varg(kobj, parent, fmt, args);
439 * @fmt: the name of the kobject.
449 struct kobject *parent, const char *fmt, ...)
456 va_start(args, fmt);
457 retval = kobject_add_varg(kobj, parent, fmt, args);