Home
last modified time | relevance | path

Searched refs:behavior (Results 1 – 25 of 433) sorted by relevance

12345678910>>...18

/linux-6.12.1/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()
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()
257 buf->behavior->topic, user_mem_size, buf->mappable_size);
270 buf->behavior->topic, vma->vm_start);
[all …]
/linux-6.12.1/drivers/pci/
Dpci-bridge-emul.c466 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()
543 const struct pci_bridge_reg_behavior *behavior; in pci_bridge_emul_conf_write() local
553 behavior = bridge->pci_regs_behavior; in pci_bridge_emul_conf_write()
[all …]
/linux-6.12.1/security/
Ddevice_cgroup.c46 enum devcg_behavior behavior; member
179 return (devcg->behavior != DEVCG_DEFAULT_NONE); in is_devcg_online()
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()
406 enum devcg_behavior behavior) in verify_new_ex() argument
414 if (dev_cgroup->behavior == DEVCG_DEFAULT_ALLOW) { in verify_new_ex()
415 if (behavior == DEVCG_DEFAULT_ALLOW) { in verify_new_ex()
[all …]
/linux-6.12.1/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()
853 int behavior) in madvise_dontneed_free_valid_vma() argument
858 if (behavior != MADV_DONTNEED_LOCKED) in madvise_dontneed_free_valid_vma()
864 if (behavior != MADV_DONTNEED && behavior != MADV_DONTNEED_LOCKED) in madvise_dontneed_free_valid_vma()
883 int behavior) in madvise_dontneed_free() argument
888 if (!madvise_dontneed_free_valid_vma(vma, start, &end, behavior)) in madvise_dontneed_free()
906 behavior)) in madvise_dontneed_free()
926 if (behavior == MADV_DONTNEED || behavior == MADV_DONTNEED_LOCKED) in madvise_dontneed_free()
928 else if (behavior == MADV_FREE) in madvise_dontneed_free()
[all …]
Dmseal.c24 static bool is_madv_discard(int behavior) in is_madv_discard() argument
26 switch (behavior) { in is_madv_discard()
59 bool can_modify_vma_madv(struct vm_area_struct *vma, int behavior) in can_modify_vma_madv() argument
61 if (!is_madv_discard(behavior)) in can_modify_vma_madv()
/linux-6.12.1/arch/parisc/kernel/
Dsys_parisc.c390 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-6.12.1/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()
/linux-6.12.1/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
/linux-6.12.1/Documentation/translations/zh_CN/rust/
Dcoding-guidelines.rst113 /// Calling this method on [`None`] is *[undefined behavior]*.
115 /// [undefined behavior]: https://doc.rust-lang.org/reference/behavior-considered-undefined.html
/linux-6.12.1/Documentation/admin-guide/device-mapper/
Ddm-dust.rst4 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-6.12.1/Documentation/core-api/
Dmemory-allocation.rst32 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-6.12.1/arch/xtensa/
DKconfig.debug18 The default linker behavior is to combine identical literal
28 Enable this option to test S32C1I instruction behavior at boot.
/linux-6.12.1/Documentation/arch/powerpc/
Dsyscall64-abi.rst87 Syscall behavior can change if the processor is in transactional or suspended
88 transaction state, and the syscall can affect the behavior of the transaction.
97 behavior depends on the presence of PPC_FEATURE2_HTM_NOSC in the AT_HWCAP2 ELF
108 behavior should not be relied upon.
/linux-6.12.1/drivers/staging/vc04_services/interface/
DTODO34 * Fix behavior of message handling
36 The polling behavior of vchiq_bulk_transmit(), vchiq_bulk_receive() and
/linux-6.12.1/Documentation/trace/rv/
Druntime-verification.rst13 the system behavior.
16 behavior of the monitored system, without the pitfalls of developing models
28 undesired) behavior, and the trace of the actual system.
56 event occurrence to the enforcement of the correct behavior to the extreme
111 For further information about modeling of Linux kernel behavior using automata,
/linux-6.12.1/scripts/selinux/mdp/
Dmdp.c154 #define FS_USE(behavior, fstype) \ in main() argument
156 behavior, fstype, mls ? ":" SYSTEMLOW : "") in main()
/linux-6.12.1/lib/
DKconfig.ubsan131 arithmetic undefined behavior into wrap-around arithmetic. Future
133 exclusively undefined behavior).
162 tristate "Module for testing for undefined behavior detection"
166 It triggers various undefined behavior, and detect it.
/linux-6.12.1/Documentation/hwmon/
Ddrivetemp.rst38 drives as well. The same behavior is observed if the 'hdtemp' or 'smartd'
44 drives experience similar behavior.
/linux-6.12.1/Documentation/admin-guide/cgroup-v1/
Dmemcg_test.rst9 Because VM is getting complex (one of reasons is memcg...), memcg's behavior
10 is complex. This is a document for memcg's internal behavior.
114 But brief explanation of the behavior of memcg around shmem will be
152 (Memory behavior under GB and Memory behavior under MB shows very
/linux-6.12.1/Documentation/tools/rtla/
Dindex.rst8 behavior on specific hardware.
/linux-6.12.1/tools/testing/selftests/futex/
DREADME6 Functional tests shall test the documented behavior of the futex operation
7 code under test. This includes checking for proper behavior under normal use,
/linux-6.12.1/Documentation/admin-guide/
Djfs.rst16 iocharset=none specifies the default behavior explicitly.
34 previously specified in order to restore normal behavior.
/linux-6.12.1/tools/kvm/kvm_stat/
Dkvm_stat.txt18 This tool is useful for observing guest behavior from the host perspective.
19 Often conclusions about performance or buggy behavior can be drawn from the
/linux-6.12.1/Documentation/arch/arm/
Dmem_alignment.rst30 To change the alignment trap behavior, simply echo a number into
34 bit behavior when set
/linux-6.12.1/arch/sh/drivers/
DKconfig11 behavior is platform-dependent, but normally the flash frequency is

12345678910>>...18