Home
last modified time | relevance | path

Searched full:space (Results 1 – 25 of 9156) sorted by relevance

12345678910>>...367

/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm2-space.c31 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space) in tpm2_flush_sessions() argument
35 for (i = 0; i < ARRAY_SIZE(space->session_tbl); i++) { in tpm2_flush_sessions()
36 if (space->session_tbl[i]) in tpm2_flush_sessions()
37 tpm2_flush_context(chip, space->session_tbl[i]); in tpm2_flush_sessions()
41 int tpm2_init_space(struct tpm_space *space, unsigned int buf_size) in tpm2_init_space() argument
43 space->context_buf = kzalloc(buf_size, GFP_KERNEL); in tpm2_init_space()
44 if (!space->context_buf) in tpm2_init_space()
47 space->session_buf = kzalloc(buf_size, GFP_KERNEL); in tpm2_init_space()
48 if (space->session_buf == NULL) { in tpm2_init_space()
49 kfree(space->context_buf); in tpm2_init_space()
[all …]
/kernel/linux/linux-6.6/drivers/char/tpm/
Dtpm2-space.c31 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space) in tpm2_flush_sessions() argument
35 for (i = 0; i < ARRAY_SIZE(space->session_tbl); i++) { in tpm2_flush_sessions()
36 if (space->session_tbl[i]) in tpm2_flush_sessions()
37 tpm2_flush_context(chip, space->session_tbl[i]); in tpm2_flush_sessions()
41 int tpm2_init_space(struct tpm_space *space, unsigned int buf_size) in tpm2_init_space() argument
43 space->context_buf = kzalloc(buf_size, GFP_KERNEL); in tpm2_init_space()
44 if (!space->context_buf) in tpm2_init_space()
47 space->session_buf = kzalloc(buf_size, GFP_KERNEL); in tpm2_init_space()
48 if (space->session_buf == NULL) { in tpm2_init_space()
49 kfree(space->context_buf); in tpm2_init_space()
[all …]
/kernel/linux/linux-6.6/scripts/
Dtags.sh148 # - \s is not working with etags, use a space or [ \t]
153 '/^\(ENTRY\|_GLOBAL\)([[:space:]]*\([[:alnum:]_\\]*\)).*/\2/'
156 '/^SYSCALL_DEFINE[0-9]([[:space:]]*\([[:alnum:]_]*\).*/sys_\1/'
157 '/^BPF_CALL_[0-9]([[:space:]]*\([[:alnum:]_]*\).*/\1/'
158 '/^COMPAT_SYSCALL_DEFINE[0-9]([[:space:]]*\([[:alnum:]_]*\).*/compat_sys_\1/'
159 '/^TRACE_EVENT([[:space:]]*\([[:alnum:]_]*\).*/trace_\1/'
160 '/^TRACE_EVENT([[:space:]]*\([[:alnum:]_]*\).*/trace_\1_rcuidle/'
161 '/^DEFINE_EVENT([^,)]*,[[:space:]]*\([[:alnum:]_]*\).*/trace_\1/'
162 '/^DEFINE_EVENT([^,)]*,[[:space:]]*\([[:alnum:]_]*\).*/trace_\1_rcuidle/'
163 '/^DEFINE_INSN_CACHE_OPS([[:space:]]*\([[:alnum:]_]*\).*/get_\1_slot/'
[all …]
/kernel/linux/linux-5.10/fs/btrfs/tests/
Dfree-space-tests.c10 #include "../free-space-cache.h"
17 * entry and remove space from either end and the middle, and make sure we can
18 * remove space that covers adjacent extent entries.
40 test_err("full remove left some lingering space"); in test_extents()
70 test_err("still have space at the front"); in test_extents()
75 test_err("still have space in the middle"); in test_extents()
80 test_err("still have space at the end"); in test_extents()
110 test_err("left some space in bitmap"); in test_bitmaps()
136 test_err("couldn't add space that straddles two bitmaps %d", in test_bitmaps()
143 test_err("couldn't remove overlapping space %d", ret); in test_bitmaps()
[all …]
/kernel/linux/linux-5.10/arch/s390/kvm/
Dgaccess.h109 * Copies a simple value from kernel space to a guest vcpu's lowcore.
132 * write_guest_lc - copy data from kernel space to guest vcpu's lowcore
135 * @data: source address in kernel space
138 * Copy data from kernel space to guest vcpu's lowcore. The entire range must
158 * read_guest_lc - copy data from guest vcpu's lowcore to kernel space
161 * @data: destination address in kernel space
164 * Copy data from guest vcpu's lowcore to kernel space. The entire range must
201 * write_guest - copy data from kernel space to guest space
205 * @data: source address in kernel space
208 * Copy @len bytes from @data (kernel space) to @ga (guest address).
[all …]
/kernel/linux/linux-6.6/arch/s390/kvm/
Dgaccess.h109 * Copies a simple value from kernel space to a guest vcpu's lowcore.
132 * write_guest_lc - copy data from kernel space to guest vcpu's lowcore
135 * @data: source address in kernel space
138 * Copy data from kernel space to guest vcpu's lowcore. The entire range must
158 * read_guest_lc - copy data from guest vcpu's lowcore to kernel space
161 * @data: destination address in kernel space
164 * Copy data from guest vcpu's lowcore to kernel space. The entire range must
213 * write_guest_with_key - copy data from kernel space to guest space
217 * @data: source address in kernel space
221 * Copy @len bytes from @data (kernel space) to @ga (guest address).
[all …]
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_dump.c87 INT32 OsRegionOverlapCheckUnlock(LosVmSpace *space, LosVmMapRegion *region) in OsRegionOverlapCheckUnlock() argument
94 RB_SCAN_SAFE(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsRegionOverlapCheckUnlock()
102 "flags:%#x base:%p size:%08x space:%p\n" in OsRegionOverlapCheckUnlock()
103 "flags:%#x base:%p size:%08x space:%p", in OsRegionOverlapCheckUnlock()
104 region->regionFlags, region->range.base, region->range.size, region->space, in OsRegionOverlapCheckUnlock()
105 … regionTemp->regionFlags, regionTemp->range.base, regionTemp->range.size, regionTemp->space); in OsRegionOverlapCheckUnlock()
108 RB_SCAN_SAFE_END(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsRegionOverlapCheckUnlock()
113 UINT32 OsShellCmdProcessVmUsage(LosVmSpace *space) in OsShellCmdProcessVmUsage() argument
120 if (space == NULL) { in OsShellCmdProcessVmUsage()
124 if (space == LOS_GetKVmSpace()) { in OsShellCmdProcessVmUsage()
[all …]
Dlos_vm_map.c140 VM_ERR("Create mutex for vm space failed, status: %d", retval); in OsVmSpaceInitCommon()
212 LosVmSpace *space = LOS_MemAlloc(m_aucSysMem0, sizeof(LosVmSpace)); in OsCreateUserVmSpace() local
213 if (space == NULL) { in OsCreateUserVmSpace()
219 (VOID)LOS_MemFree(m_aucSysMem0, space); in OsCreateUserVmSpace()
224 retVal = OsUserVmSpaceInit(space, ttb); in OsCreateUserVmSpace()
227 (VOID)LOS_MemFree(m_aucSysMem0, space); in OsCreateUserVmSpace()
231 LOS_ListAdd(&space->archMmu.ptList, &(vmPage->node)); in OsCreateUserVmSpace()
233 return space; in OsCreateUserVmSpace()
451 OsDumpAspace(region->space); in OsInsertRegion()
480 LosVmSpace *space = NULL; in LOS_PaddrQuery() local
[all …]
Dlos_vm_syscall.c133 /* user mode calls mmap to release heap physical memory without releasing heap virtual space */ in LOS_MMap()
190 VOID *OsShrinkHeap(VOID *addr, LosVmSpace *space) in OsShrinkHeap() argument
195 oldBrk = LOS_Align(space->heapNow, PAGE_SIZE); in OsShrinkHeap()
197 return (void *)(UINTPTR)space->heapNow; in OsShrinkHeap()
199 space->heapNow = (VADDR_T)(UINTPTR)addr; in OsShrinkHeap()
205 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in LOS_DoBrk() local
213 return (void *)(UINTPTR)space->heapNow; in LOS_DoBrk()
216 if ((UINTPTR)addr < (UINTPTR)space->heapBase) { in LOS_DoBrk()
220 size = (UINTPTR)addr - (UINTPTR)space->heapBase; in LOS_DoBrk()
222 alignAddr = (CHAR *)(UINTPTR)(space->heapBase) + size; in LOS_DoBrk()
[all …]
/kernel/linux/linux-6.6/fs/btrfs/tests/
Dfree-space-tests.c10 #include "../free-space-cache.h"
17 * entry and remove space from either end and the middle, and make sure we can
18 * remove space that covers adjacent extent entries.
40 test_err("full remove left some lingering space"); in test_extents()
70 test_err("still have space at the front"); in test_extents()
75 test_err("still have space in the middle"); in test_extents()
80 test_err("still have space at the end"); in test_extents()
110 test_err("left some space in bitmap"); in test_bitmaps()
136 test_err("couldn't add space that straddles two bitmaps %d", in test_bitmaps()
143 test_err("couldn't remove overlapping space %d", ret); in test_bitmaps()
[all …]
/kernel/linux/linux-6.6/fs/ubifs/
Dbudget.c13 * space management.
15 * Factors such as compression, wasted space at the ends of LEBs, space in other
17 * impossible to accurately predict the amount of space needed. Consequently
26 * When pessimistic budget calculations say that there is no enough space,
62 * This function runs garbage collector to make some more free space. Returns
70 /* Make some free space by garbage-collecting dirty space */ in run_gc()
100 * make_free_space - make more free space on the file-system.
104 * is supposedly no free space. But in most cases there is some free space:
106 * needed, so shrinking the liability is one way to make free space - the
107 * cached data will take less space then it was budgeted for;
[all …]
/kernel/linux/linux-6.6/tools/perf/trace/beauty/
Dusbdevfs_ioctl.sh10 …="^#[[:space:]]*define[[:space:]]+USBDEVFS_(\w+)(\(\w+\))?[[:space:]]+_IO[CWR]{0,2}\([[:space:]]*(…
11 grep -E "$regex" ${header_dir}/usbdevice_fs.h | grep -E -v 'USBDEVFS_\w+32[[:space:]]' | \
17 regex="^#[[:space:]]*define[[:space:]]+USBDEVFS_(\w+)[[:space:]]+_IO[WR]{0,2}\([[:space:]]*'U'[[:sp…
18 grep -E $regex ${header_dir}/usbdevice_fs.h | grep -E 'USBDEVFS_\w+32[[:space:]]' | \
Dvhost_virtio_ioctl.sh7 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?\([[:space:]]*VHOST_VIRTIO[[:spa…
14 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?R\([[:space:]]*VHOST_VIRTIO[[:sp…
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
Dusbdevfs_ioctl.sh10 …="^#[[:space:]]*define[[:space:]]+USBDEVFS_(\w+)(\(\w+\))?[[:space:]]+_IO[CWR]{0,2}\([[:space:]]*(…
11 egrep "$regex" ${header_dir}/usbdevice_fs.h | egrep -v 'USBDEVFS_\w+32[[:space:]]' | \
17 regex="^#[[:space:]]*define[[:space:]]+USBDEVFS_(\w+)[[:space:]]+_IO[WR]{0,2}\([[:space:]]*'U'[[:sp…
18 egrep $regex ${header_dir}/usbdevice_fs.h | egrep 'USBDEVFS_\w+32[[:space:]]' | \
Dvhost_virtio_ioctl.sh7 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?\([[:space:]]*VHOST_VIRTIO[[:spa…
14 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?R\([[:space:]]*VHOST_VIRTIO[[:sp…
/kernel/linux/linux-5.10/fs/ubifs/
Dbudget.c13 * space management.
15 * Factors such as compression, wasted space at the ends of LEBs, space in other
17 * impossible to accurately predict the amount of space needed. Consequently
26 * When pessimistic budget calculations say that there is no enough space,
62 * This function runs garbage collector to make some more free space. Returns
70 /* Make some free space by garbage-collecting dirty space */ in run_gc()
103 * make_free_space - make more free space on the file-system.
107 * is supposedly no free space. But in most cases there is some free space:
109 * needed, so shrinking the liability is one way to make free space - the
110 * cached data will take less space then it was budgeted for;
[all …]
/kernel/linux/linux-6.6/tools/perf/trace/beauty/tracepoints/
Dx86_msr.sh17 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0x000…
24 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0xc00…
33 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0xc00…
/kernel/linux/linux-5.10/tools/perf/trace/beauty/tracepoints/
Dx86_msr.sh17 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0x000…
24 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0xc00…
33 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0xc00…
/kernel/linux/linux-5.10/arch/arm/mach-mv78xx0/
Dmv78xx0.h19 * c0000000 PCIe Memory space
20 * f0800000 PCIe #0 I/O space
21 * f0900000 PCIe #1 I/O space
22 * f0a00000 PCIe #2 I/O space
23 * f0b00000 PCIe #3 I/O space
24 * f0c00000 PCIe #4 I/O space
25 * f0d00000 PCIe #5 I/O space
26 * f0e00000 PCIe #6 I/O space
27 * f0f00000 PCIe #7 I/O space
32 * fee00000 f0800000 64K PCIe #0 I/O space
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-mv78xx0/
Dmv78xx0.h16 * c0000000 PCIe Memory space
17 * f0800000 PCIe #0 I/O space
18 * f0900000 PCIe #1 I/O space
19 * f0a00000 PCIe #2 I/O space
20 * f0b00000 PCIe #3 I/O space
21 * f0c00000 PCIe #4 I/O space
22 * f0d00000 PCIe #5 I/O space
23 * f0e00000 PCIe #6 I/O space
24 * f0f00000 PCIe #7 I/O space
29 * fee00000 f0800000 64K PCIe #0 I/O space
[all …]
/kernel/linux/linux-6.6/include/linux/
Drio_drv.h46 * rio_local_read_config_32 - Read 32 bits from local configuration space
48 * @offset: Offset into local configuration space
52 * device's configuration space.
61 * rio_local_write_config_32 - Write 32 bits to local configuration space
63 * @offset: Offset into local configuration space
67 * device's configuration space.
76 * rio_local_read_config_16 - Read 16 bits from local configuration space
78 * @offset: Offset into local configuration space
82 * device's configuration space.
91 * rio_local_write_config_16 - Write 16 bits to local configuration space
[all …]
/kernel/linux/linux-6.6/sound/core/
Dmemory.c15 * copy_to_user_fromio - copy data from mmio-space to user-space
16 * @dst: the destination pointer on user-space
20 * Copies the data from mmio-space to user-space.
35 * copy_to_iter_fromio - copy data from mmio-space to iov_iter
40 * Copies the data from mmio-space to iov_iter.
67 * copy_from_user_toio - copy data from user-space to mmio-space
68 * @dst: the destination pointer on mmio-space
69 * @src: the source pointer on user-space
72 * Copies the data from user-space to mmio-space.
87 * copy_from_iter_toio - copy data from iov_iter to mmio-space
[all …]
/kernel/linux/linux-5.10/Documentation/x86/x86_64/
D5level-paging.rst10 space and 64 TiB of physical address space. We are already bumping into
17 It bumps the limits to 128 PiB of virtual address space and 4 PiB of
18 physical address space. This "ought to be enough for anybody" ©.
34 User-space and large virtual address space
36 On x86, 5-level paging enables 56-bit userspace virtual address space.
37 Not all user space is ready to handle wide addresses. It's known that
42 To mitigate this, we are not going to allocate virtual address space
45 But userspace can ask for allocation from full address space by
50 occupied, we look for unmapped area in *full* address space, rather than
58 to allocation from 47-bit address space.
[all …]
/kernel/linux/linux-6.6/Documentation/arch/x86/x86_64/
D5level-paging.rst10 space and 64 TiB of physical address space. We are already bumping into
17 It bumps the limits to 128 PiB of virtual address space and 4 PiB of
18 physical address space. This "ought to be enough for anybody" ©.
34 User-space and large virtual address space
36 On x86, 5-level paging enables 56-bit userspace virtual address space.
37 Not all user space is ready to handle wide addresses. It's known that
42 To mitigate this, we are not going to allocate virtual address space
45 But userspace can ask for allocation from full address space by
50 occupied, we look for unmapped area in *full* address space, rather than
58 to allocation from 47-bit address space.
[all …]
/kernel/linux/linux-5.10/include/linux/
Drio_drv.h46 * rio_local_read_config_32 - Read 32 bits from local configuration space
48 * @offset: Offset into local configuration space
52 * device's configuration space.
61 * rio_local_write_config_32 - Write 32 bits to local configuration space
63 * @offset: Offset into local configuration space
67 * device's configuration space.
76 * rio_local_read_config_16 - Read 16 bits from local configuration space
78 * @offset: Offset into local configuration space
82 * device's configuration space.
91 * rio_local_write_config_16 - Write 16 bits to local configuration space
[all …]

12345678910>>...367