Home
last modified time | relevance | path

Searched +full:container +full:- +full:rules (Results 1 – 10 of 10) sorted by relevance

/linux-3.3/include/linux/crush/
Dcrush.h7 * CRUSH is a pseudo-random data distribution algorithm that
14 * http://www.ssrc.ucsc.edu/Papers/weil-sc06.pdf
28 * CRUSH uses user-defined "rules" to describe how inputs should be
55 #define CRUSH_CHOOSE_N_MINUS(x) (-(x))
81 * A bucket is a named container of other items (either devices or
88 * ------------------------------------------------
104 __u16 type; /* non-zero; type=0 is reserved for devices */
107 __u32 weight; /* 16-bit fixed point */
122 __u32 item_weight; /* 16-bit fixed point; all items equally weighted */
127 __u32 *item_weights; /* 16-bit fixed point */
[all …]
/linux-3.3/Documentation/cgroups/
Dresource_counter.txt57 child -> parent relationship directly in the res_counter structure,
67 This is not very important which operation - resource allocation
68 or charging - is performed first, but
70 temporary resource over-usage by the time resource counter is
83 res_counter->lock internally (it must be called with res_counter->lock
89 When a resource is released (freed) it should be de-accounted
93 The _locked routines imply that the res_counter->lock is taken.
111 set the limits to maximal values and either load the container with
113 value shows the amount of memory the container would require during
134 counter fields. They are recommended to adhere to the following rules:
[all …]
/linux-3.3/Documentation/trace/
Dkprobetrace.txt1 Kprobe-based Event Tracing
8 --------
24 -------------------------
27 -:[GRP/]EVENT : Clear a probe
39 @SYM[+|-offs] : Fetch memory at SYM +|- offs (SYM should be a data symbol)
43 +|-offs(FETCHARG) : Fetch memory at FETCHARG +|- offs address.(**)
53 -----
54 Several types are supported for fetch-args. Kprobe tracer will access memory
57 String type is a special type, which fetches a "null-terminated" string from
58 kernel space. This means it will fail and store NULL if the string container
[all …]
/linux-3.3/security/
Ddevice_cgroup.c2 * device_cgroup.c - device cgroup subsystem
29 * whitelist locking rules:
70 return -EPERM; in devcgroup_can_attach()
85 list_add_tail(&new->list, dest); in dev_whitelist_copy()
92 list_del(&wh->list); in dev_whitelist_copy()
95 return -ENOMEM; in dev_whitelist_copy()
98 /* Stupid prototype - don't bother combining existing entries */
109 return -ENOMEM; in dev_whitelist_add()
111 list_for_each_entry(walk, &dev_cgroup->whitelist, list) { in dev_whitelist_add()
112 if (walk->type != wh->type) in dev_whitelist_add()
[all …]
/linux-3.3/security/apparmor/
Dpolicy.c6 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd.
15 * AppArmor policy is based around profiles, which contain the rules a
18 * visible set of profiles or by following a profiles attachment rules.
20 * Each profile exists in a profile namespace which is a container of
26 * :namespace:profile - used by kernel interfaces for easy detection
27 * namespace://profile - used by policy
32 * unconfined - special automatically generated unconfined profile
33 * inherit - special name to indicate profile inheritance
34 * null-XXXX-YYYY - special automatically generated learning profiles
[all …]
/linux-3.3/drivers/dma/
Ddmaengine.c2 * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved.
16 * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 * This code implements the DMA subsystem. It provides a HW-neutral interface
48 #include <linux/dma-mapping.h>
69 /* --- sysfs implementation --- */
72 * dev_to_dma_chan - convert a device pointer to the its sysfs container object
73 * @dev - device node
82 return chan_dev->chan; in dev_to_dma_chan()
96 count += per_cpu_ptr(chan->local, i)->memcpy_count; in show_memcpy_count()
99 err = -ENODEV; in show_memcpy_count()
[all …]
/linux-3.3/Documentation/devicetree/
Dbooting-without-of.txt2 --------------------------------------------------
7 Freescale Semiconductor, FSL SOC and 32-bit additions
14 I - Introduction
19 II - The DT block format
25 III - Required content of the device tree
38 IV - "dtc", the device tree compiler
40 V - Recommendations for a bootloader
42 VI - System-on-a-chip devices and nodes
46 VII - Specifying interrupt information for devices
48 2) interrupt-parent property
[all …]
/linux-3.3/drivers/staging/rtl8192u/ieee80211/
Dieee80211.h8 * Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
10 * Copyright (c) 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi>
16 * Modified for Realtek's wi-fi cards by Andrea Merello
54 * container_of - cast a member of a structure out to the containing structure
57 * @type: the type of the container struct this is embedded in.
62 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
63 (type *)( (char *)__mptr - offsetof(type,member) );})
101 /* Tx Desc Related flags (8-9) */
113 /* Tx Firmware Relaged flags (10-11)*/
133 /* Tx Desc related element(12-19) */
[all …]
/linux-3.3/drivers/staging/rtl8192e/
Drtllib.h8 * Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
10 * Copyright (c) 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi>
16 * Modified for Realtek's wi-fi cards by Andrea Merello
65 /* Max number of char in custom event - use multiple of them if needed */
71 * container_of - cast a member of a structure out to the containing structure
74 * @type: the type of the container struct this is embedded in.
79 const typeof(((type *)0)->member)*__mptr = (ptr); \
80 (type *)((char *)__mptr - offsetof(type, member)); })
152 ((pPSC->CurPsLevel & _PS_FLAG) ? true : false)
154 (pPSC->CurPsLevel &= (~(_PS_FLAG)))
[all …]
/linux-3.3/arch/tile/include/hv/
Dnetio_intf.h46 * If NETIO_UNLOCKED is defined, we don't do use per-cpu locks on
47 * per-packet NetIO operations. We still do pthread locking on things
53 /* Avoid PLT overhead by using our own inlined per-cpu lock. */
81 /* Don't do any locking for per-packet NetIO operations. */
231 /** The ethertype of a Q-in-Q header. */
271 * @brief A group-to-bucket identifier.
295 unsigned int __padding:(32 - 4 - 2 * NETIO_LOG2_NUM_BUCKETS);
304 * @brief A VLAN-to-bucket identifier.
314 * A bucket-to-queue mapping.
429 unsigned int __protocol:1; /**< A protocol-specific word is added. */
[all …]