| /linux/Documentation/trace/ |
| H A D | events-landlock.rst | 212 - ``grants=`` is a per-layer breakdown of the requested rights that this 213 rule grants, in the form ``{<layer>,<layer>,...}``: 217 - Each group lists the requested rights the rule grants at that layer, 220 ``{read_file,,read_file}``) means the rule grants none of the 234 For an access check that a consumer can delimit, aggregate the ``grants=`` 241 Because a verdict requires aggregating ``grants=`` across all matching 249 with the requested rights intersected against what that rule grants. 252 rule does not grant it, so ``truncate`` never appears in ``grants=``:: 254 …omain=1e40cb56f access_request=execute|read_file|truncate dev=0:17 ino=2 grants={execute|read_file} 255 …ck_rule_inode: domain=1e40cb56f access_request=read_file|truncate dev=0:17 ino=2 grants={read_file} [all …]
|
| /linux/drivers/block/ |
| H A D | xen-blkfront.c | 186 struct list_head grants; member 218 /* Persistent grants feature negotiation result */ 258 * Grants are always the same size as a Xen page (i.e 4KB). 260 * Number of grants per physical segment 331 list_add(&gnt_list_entry->node, &rinfo->grants); in fill_grant_buffer() 339 &rinfo->grants, node) { in fill_grant_buffer() 354 BUG_ON(list_empty(&rinfo->grants)); in get_free_grant() 355 gnt_list_entry = list_first_entry(&rinfo->grants, struct grant, in get_free_grant() 638 * All the grants are stored in the shadow of the first in blkif_setup_rw_req_grant() 652 * persistent grants are shared with just one in blkif_setup_rw_req_grant() [all …]
|
| /linux/drivers/xen/ |
| H A D | gntdev.c | 74 "Maximum number of grants that may be mapped by one mapping request"); 129 kvfree(map->grants); in gntdev_free_map() 148 add->grants = kvmalloc_objs(add->grants[0], count); in gntdev_alloc_map() 154 if (NULL == add->grants || in gntdev_alloc_map() 201 add->grants[i].domid = DOMID_INVALID; in gntdev_alloc_map() 202 add->grants[i].ref = INVALID_GRANT_REF; in gntdev_alloc_map() 276 * Unmap the grants. This may or may not be asynchronous, so it in gntdev_put_map() 317 map->grants[pgnr].ref, in find_grant_ptes() 318 map->grants[pgnr].domid); in find_grant_ptes() 337 map->grants[i].ref, in gntdev_map_grant_pages() [all …]
|
| H A D | gntdev-common.h | 60 struct ioctl_gntdev_grant_ref *grants; member 84 /* Number of live grants */
|
| H A D | xen-front-pgdir-shbuf.c | 92 * \param buf shared buffer which grants to be mapped. 113 * \param buf shared buffer which grants to be unmapped.
|
| /linux/include/trace/events/ |
| H A D | landlock.h | 138 access_mask_t grants = 0; in __trace_landlock_fill_layers() local 141 grants = rule->layers[i].access & access_request; in __trace_landlock_fill_layers() 144 layers[level - 1] = grants; in __trace_landlock_fill_layers() 153 * the grants field: layers wrapped in "{}", flags within a layer joined by 649 * The grants array shows the requested rights the rule grants at each 666 __dynamic_array(access_mask_t, grants, 676 __trace_landlock_fill_layers(__get_dynamic_array(grants), 677 __get_dynamic_array_len(grants) / 683 TP_printk("domain=%llx access_request=%s dev=%u:%u ino=%lu grants=%s", 687 __print_landlock_layers(grants, _LANDLOCK_ACCESS_FS_NAMES)) [all …]
|
| /linux/drivers/block/xen-blkback/ |
| H A D | blkback.c | 71 * Maximum number of grants to map persistently in blkback. For maximum 72 * performance this should be the total numbers of grants that can be used 77 * When the list of persistent grants is full we clean it up using a LRU 84 "Maximum number of grants to map persistently"); 116 * The LRU mechanism to clean the lists of persistent grants needs to 123 * When the persistent grants list is full we will remove unused grants 124 * from the list. The percent number of grants to be removed at each LRU 166 * the number of used grants. 353 pr_debug("Going to purge at least %u persistent grants\n", in purge_persistent_gnt() 361 * which means that the number of currently used grants will go down, in purge_persistent_gnt() [all …]
|
| H A D | common.h | 231 /* Persistent grants feature negotiation result */ 273 /* Tree to store persistent grants. */
|
| H A D | xenbus.c | 159 /* Enable the persistent grants feature. */ 162 MODULE_PARM_DESC(feature_persistent, "Enables the persistent grants feature"); 304 /* Remove all persistent grants and the cache of ballooned pages. */ in xen_blkif_disconnect() 1111 blkif->vbd.feature_gnt_persistent ? "persistent grants" : ""); in connect_ring()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-xen-blkback | 14 Maximum number of grants to map persistently in 44 Whether to enable the persistent grants feature or not. Note
|
| H A D | sysfs-driver-xen-blkfront | 17 Whether to enable the persistent grants feature or not. Note
|
| /linux/LICENSES/dual/ |
| H A D | copyleft-next-0.3.1 | 20 1. License Grants; No Trademark License 118 Your license grants under section 1 are automatically terminated if You 128 Termination of Your license grants extends to all copies of Covered
|
| H A D | CC-BY-4.0 | 53 licenses, a licensor grants the public permission to use the 78 these terms and conditions, and the Licensor grants You such rights in 152 the Licensor hereby grants You a worldwide, royalty-free, 281 a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
| H A D | Apache-2.0 | 81 License, each Contributor hereby grants to You a perpetual, worldwide, 88 License, each Contributor hereby grants to You a perpetual, worldwide,
|
| H A D | CDDL-1.0 | 85 2. License Grants. 90 hereby grants You a world-wide, royalty-free, non-exclusive 121 hereby grants You a world-wide, royalty-free, non-exclusive
|
| /linux/include/uapi/xen/ |
| H A D | gntdev.h | 62 /* The number of grants to be mapped. */ 116 * Sets the maximum number of grants that may mapped at once by this gntdev 125 /* The maximum number of grants that may be mapped at once. */
|
| H A D | gntalloc.h | 23 /* The ID of the domain to be given access to the grants. */
|
| /linux/include/xen/interface/ |
| H A D | grant_table.h | 111 * GTF_invalid: This grant entry grants no privileges. 193 * This member is used for V1-style full page grants, where either: 225 * The current version of Xen does not allow transitive grants 446 * between different versions, but must be performed while no grants
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | trace_fs_test.c | 373 /* Single-layer grants array, intersected with the request. */ in TEST_F() 375 "grants", field_buf, in TEST_F() 518 * Both layers have the same rule, so the grants array must have two in TEST_F() 522 "grants", field_buf, in TEST_F()
|
| H A D | fs_test.c | 2983 * would grants MAKE_REG and MAKE_DIR rights to it. in TEST_F_FORK() 3087 * Moving a file (file1_s2d2) to a directory which only grants more in TEST_F_FORK() 3090 * grants less access rights is allowed too. in TEST_F_FORK() 3294 * Moving file1_s1d2 should be allowed even if dir_s2d2 grants a in TEST_F_FORK() 3310 * Moving dir_s1d3 should be allowed even if dir_s2d2 grants a superset in TEST_F_FORK() 10497 * dev, ino, access_request, and grants. All values are verified against stat() 10563 "grants", field, sizeof(field))); in TEST_F() 10566 TH_LOG("Expected grants={read_dir}, got %s", field); in TEST_F() 10661 * Verifies the grants array is intersected with the request: a handled, 10697 "grants", field, sizeof(field))); in TEST_F() [all …]
|
| H A D | trace.h | 120 "grants={[a-z_|,]*}$" 128 "grants={[a-z_|,]*}$"
|
| /linux/security/landlock/ |
| H A D | domain.c | 164 * encountered on the pathwalk grants the requested access, regardless in landlock_unmask_layers() 170 * /a/b <execute> + /a <read> grants /a/b <execute + read>. in landlock_unmask_layers() 184 /* Clear the bits where the layer in the rule grants access. */ in landlock_unmask_layers()
|
| /linux/drivers/gpu/drm/xen/ |
| H A D | xen_drm_front.h | 61 * #. If guest domain dies then pages/grants received from the backend
|
| /linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
| H A D | uncore-interconnect.json | 2701 … RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 2745 …. RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 2778 … RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 2822 …. RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 2943 … RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 2987 …. RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 3020 … RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 3064 …. RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 3097 … RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 3141 …. RSP packets are used to transmit a variety of protocol flits including grants and completions (C… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
| H A D | uncore-interconnect.json | 2701 … RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 2745 …. RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 2778 … RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 2822 …. RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 2943 … RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 2987 …. RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 3020 … RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 3064 …. RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 3097 … RSP packets are used to transmit a variety of protocol flits including grants and completions (C… 3141 …. RSP packets are used to transmit a variety of protocol flits including grants and completions (C… [all …]
|