device_cgroup.c (2491b544ff3aa9717d427033206fa793be53429d) device_cgroup.c (99c8b231ae6c6ca4ca2fd1c0b3701071f589661f)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * device_cgroup.c - device cgroup subsystem
4 *
5 * Copyright 2007 IBM Corp
6 */
7
8#include <linux/device_cgroup.h>

--- 495 unchanged lines hidden (view full) ---

504 * behavior and exceptions. The exceptions that
505 * are no longer valid will be removed.
506 * Called with devcgroup_mutex held.
507 * @devcg: cgroup which exceptions will be checked
508 *
509 * This is one of the three key functions for hierarchy implementation.
510 * This function is responsible for re-evaluating all the cgroup's active
511 * exceptions due to a parent's exception change.
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * device_cgroup.c - device cgroup subsystem
4 *
5 * Copyright 2007 IBM Corp
6 */
7
8#include <linux/device_cgroup.h>

--- 495 unchanged lines hidden (view full) ---

504 * behavior and exceptions. The exceptions that
505 * are no longer valid will be removed.
506 * Called with devcgroup_mutex held.
507 * @devcg: cgroup which exceptions will be checked
508 *
509 * This is one of the three key functions for hierarchy implementation.
510 * This function is responsible for re-evaluating all the cgroup's active
511 * exceptions due to a parent's exception change.
512 * Refer to Documentation/cgroup-v1/devices.txt for more details.
512 * Refer to Documentation/cgroup-v1/devices.rst for more details.
513 */
514static void revalidate_active_exceptions(struct dev_cgroup *devcg)
515{
516 struct dev_exception_item *ex;
517 struct list_head *this, *tmp;
518
519 list_for_each_safe(this, tmp, &devcg->exceptions) {
520 ex = container_of(this, struct dev_exception_item, list);

--- 306 unchanged lines hidden ---
513 */
514static void revalidate_active_exceptions(struct dev_cgroup *devcg)
515{
516 struct dev_exception_item *ex;
517 struct list_head *this, *tmp;
518
519 list_for_each_safe(this, tmp, &devcg->exceptions) {
520 ex = container_of(this, struct dev_exception_item, list);

--- 306 unchanged lines hidden ---