Lines Matching refs:builtins
14 static const UdevBuiltin *const builtins[_UDEV_BUILTIN_MAX] = { variable
39 if (builtins[i] && builtins[i]->init) in udev_builtin_init()
40 builtins[i]->init(); in udev_builtin_init()
50 if (builtins[i] && builtins[i]->exit) in udev_builtin_exit()
51 builtins[i]->exit(); in udev_builtin_exit()
58 if (builtins[i] && builtins[i]->validate && builtins[i]->validate()) in udev_builtin_validate()
65 if (builtins[i]) in udev_builtin_list()
66 fprintf(stderr, " %-14s %s\n", builtins[i]->name, builtins[i]->help); in udev_builtin_list()
72 if (!builtins[cmd]) in udev_builtin_name()
75 return builtins[cmd]->name; in udev_builtin_name()
81 if (!builtins[cmd]) in udev_builtin_run_once()
84 return builtins[cmd]->run_once; in udev_builtin_run_once()
95 if (builtins[i] && strneq(builtins[i]->name, command, n)) in udev_builtin_lookup()
109 if (!builtins[cmd]) in udev_builtin_run()
118 return builtins[cmd]->cmd(dev, rtnl, strv_length(argv), argv, test); in udev_builtin_run()