| /linux/drivers/accel/habanalabs/common/ |
| H A D | memory_mgr.c | 47 if (buf->behavior->release) in hl_mmap_mem_buf_destroy() 48 buf->behavior->release(buf); in hl_mmap_mem_buf_destroy() 140 * @behavior: behavior object describing this buffer polymorphic behavior 142 * @args: additional args passed to behavior->alloc 149 struct hl_mmap_mem_buf_behavior *behavior, gfp_t gfp, in hl_mmap_mem_buf_alloc() argument 165 behavior->topic, rc); in hl_mmap_mem_buf_alloc() 170 buf->behavior = behavior; in hl_mmap_mem_buf_alloc() 171 buf->handle = (((u64)rc | buf->behavior->mem_id) << PAGE_SHIFT); in hl_mmap_mem_buf_alloc() 174 rc = buf->behavior->alloc(buf, gfp, args); in hl_mmap_mem_buf_alloc() 177 behavior->topic, rc); in hl_mmap_mem_buf_alloc() [all …]
|
| /linux/security/ |
| H A D | device_cgroup.c | 46 enum devcg_behavior behavior; member 179 return (devcg->behavior != DEVCG_DEFAULT_NONE); in is_devcg_online() 183 * devcgroup_online - initializes devcgroup's behavior and exceptions based on 197 dev_cgroup->behavior = DEVCG_DEFAULT_ALLOW; in devcgroup_online() 202 dev_cgroup->behavior = parent_dev_cgroup->behavior; in devcgroup_online() 214 dev_cgroup->behavior = DEVCG_DEFAULT_NONE; in devcgroup_offline() 230 dev_cgroup->behavior = DEVCG_DEFAULT_NONE; in devcgroup_css_alloc() 289 if (devcgroup->behavior == DEVCG_DEFAULT_ALLOW) { in devcgroup_seq_show() 393 * @behavior: behavior of the exception's dev_cgroup 400 enum devcg_behavior behavior) in verify_new_ex() argument [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | srv6_end_flavors_test.sh | 8 # behavior. 20 # behavior. However, it is possible to extend the script as soon as other 26 # A PSP enabled SRv6 End behavior instance processes the SRH by: 36 # Although the PSP flavor can be set for any SRv6 End behavior instance on any 42 # - a PSP enabled SRv6 End behavior bound to SID Y will apply the PSP operation 45 # - a PSP enabled SRv6 End behavior bound to SID X will *NOT* apply the PSP 46 # operation as the Segment Left is 2. This behavior instance will apply the 63 # i) The SRv6 H.Insert behavior applies SRv6 Policies on traffic received by 68 # ii) The SRv6 End behavior advances the active SID in the SID List carried by 71 # iii) The PSP enabled SRv6 End behavior i [all...] |
| H A D | srv6_end_x_next_csid_l3vpn_test.sh | 8 # End.X behavior. 20 # ii) The SRv6 End.X behavior [1] (Endpoint with L3 cross connect) is a 21 # variant of SRv6 End behavior. It advances the active SID in the SID 28 # The NEXT-C-SID is provided as a "flavor" of the SRv6 End.X behavior 32 # behavior will apply the End.X function selecting the next SID in the SID 35 # iv) The SRv6 End.DT46 behavior [1] is used for removing the SRv6 Policy and, 36 # thus, it terminates the VPN tunnel. Such a behavior is capable of 88 # | End.DT46 behavior | 91 # | of SRv6 End.X behavior | 94 # | behavior when NEXT-C-SID compression is turned on | [all …]
|
| H A D | srv6_end_next_csid_l3vpn_test.sh | 7 # End behavior. 19 # ii) The SRv6 End behavior [1] advances the active SID in the SID List 26 # The NEXT-C-SID is provided as a "flavor" of the SRv6 End behavior 29 # When no more C-SIDs are available in the Argument, the SRv6 End behavior 32 # iv) The SRv6 End.DT46 behavior [1] is used for removing the SRv6 Policy and, 33 # thus, it terminates the VPN tunnel. Such a behavior is capable of 82 # | End.DT46 behavior | 85 # | of SRv6 End behavior | 88 # | behavior when NEXT-C-SID compression is turned on | 144 # H.Encaps.Red behavior which avoids the presence of the SRH at all, since it [all …]
|
| H A D | srv6_hencap_red_l3vpn_test.sh | 6 # This script is designed for testing the SRv6 H.Encaps.Red behavior. 17 # i) The SRv6 H.Encaps.Red behavior applies SRv6 Policies on traffic received 18 # by connected hosts, initiating the VPN tunnel. Such a behavior is an 23 # SID, the SRv6 H.Encaps.Red behavior omits the SRH at all and pushes that 26 # ii) The SRv6 End behavior advances the active SID in the SID List carried by 29 # iii) The SRv6 End.DT46 behavior is used for removing the SRv6 Policy and, 30 # thus, it terminates the VPN tunnel. Such a behavior is capable of 85 # |fcff:x::e is associated with the SRv6 End behavior | 86 # |fcff:x::d46 is associated with the SRv6 End.DT46 behavior | 383 # Local End behavior (note that "dev" is dummy and the VRF is chosen [all …]
|
| H A D | srv6_hl2encap_red_l2vpn_test.sh | 6 # This script is designed for testing the SRv6 H.L2Encaps.Red behavior. 17 # i) The SRv6 H.L2Encaps.Red behavior applies SRv6 Policies on traffic 18 # received by connected hosts, initiating the VPN tunnel. Such a behavior 23 # Policy is made of only one SID, the SRv6 H.L2Encaps.Red behavior omits 26 # ii) The SRv6 End behavior advances the active SID in the SID List 29 # iii) The SRv6 End.DX2 behavior is used for removing the SRv6 Policy 75 # |fcff:x::e is associated with the SRv6 End behavior | 76 # |fcff:x::d2 is associated with the SRv6 End.DX2 behavior | 338 # Local End behavior (note that dev "${DUMMY_DEVNAME}" is a dummy 415 # Local End.DX2 behavior [all …]
|
| /linux/mm/ |
| H A D | madvise.c | 68 int behavior; member 156 bool set_new_anon_name = madv_behavior->behavior == __MADV_SET_ANON_VMA_NAME; in madvise_update_vma() 874 int behavior = madv_behavior->behavior; in madvise_dontneed_free_valid_vma() local 880 if (behavior != MADV_DONTNEED_LOCKED) in madvise_dontneed_free_valid_vma() 886 if (behavior != MADV_DONTNEED && behavior != MADV_DONTNEED_LOCKED) in madvise_dontneed_free_valid_vma() 906 int behavior = madv_behavior->behavior; in madvise_dontneed_free() local 955 if (behavior == MADV_DONTNEED || behavior == MADV_DONTNEED_LOCKED) in madvise_dontneed_free() 957 else if (behavior == MADV_FREE) in madvise_dontneed_free() 966 const bool write = madv_behavior->behavior == MADV_POPULATE_WRITE; in madvise_populate() 1274 static bool is_discard(int behavior) in is_discard() argument [all …]
|
| /linux/drivers/pci/ |
| H A D | pci-bridge-emul.c | 17 * default behavior. 33 * Reads and Writes will be filtered by specified behavior. All other bits not 466 const struct pci_bridge_reg_behavior *behavior; in pci_bridge_emul_conf_read() local 472 behavior = bridge->pci_regs_behavior; in pci_bridge_emul_conf_read() 479 behavior = NULL; in pci_bridge_emul_conf_read() 486 behavior = bridge->pcie_cap_regs_behavior; in pci_bridge_emul_conf_read() 492 behavior = NULL; in pci_bridge_emul_conf_read() 515 if (behavior) in pci_bridge_emul_conf_read() 516 *value &= behavior[reg / 4].ro | behavior[reg / 4].rw | in pci_bridge_emul_conf_read() 517 behavior[reg / 4].w1c; in pci_bridge_emul_conf_read() [all …]
|
| /linux/rust/kernel/time/ |
| H A D | delay.rs | 19 /// otherwise, it is erroneous behavior. That is, it is considered a bug 24 /// The behavior above differs from the C side [`fsleep()`] for which out-of-range 56 /// otherwise, it is erroneous behavior. That is, it is considered a bug to 59 /// The behavior above differs from the C side [`udelay()`] for which out-of-range 60 /// values could lead to an overflow and unexpected behavior. 77 // so any out-of-range value could lead to unexpected behavior in udelay() 78 // but won't lead to undefined behavior. in udelay()
|
| /linux/arch/parisc/kernel/ |
| H A D | sys_parisc.c | 390 asmlinkage notrace long parisc_madvise(unsigned long start, size_t len_in, int behavior) in parisc_madvise() argument 392 switch (behavior) { in parisc_madvise() 393 case 65: behavior = MADV_MERGEABLE; break; in parisc_madvise() 394 case 66: behavior = MADV_UNMERGEABLE; break; in parisc_madvise() 395 case 67: behavior = MADV_HUGEPAGE; break; in parisc_madvise() 396 case 68: behavior = MADV_NOHUGEPAGE; break; in parisc_madvise() 397 case 69: behavior = MADV_DONTDUMP; break; in parisc_madvise() 398 case 70: behavior = MADV_DODUMP; break; in parisc_madvise() 399 case 71: behavior = MADV_WIPEONFORK; break; in parisc_madvise() 400 case 72: behavior = MADV_KEEPONFORK; break; in parisc_madvise() [all …]
|
| /linux/tools/perf/trace/beauty/ |
| H A D | mmap.c | 65 static size_t madvise__scnprintf_behavior(int behavior, char *bf, size_t size) in madvise__scnprintf_behavior() argument 70 …if (behavior < strarray__madvise_advices.nr_entries && strarray__madvise_advices.entries[behavior]… in madvise__scnprintf_behavior() 71 return scnprintf(bf, size, "MADV_%s", strarray__madvise_advices.entries[behavior]); in madvise__scnprintf_behavior() 73 return scnprintf(bf, size, "%#", behavior); in madvise__scnprintf_behavior()
|
| /linux/Documentation/process/ |
| H A D | code-of-conduct.rst | 19 Examples of behavior that contributes to creating a positive environment 29 Examples of unacceptable behavior by participants include: 44 Maintainers are responsible for clarifying the standards of acceptable behavior 46 any instances of unacceptable behavior. 67 Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
| /linux/include/uapi/linux/ |
| H A D | seg6_local.h | 85 /* SRv6 Behavior counters are encoded as netlink attributes guaranteeing the 91 * packets that have been CORRECTLY processed by an SRv6 Behavior instance 96 * an SRv6 Behavior instance (i.e., packets that generate errors or are 100 * packets that have NOT been properly processed by an SRv6 Behavior instance 125 /* Designed flavor operations for SRv6 End* Behavior */
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-dust.rst | 4 This target emulates the behavior of bad sectors at arbitrary 10 requests on specific blocks (to emulate the behavior of a hard disk 13 When the failure behavior is enabled (i.e.: when the output of 22 This emulates the "remapped sector" behavior of a drive with bad 71 Check the status of the read behavior ("bypass" indicates that all I/O 111 To enable the "fail read on bad block" behavior, send the "enable" message:: 129 therefore emulating the "remap" behavior of hard disk drives:: 302 This target seeks to provide a device that can exhibit the behavior
|
| /linux/Documentation/core-api/ |
| H A D | memory-allocation.rst | 32 The GFP flags control the allocators behavior. They tell what memory 88 GFP flags and reclaim behavior 113 **default** page allocator behavior is used. That means that not costly 115 that behavior so failures have to be checked properly by callers 118 * ``GFP_KERNEL | __GFP_NORETRY`` - overrides the default allocator behavior 124 behavior and all allocation requests try really hard. The request 128 * ``GFP_KERNEL | __GFP_NOFAIL`` - overrides the default allocator behavior
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| H A D | pwrseq.c | 70 /* FW behavior */ 78 /* FW behavior */ 149 /*FW behavior*/ 157 /*FW behavior*/
|
| /linux/Documentation/cdrom/ |
| H A D | cdrom-standard.rst | 27 all these different devices has also allowed the behavior of each 29 This divergence of behavior has been very significant for CD-ROM 35 maintain uniform behavior across all the Linux CD-ROM drivers. 37 This document describes an effort to establish Uniform behavior across 66 importantly, it appeared that the behavior of the `standard` commands 73 behavior was usually different. 94 **one** Linux CD-ROM interface with consistent behavior for all 123 importantly, this led to the divergence of behavior, which has already 127 CD-ROM drive behavior, and to provide a common set of services to the various 165 place where the behavior of all CD-ROM-devices is defined and [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpiolib-devres.c | 40 * information about behavior and return values. 63 * detailed information about behavior and return values. 87 * information about behavior and return values. 173 * gpiod_get_index_optional() for detailed information about behavior and 204 * information about behavior and return values. 239 * See gpiod_get_array_optional() for detailed information about behavior and
|
| /linux/Documentation/scheduler/ |
| H A D | sched-ext.rst | 7 sched_ext is a scheduler class whose behavior can be defined by a set of BPF 19 The default scheduling behavior is restored anytime an error is detected, 136 * Note that this implementation has exactly the same behavior as the 137 * default ops.select_cpu implementation. The behavior of the scheduler 161 * Note that this implementation has exactly the same behavior as the 163 * to SCX_DSQ_GLOBAL. The behavior of the scheduler would be exactly same 364 behavior.
|
| /linux/arch/arm/kernel/ |
| H A D | smp_tlb.c | 106 * by an active process can lead to unexpected behavior in erratum_a15_798181_init() 110 * by an active process can lead to unexpected behavior in erratum_a15_798181_init() 112 * by an active process can lead to unexpected behavior in erratum_a15_798181_init() 117 * by an active process can lead to unexpected behavior in erratum_a15_798181_init()
|
| /linux/Documentation/driver-api/cxl/linux/ |
| H A D | memory-hotplug.rst | 12 1) Default Online Behavior (on/off and zone) 17 Default Online Behavior 19 The default-online behavior of hotplug memory is dictated by the following,
|
| /linux/Documentation/arch/riscv/ |
| H A D | hwprobe.rst | 30 * :c:macro:`RISCV_HWPROBE_WHICH_CPUS`: This flag basically reverses the behavior 58 user-visible behavior that this kernel supports. The following base user ABIs 72 base system behavior. 346 :c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`: base system behavior. 355 :c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`: base system behavior. 368 :c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`: base system behavior. 393 :c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`: base system behavior.
|
| /linux/Documentation/translations/zh_CN/rust/ |
| H A D | coding-guidelines.rst | 113 /// Calling this method on [`None`] is *[undefined behavior]*. 115 /// [undefined behavior]: https://doc.rust-lang.org/reference/behavior-considered-undefined.html
|
| /linux/Documentation/virt/kvm/x86/ |
| H A D | errata.rst | 46 versus "has_error_code", i.e. KVM's ABI follows AMD behavior. 53 to fully virtualize this behavior, even when vGIF is enabled for the guest 55 KVM does not virtualize this behavior as the complexity is unjustified given
|