Lines Matching +defs:dev +defs:all
491 * -1 - not paranoid at all
725 * !OFF, we need to update all group member times.
784 * If a group leader gets enabled/disabled all its siblings
918 * also enabled for all its descendant cgroups. If @cpuctx's
1153 * all events in a group must monitor
1444 * while in transit. Therefore all such accessors should also acquire
1989 * perf_group_detach can, at all times, locate all siblings.
2273 * If the event is an aux_event, tear down all links to
2938 * Otherwise, try to add it if all previous groups were able
3517 * source attributes after all relevant attributes have been copied.
3642 * Schedule out all exclude_guest events of PMU
3900 * all queued PEBS records before we context switch to a new task.
4502 * only need to iterate over all events iff:
4691 * Enable all of a task's events that have been marked enable-on-exec.
4742 * Removes all events from the current task that have been marked
4899 * Disabling interrupts avoids all counter scheduling (context
4906 * all child counters from atomic context.
5794 * particular all task references must be cleaned up.
6395 * still owns all the PMU resources.
6420 /* When loading a guest's mediated PMU, schedule out all exclude_guest events. */
7024 * to detach all events redirecting to us.
7044 * Stop all AUX events that are writing to this buffer,
7077 * No other mmap()s, detach from all other events that might redirect
7371 * mapped, all subsequent mappings should have the same size
7440 * create a performance issue due to all children writing to the
8201 * Disabling interrupts avoids all counter scheduling
8254 * counts rather than attempting to accumulate some value across all children on
8255 * all cores.
8810 * easily overflow it, what with all the preceding sample bits.
8989 void *data, bool all)
8994 if (!all) {
9028 * Iterate all events that need to receive side-band events.
9063 * Clear all file-based filters at exec, they'll have to be
9517 ns_link_info->dev = new_encode_dev(ns_inode->i_sb->s_dev);
9816 dev_t dev;
9834 dev = inode->i_sb->s_dev;
9837 maj = MAJOR(dev);
9838 min = MINOR(dev);
9970 * Adjust all task's events' filters to the new vma
12459 .dev = PMU_NULL_DEV,
12544 .dev = PMU_NULL_DEV,
12617 static ssize_t nr_addr_filters_show(struct device *dev,
12621 struct pmu *pmu = dev_get_drvdata(dev);
12630 type_show(struct device *dev, struct device_attribute *attr, char *page)
12632 struct pmu *pmu = dev_get_drvdata(dev);
12639 perf_event_mux_interval_ms_show(struct device *dev,
12643 struct pmu *pmu = dev_get_drvdata(dev);
12651 perf_event_mux_interval_ms_store(struct device *dev,
12655 struct pmu *pmu = dev_get_drvdata(dev);
12672 /* update all cpuctx for this PMU */
12724 static ssize_t cpumask_show(struct device *dev, struct device_attribute *attr,
12727 struct pmu *pmu = dev_get_drvdata(dev);
12747 struct device *dev = kobj_to_dev(kobj);
12748 struct pmu *pmu = dev_get_drvdata(dev);
12776 static void pmu_dev_release(struct device *dev)
12778 kfree(dev);
12785 pmu->dev = kzalloc_obj(struct device);
12786 if (!pmu->dev)
12789 pmu->dev->groups = pmu->attr_groups;
12790 device_initialize(pmu->dev);
12792 dev_set_drvdata(pmu->dev, pmu);
12793 pmu->dev->bus = &pmu_bus;
12794 pmu->dev->parent = pmu->parent;
12795 pmu->dev->release = pmu_dev_release;
12797 ret = dev_set_name(pmu->dev, "%s", pmu->name);
12801 ret = device_add(pmu->dev);
12806 ret = sysfs_update_groups(&pmu->dev->kobj, pmu->attr_update);
12815 device_del(pmu->dev);
12818 put_device(pmu->dev);
12819 pmu->dev = NULL;
12843 if (pmu_bus_running && pmu->dev && pmu->dev != PMU_NULL_DEV) {
12845 device_remove_file(pmu->dev, &dev_attr_nr_addr_filters);
12846 device_del(pmu->dev);
12847 put_device(pmu->dev);
12900 if (pmu_bus_running && !pmu->dev) {
13271 * We keep a list of all !task (and therefore per-cpu) events
13274 * This avoids having to scan all the various PMU per-cpu contexts
13355 * Guarantee that all CPUs observe they key change and
14498 * Once all the siblings are setup properly, install the group leaders
14582 * If we were to destroy the original group, all group related
14586 * Do destroy all inherited groups, we don't care about those
14695 * have been freed (in particular all their references to this
14703 * Wait for all events to drop their context reference.
14762 * exposed through the child_list, so we must take care tearing it all down.
14952 * This matches with perf_event_release_kernel() removing all child events.
14997 * consistent with perf_event_release_kernel() removing all child events.
15399 ssize_t perf_event_sysfs_show(struct device *dev, struct device_attribute *attr,
15424 if (pmu->dev)