| /kernel/linux/linux-5.10/Documentation/vm/ |
| D | hugetlbfs_reserv.rst | 13 to be used. If no huge page exists at page fault time, the task is sent 36 This is a global (per-hstate) count of reserved huge pages. Reserved 39 as (``free_huge_pages - resv_huge_pages``). 40 Reserve Map 41 A reserve map is described by the structure:: 52 There is one reserve map for each huge page mapping in the system. 67 These are stored in the bottom bits of the reservation map pointer. 82 Reservation Map Location (Private or Shared) 88 semantics of the reservation map is significantly different for the two types 91 - For private mappings, the reservation map hangs off the VMA structure. [all …]
|
| /kernel/linux/linux-4.19/Documentation/vm/ |
| D | hugetlbfs_reserv.rst | 13 to be used. If no huge page exists at page fault time, the task is sent 36 This is a global (per-hstate) count of reserved huge pages. Reserved 39 as (``free_huge_pages - resv_huge_pages``). 40 Reserve Map 41 A reserve map is described by the structure:: 52 There is one reserve map for each huge page mapping in the system. 67 These are stored in the bottom bits of the reservation map pointer. 82 Reservation Map Location (Private or Shared) 88 semantics of the reservation map is significantly different for two types 91 - For private mappings, the reservation map hangs off the the VMA structure. [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/maps/ |
| D | physmap-gemini.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Cortina Systems Gemini OF physmap add-on 12 #include <linux/mtd/map.h> 18 #include "physmap-gemini.h" 21 * The Flash-relevant parts of the global status register 63 if (IS_ERR(gf->enabled_state)) in gemini_flash_enable_pins() 65 ret = pinctrl_select_state(gf->p, gf->enabled_state); in gemini_flash_enable_pins() 67 dev_err(gf->dev, "failed to enable pins\n"); in gemini_flash_enable_pins() 74 if (IS_ERR(gf->disabled_state)) in gemini_flash_disable_pins() 76 ret = pinctrl_select_state(gf->p, gf->disabled_state); in gemini_flash_disable_pins() [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ |
| D | nft_set_pipapo_avx2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2019-2020 Red Hat GmbH 29 /* Load from memory into YMM register with non-temporal hint ("stream load"), 33 * - loading buckets from lookup tables, as they are not going to be used 36 * - loading the result bitmap from the previous field, as it's never used 78 * nft_pipapo_avx2_prepare() - Prepare before main algorithm body 89 * nft_pipapo_avx2_fill() - Fill a bitmap region with ones 116 *data |= GENMASK(len - 1 + offset, offset); in nft_pipapo_avx2_fill() 121 len -= BITS_PER_LONG - offset; in nft_pipapo_avx2_fill() 125 mask = ~0UL >> (BITS_PER_LONG - len); in nft_pipapo_avx2_fill() [all …]
|
| /kernel/linux/linux-4.19/Documentation/ |
| D | IRQ-domain.txt | 9 that each one gets assigned non-overlapping allocations of Linux 24 For this reason we need a mechanism to separate controller-local 29 the controller-local IRQ (hwirq) number into the Linux IRQ number 55 the hwirq, and call the .map() callback so the driver can perform any 67 callbacks) then it can be directly obtained from irq_data->hwirq. 74 Which reverse map type should be used depends on the use case. Each 75 of the reverse map types are described below: 78 ------ 85 The linear reverse map maintains a fixed size table indexed by the 89 The Linear map is a good choice when the maximum number of hwirqs is [all …]
|
| /kernel/linux/linux-5.10/Documentation/core-api/irq/ |
| D | irq-domain.rst | 9 that each one gets assigned non-overlapping allocations of Linux 24 For this reason we need a mechanism to separate controller-local 29 the controller-local IRQ (hwirq) number into the Linux IRQ number 55 the hwirq, and call the .map() callback so the driver can perform any 67 callbacks) then it can be directly obtained from irq_data->hwirq. 74 Which reverse map type should be used depends on the use case. Each 75 of the reverse map types are described below: 78 ------ 85 The linear reverse map maintains a fixed size table indexed by the 89 The Linear map is a good choice when the maximum number of hwirqs is [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/ |
| D | devicetree.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 * struct pinctrl_dt_map - mapping table chunk parsed from device tree 20 * @map: the mapping table entries 26 struct pinctrl_map *map; member 31 struct pinctrl_map *map, unsigned num_maps) in dt_free_map() argument 36 kfree_const(map[i].dev_name); in dt_free_map() 37 map[i].dev_name = NULL; in dt_free_map() 41 const struct pinctrl_ops *ops = pctldev->desc->pctlops; in dt_free_map() 42 if (ops->dt_free_map) in dt_free_map() 43 ops->dt_free_map(pctldev, map, num_maps); in dt_free_map() [all …]
|
| D | pinconf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 27 const struct pinconf_ops *ops = pctldev->desc->confops; in pinconf_check_ops() 30 if (!ops->pin_config_set && !ops->pin_config_group_set) { in pinconf_check_ops() 31 dev_err(pctldev->dev, in pinconf_check_ops() 33 return -EINVAL; in pinconf_check_ops() 38 int pinconf_validate_map(const struct pinctrl_map *map, int i) in pinconf_validate_map() argument 40 if (!map->data.configs.group_or_pin) { in pinconf_validate_map() 41 pr_err("failed to register map %s (%d): no group/pin given\n", in pinconf_validate_map() [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-designware-master.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include "i2c-designware-core.h" 29 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master() 30 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_master() 33 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); in i2c_dw_configure_fifo_master() 41 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_master() 49 ret = regmap_read(dev->map, DW_IC_COMP_PARAM_1, &comp_param1); in i2c_dw_set_timings_master() 55 sda_falling_time = t->sda_fall_ns ?: 300; /* ns */ in i2c_dw_set_timings_master() 56 scl_falling_time = t->scl_fall_ns ?: 300; /* ns */ in i2c_dw_set_timings_master() 59 if (!dev->ss_hcnt || !dev->ss_lcnt) { in i2c_dw_set_timings_master() [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | swap_cgroup.c | 1 // SPDX-License-Identifier: GPL-2.0 10 struct page **map; member 28 * - we have no race in "exchange" when we're accessed via SwapCache because 30 * - When called via swap_free(), there is no user of this entry and no race. 47 for (idx = 0; idx < ctrl->length; idx++) { in swap_cgroup_prepare() 51 ctrl->map[idx] = page; in swap_cgroup_prepare() 60 __free_page(ctrl->map[idx]); in swap_cgroup_prepare() 62 return -ENOMEM; in swap_cgroup_prepare() 71 mappage = ctrl->map[offset / SC_PER_PAGE]; in __lookup_swap_cgroup() 89 * swap_cgroup_cmpxchg - cmpxchg mem_cgroup's id for this swp_entry. [all …]
|
| /kernel/linux/linux-4.19/mm/ |
| D | swap_cgroup.c | 1 // SPDX-License-Identifier: GPL-2.0 10 struct page **map; member 28 * - we have no race in "exchange" when we're accessed via SwapCache because 30 * - When called via swap_free(), there is no user of this entry and no race. 47 for (idx = 0; idx < ctrl->length; idx++) { in swap_cgroup_prepare() 51 ctrl->map[idx] = page; in swap_cgroup_prepare() 60 __free_page(ctrl->map[idx]); in swap_cgroup_prepare() 62 return -ENOMEM; in swap_cgroup_prepare() 71 mappage = ctrl->map[offset / SC_PER_PAGE]; in __lookup_swap_cgroup() 89 * swap_cgroup_cmpxchg - cmpxchg mem_cgroup's id for this swp_entry. [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
| D | sdm845-xiaomi-beryllium.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 16 /delete-node/ &tz_mem; 17 /delete-node/ &adsp_mem; 18 /delete-node/ &wlan_msa_mem; 19 /delete-node/ &mpss_region; 20 /delete-node/ &venus_mem; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/ti/ |
| D | k3-j721e-som-p0.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ 6 /dts-v1/; 8 #include "k3-j721e.dtsi" 18 reserved_memory: reserved-memory { 19 #address-cells = <2>; 20 #size-cells = <2>; 26 no-map; 29 c66_1_dma_memory_region: c66-dma-memory@a6000000 { 30 compatible = "shared-dma-pool"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | ste-db8500.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 #include "ste-dbx5x0.dtsi" 9 operating-points = <998400 0 16 reserved-memory { 17 #address-cells = <1>; 18 #size-cells = <1>; 24 no-map; 30 no-map; 36 no-map; 50 no-map;
|
| D | ste-db8520.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 #include "ste-dbx5x0.dtsi" 9 operating-points = <1152000 0 16 reserved-memory { 17 #address-cells = <1>; 18 #size-cells = <1>; 24 no-map; 30 no-map; 36 no-map; 50 no-map;
|
| D | stm32mp157c-odyssey-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxac-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/mfd/st,stpmic1.h> 17 model = "Seeed Studio Odyssey-STM32MP157C SOM"; 18 compatible = "seeed,stm32mp157c-odyssey-som", "st,stm32mp157"; 25 reserved-memory { [all …]
|
| /kernel/linux/linux-5.10/include/linux/mtd/ |
| D | cfi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al. 14 #include <linux/mtd/map.h> 28 # define cfi_interleave(cfi) ((cfi)->interleave) 40 # define cfi_interleave(cfi) ((cfi)->interleave) 52 # define cfi_interleave(cfi) ((cfi)->interleave) 62 #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. 152 /* Vendor-Specific PRI for Intel/Sharp Extended Command Set (0x0001) */ 159 block follows - FIXME - not currently supported */ 205 /* Vendor-Specific PRI for AMD/Fujitsu Extended Command Set (0x0002) */ [all …]
|
| /kernel/linux/linux-4.19/include/linux/mtd/ |
| D | cfi.h | 2 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al. 16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 #include <linux/mtd/map.h> 42 # define cfi_interleave(cfi) ((cfi)->interleave) 54 # define cfi_interleave(cfi) ((cfi)->interleave) 66 # define cfi_interleave(cfi) ((cfi)->interleave) 76 #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. 166 /* Vendor-Specific PRI for Intel/Sharp Extended Command Set (0x0001) */ 173 block follows - FIXME - not currently supported */ 219 /* Vendor-Specific PRI for AMD/Fujitsu Extended Command Set (0x0002) */ [all …]
|
| /kernel/linux/linux-4.19/Documentation/sound/designs/ |
| D | channel-mapping-api.rst | 2 ALSA PCM channel-mapping API 11 and the current channel map, also optionally to modify the channel map 14 A channel map is an array of position for each PCM channel. 15 Typically, a stereo PCM stream has a channel map of 17 while a 4.0 surround PCM stream has a channel map of 20 The problem, so far, was that we had no standard channel map 21 explicitly, and applications had no way to know which channel 29 was no way to specify this because of lack of channel map 38 the kernel/user-space ABI perspective. It uses only the existing 46 * name = "Playback Channel Map" or "Capture Channel Map" [all …]
|
| /kernel/linux/linux-5.10/Documentation/sound/designs/ |
| D | channel-mapping-api.rst | 2 ALSA PCM channel-mapping API 11 and the current channel map, also optionally to modify the channel map 14 A channel map is an array of position for each PCM channel. 15 Typically, a stereo PCM stream has a channel map of 17 while a 4.0 surround PCM stream has a channel map of 20 The problem, so far, was that we had no standard channel map 21 explicitly, and applications had no way to know which channel 29 was no way to specify this because of lack of channel map 38 the kernel/user-space ABI perspective. It uses only the existing 46 * name = "Playback Channel Map" or "Capture Channel Map" [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
| D | strobemeta.h | 1 // SPDX-License-Identifier: GPL-2.0 36 * 3. map: 1 always, pointer points to additional struct with number 81 * Map of C-string key/value pairs with fixed maximum capacity. Each map has 83 * way appropriate. Map is "write-only", there is no way to get data out of 84 * map. Map is intended to be used to provide metadata for profilers and is 85 * not to be used for internal in-app communication. All methods are 86 * thread-safe. 96 /* number of used entries in map */ 112 #define TLS_NOT_SET -1 124 * - -1 (TLS_NOT_SET) - no metavariable; [all …]
|
| /kernel/linux/linux-4.19/kernel/ |
| D | user_namespace.c | 18 #include <linux/key-type.h> 19 #include <keys/user-type.h> 34 struct uid_gid_map *map); 52 cred->securebits = SECUREBITS_DEFAULT; in set_cred_user_ns() 53 cred->cap_inheritable = CAP_EMPTY_SET; in set_cred_user_ns() 54 cred->cap_permitted = CAP_FULL_SET; in set_cred_user_ns() 55 cred->cap_effective = CAP_FULL_SET; in set_cred_user_ns() 56 cred->cap_ambient = CAP_EMPTY_SET; in set_cred_user_ns() 57 cred->cap_bset = CAP_FULL_SET; in set_cred_user_ns() 59 key_put(cred->request_key_auth); in set_cred_user_ns() [all …]
|
| /kernel/linux/linux-4.19/drivers/mtd/chips/ |
| D | cfi_cmdset_0002.c | 37 #include <linux/mtd/map.h> 82 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 83 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr); 111 "No WP", "8x8KiB sectors at top & bottom, no WP", in cfi_tell_features() 116 printk(" Silicon revision: %d\n", extp->SiliconRevision >> 1); in cfi_tell_features() 118 (extp->SiliconRevision & 1) ? "Not required" : "Required"); in cfi_tell_features() 120 if (extp->EraseSuspend < ARRAY_SIZE(erase_suspend)) in cfi_tell_features() 121 printk(" Erase Suspend: %s\n", erase_suspend[extp->EraseSuspend]); in cfi_tell_features() 123 printk(" Erase Suspend: Unknown value %d\n", extp->EraseSuspend); in cfi_tell_features() 125 if (extp->BlkProt == 0) in cfi_tell_features() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/loongson/ |
| D | ls7a-pch.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 compatible = "simple-bus"; 6 #address-cells = <2>; 7 #size-cells = <2>; 13 pic: interrupt-controller@10000000 { 14 compatible = "loongson,pch-pic-1.0"; 16 interrupt-controller; 17 interrupt-parent = <&htvec>; 18 loongson,pic-base-vec = <0>; 19 #interrupt-cells = <2>; [all …]
|
| /kernel/linux/linux-5.10/include/net/sctp/ |
| D | tsnmap.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 15 * lksctp developers <linux-sctp@vger.kernel.org> 31 * Last Rcvd TSN). If no gaps exist, i.e. no out of 39 * ping-pong between. 87 void sctp_tsnmap_free(struct sctp_tsnmap *map); 102 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn); 105 static inline __u32 sctp_tsnmap_get_ctsn(const struct sctp_tsnmap *map) in sctp_tsnmap_get_ctsn() argument 107 return map->cumulative_tsn_ack_point; in sctp_tsnmap_get_ctsn() [all …]
|