Home
last modified time | relevance | path

Searched full:behavior (Results 1 – 25 of 2661) sorted by relevance

12345678910>>...107

/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
Dmemory_mgr.c47 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 …]
/kernel/linux/linux-5.10/security/
Ddevice_cgroup.c45 enum devcg_behavior behavior; member
178 return (devcg->behavior != DEVCG_DEFAULT_NONE); in is_devcg_online()
182 * devcgroup_online - initializes devcgroup's behavior and exceptions based on
196 dev_cgroup->behavior = DEVCG_DEFAULT_ALLOW; in devcgroup_online()
201 dev_cgroup->behavior = parent_dev_cgroup->behavior; in devcgroup_online()
213 dev_cgroup->behavior = DEVCG_DEFAULT_NONE; in devcgroup_offline()
229 dev_cgroup->behavior = DEVCG_DEFAULT_NONE; in devcgroup_css_alloc()
293 if (devcgroup->behavior == DEVCG_DEFAULT_ALLOW) { in devcgroup_seq_show()
398 * @behavior: behavior of the exception's dev_cgroup
405 enum devcg_behavior behavior) in verify_new_ex() argument
[all …]
/kernel/linux/linux-6.6/security/
Ddevice_cgroup.c46 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()
294 if (devcgroup->behavior == DEVCG_DEFAULT_ALLOW) { in devcgroup_seq_show()
399 * @behavior: behavior of the exception's dev_cgroup
406 enum devcg_behavior behavior) in verify_new_ex() argument
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dsrv6_end_flavors_test.sh8 # 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 is used to remove the SRH when such
[all …]
Dsrv6_end_x_next_csid_l3vpn_test.sh8 # 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
85 # | End.DT46 behavior |
88 # | of SRv6 End.X behavior |
91 # | behavior when NEXT-C-SID compression is turned on |
[all …]
Dsrv6_end_next_csid_l3vpn_test.sh7 # 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 …]
Dsrv6_hencap_red_l3vpn_test.sh6 # 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 |
420 # Local End behavior (note that "dev" is dummy and the VRF is chosen
[all …]
/kernel/linux/linux-6.6/mm/
Dmadvise.c50 static int madvise_need_mmap_write(int behavior) in madvise_need_mmap_write() argument
52 switch (behavior) { in madvise_need_mmap_write()
832 int behavior) in madvise_dontneed_free_valid_vma() argument
837 if (behavior != MADV_DONTNEED_LOCKED) in madvise_dontneed_free_valid_vma()
843 if (behavior != MADV_DONTNEED && behavior != MADV_DONTNEED_LOCKED) in madvise_dontneed_free_valid_vma()
862 int behavior) in madvise_dontneed_free() argument
867 if (!madvise_dontneed_free_valid_vma(vma, start, &end, behavior)) in madvise_dontneed_free()
885 behavior)) in madvise_dontneed_free()
914 if (behavior == MADV_DONTNEED || behavior == MADV_DONTNEED_LOCKED) in madvise_dontneed_free()
916 else if (behavior == MADV_FREE) in madvise_dontneed_free()
[all …]
/kernel/linux/linux-6.6/drivers/pci/
Dpci-bridge-emul.c17 * 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 …]
/kernel/linux/linux-5.10/mm/
Dmadvise.c49 static int madvise_need_mmap_write(int behavior) in madvise_need_mmap_write() argument
51 switch (behavior) { in madvise_need_mmap_write()
778 int behavior) in madvise_dontneed_free() argument
825 if (behavior == MADV_DONTNEED) in madvise_dontneed_free()
827 else if (behavior == MADV_FREE) in madvise_dontneed_free()
883 * Apply an madvise behavior to a region of a vma. madvise_update_vma
885 * behavior.
890 unsigned long behavior) in madvise_vma_behavior() argument
896 switch (behavior) { in madvise_vma_behavior()
907 return madvise_dontneed_free(vma, prev, start, end, behavior); in madvise_vma_behavior()
[all …]
/kernel/linux/linux-5.10/drivers/pci/
Dpci-bridge-emul.c17 * default behavior.
34 * Reads and Writes will be filtered by specified behavior. All other bits not
367 const struct pci_bridge_reg_behavior *behavior; in pci_bridge_emul_conf_read() local
383 behavior = bridge->pcie_cap_regs_behavior; in pci_bridge_emul_conf_read()
387 behavior = bridge->pci_regs_behavior; in pci_bridge_emul_conf_read()
402 *value &= behavior[reg / 4].ro | behavior[reg / 4].rw | in pci_bridge_emul_conf_read()
403 behavior[reg / 4].w1c; in pci_bridge_emul_conf_read()
429 const struct pci_bridge_reg_behavior *behavior; in pci_bridge_emul_conf_write() local
456 behavior = bridge->pcie_cap_regs_behavior; in pci_bridge_emul_conf_write()
460 behavior = bridge->pci_regs_behavior; in pci_bridge_emul_conf_write()
[all …]
/kernel/liteos_a/kernel/extended/plimit/
Dlos_devicelimit.c47 deviceLimit->behavior = DEVLIMIT_DEFAULT_ALLOW; in OsDevLimitInit()
60 plimit->behavior = DEVLIMIT_DEFAULT_NONE; in OsDevLimitAlloc()
89 devLimitDest->behavior = devLimitSrc->behavior; in DevLimitCopyAccess()
175 return (parent->behavior == DEVLIMIT_DEFAULT_ALLOW); in DevLimitMayAllowAll()
213 devLimit->behavior = DEVLIMIT_DEFAULT_ALLOW; in DealItemAllAccess()
225 devLimit->behavior = DEVLIMIT_DEFAULT_DENY; in DealItemAllAccess()
299 if (parent->behavior == DEVLIMIT_DEFAULT_ALLOW) { in DevLimitVerifyNewItem()
375 if (!DevLimitParentAllowsAddItem(devParentLimit, walK, devLimit->behavior)) { in DevLimitRevalidateActiveItems()
409 if (devLimit->behavior == DEVLIMIT_DEFAULT_ALLOW && in DevLimitPropagateItem()
410 devLimitChild->behavior == DEVLIMIT_DEFAULT_ALLOW) { in DevLimitPropagateItem()
[all …]
/kernel/linux/linux-6.6/arch/parisc/kernel/
Dsys_parisc.c389 asmlinkage notrace long parisc_madvise(unsigned long start, size_t len_in, int behavior) in parisc_madvise() argument
391 switch (behavior) { in parisc_madvise()
392 case 65: behavior = MADV_MERGEABLE; break; in parisc_madvise()
393 case 66: behavior = MADV_UNMERGEABLE; break; in parisc_madvise()
394 case 67: behavior = MADV_HUGEPAGE; break; in parisc_madvise()
395 case 68: behavior = MADV_NOHUGEPAGE; break; in parisc_madvise()
396 case 69: behavior = MADV_DONTDUMP; break; in parisc_madvise()
397 case 70: behavior = MADV_DODUMP; break; in parisc_madvise()
398 case 71: behavior = MADV_WIPEONFORK; break; in parisc_madvise()
399 case 72: behavior = MADV_KEEPONFORK; break; in parisc_madvise()
[all …]
/kernel/linux/linux-6.6/tools/perf/trace/beauty/
Dmmap.c65 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()
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
Dmmap.c65 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()
/kernel/linux/linux-5.10/Documentation/process/
Dcode-of-conduct.rst19 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
/kernel/linux/linux-6.6/Documentation/process/
Dcode-of-conduct.rst19 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
/kernel/linux/linux-6.6/include/uapi/linux/
Dseg6_local.h85 /* 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 */
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dsys_parisc.c459 asmlinkage notrace long parisc_madvise(unsigned long start, size_t len_in, int behavior) in parisc_madvise() argument
461 switch (behavior) { in parisc_madvise()
462 case 65: behavior = MADV_MERGEABLE; break; in parisc_madvise()
463 case 66: behavior = MADV_UNMERGEABLE; break; in parisc_madvise()
464 case 67: behavior = MADV_HUGEPAGE; break; in parisc_madvise()
465 case 68: behavior = MADV_NOHUGEPAGE; break; in parisc_madvise()
466 case 69: behavior = MADV_DONTDUMP; break; in parisc_madvise()
467 case 70: behavior = MADV_DODUMP; break; in parisc_madvise()
468 case 71: behavior = MADV_WIPEONFORK; break; in parisc_madvise()
469 case 72: behavior = MADV_KEEPONFORK; break; in parisc_madvise()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dpwrseq.c70 /* FW behavior */
78 /* FW behavior */
149 /*FW behavior*/
157 /*FW behavior*/
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dpwrseq.c70 /* FW behavior */
78 /* FW behavior */
149 /*FW behavior*/
157 /*FW behavior*/
/kernel/linux/linux-5.10/Documentation/core-api/
Dmemory-allocation.rst32 The GFP flags control the allocators behavior. They tell what memory
87 GFP flags and reclaim behavior
112 **default** page allocator behavior is used. That means that not costly
114 that behavior so failures have to be checked properly by callers
117 * ``GFP_KERNEL | __GFP_NORETRY`` - overrides the default allocator behavior
123 behavior and all allocation requests try really hard. The request
127 * ``GFP_KERNEL | __GFP_NOFAIL`` - overrides the default allocator behavior
/kernel/linux/linux-6.6/Documentation/core-api/
Dmemory-allocation.rst32 The GFP flags control the allocators behavior. They tell what memory
87 GFP flags and reclaim behavior
112 **default** page allocator behavior is used. That means that not costly
114 that behavior so failures have to be checked properly by callers
117 * ``GFP_KERNEL | __GFP_NORETRY`` - overrides the default allocator behavior
123 behavior and all allocation requests try really hard. The request
127 * ``GFP_KERNEL | __GFP_NOFAIL`` - overrides the default allocator behavior
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/
Dhal_pwr_seq.c100 /* FW behavior */
109 /* FW behavior */
118 /* SW behavior */
127 /* SW behavior */
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Dhal_pwr_seq.c100 /* FW behavior */
109 /* FW behavior */
118 /* SW behavior */
127 /* SW behavior */

12345678910>>...107