Searched refs:can_attach (Results 1 – 7 of 7) sorted by relevance
24 * @can_attach: true a function can be bound to gadget33 bool can_attach; member
153 tcm_opts->can_attach = true; in usb_target_gadget_init()
594 ``int can_attach(struct cgroup *cgrp, struct cgroup_taskset *tset)``632 Called when a task attach operation has failed after can_attach() has succeeded.633 A subsystem whose can_attach() has some side-effects should provide this635 This will be called only about subsystems whose can_attach() operation have636 succeeded. The parameters are identical to can_attach().643 The parameters are identical to can_attach().
746 int (*can_attach)(struct cgroup_taskset *tset); member
452 .can_attach = pids_can_attach,
2607 * This function fails iff one of the ->can_attach callbacks fails and2622 if (ss->can_attach) { in cgroup_migrate_execute() 2624 ret = ss->can_attach(tset); in cgroup_migrate_execute() 2902 * As long as a controller's ->can_attach() doesn't fail, this function is2903 * guaranteed to succeed. This means that, excluding ->can_attach()
3127 * can_attach beforehand should guarantee that this doesn't in cpuset_attach_task() 3726 .can_attach = cpuset_can_attach,