Lines Matching refs:arg
44 * Iterate over all mlx devices, call (func) with each ones' path and (arg)
47 mlx_foreach(void (*func)(int unit, void *arg), void *arg)
58 func(i, arg);
64 * Open the controller (unit) and give the fd to (func) along with (arg)
67 mlx_perform(int unit, void (*func)(int fd, void *arg), void *arg)
72 func(fd, arg);
78 * Iterate over all mlxd devices, call (func) with each ones' path and (arg)
81 mlxd_foreach_ctrlr(int unit, void *arg)
83 struct mlxd_foreach_action *ma = (struct mlxd_foreach_action *)arg;
102 ma->func(i, ma->arg);
108 mlxd_foreach(void (*func)(int unit, void *arg), void *arg)
113 ma.arg = arg;
129 mlxd_find_ctrlr_search(int unit, void *arg)
173 mlx_command(int fd, void *arg)
175 struct mlx_usercommand *cmd = (struct mlx_usercommand *)arg;