Home
last modified time | relevance | path

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

12345678910>>...165

/linux/drivers/char/tpm/
H A 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 …]
/linux/scripts/
H A Dtags.sh143 # - \s is not working with etags, use a space or [ \t]
148 '/^\(ENTRY\|_GLOBAL\)([[:space:]]*\([[:alnum:]_\\]*\)).*/\2/'
149 '/^SYM_[[:alnum:]_]*START[[:alnum:]_]*([[:space:]]*\([[:alnum:]_\\]*\)).*/\1/'
152 '/^SYSCALL_DEFINE[0-9]([[:space:]]*\([[:alnum:]_]*\).*/sys_\1/'
153 '/^BPF_CALL_[0-9]([[:space:]]*\([[:alnum:]_]*\).*/\1/'
154 '/^COMPAT_SYSCALL_DEFINE[0-9]([[:space:]]*\([[:alnum:]_]*\).*/compat_sys_\1/'
155 '/^TRACE_EVENT([[:space:]]*\([[:alnum:]_]*\).*/trace_\1/'
156 '/^DEFINE_EVENT([^,)]*,[[:space:]]*\([[:alnum:]_]*\).*/trace_\1/'
157 '/^DEFINE_INSN_CACHE_OPS([[:space:]]*\([[:alnum:]_]*\).*/get_\1_slot/'
158 '/^DEFINE_INSN_CACHE_OPS([[:space:]]*\([[:alnum:]_]*\).*/free_\1_slot/'
[all …]
/linux/arch/s390/kvm/
H A 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 …]
/linux/fs/btrfs/tests/
H A 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 …]
H A Dfree-space-tree-tests.c10 #include "../free-space-tree.h"
37 test_err("could not find free space info"); in __check_free_space_extents()
102 test_err("free space tree is invalid"); in __check_free_space_extents()
120 test_err("could not find free space info"); in check_free_space_extents()
177 test_err("could not remove free space"); in test_remove_all()
199 test_err("could not remove free space"); in test_remove_beginning()
223 test_err("could not remove free space"); in test_remove_end()
247 test_err("could not remove free space"); in test_remove_middle()
269 test_err("could not remove free space"); in test_merge_left()
276 test_err("could not add free space"); in test_merge_left()
[all …]
/linux/fs/ubifs/
H A 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 …]
/linux/tools/perf/trace/beauty/
H A Dusbdevfs_ioctl.sh10 regex="^#[[:space:]]*define[[:space:]]+USBDEVFS_(\w+)(\(\w+\))?[[:space:]]+_IO[CWR]{0,2}\([[:space:]]*(_IOC_\w+,[[:space:]]*)?'U'[[:space:]]*,[[:space:]]*([[:digit:]]+).*"
11 grep -E "$regex" ${beauty_uapi_linux_dir}/usbdevice_fs.h | grep -E -v 'USBDEVFS_\w+32[[:space:]]' | \
17 regex="^#[[:space:]]*define[[:space
[all...]
H A Dvhost_virtio_ioctl.sh7 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?\([[:space:]]*VHOST_VIRTIO[[:space:]]*,[[:space:]]*(0x[[:xdigit:]]+).*'
14 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?R\([[:space
[all...]
H A Dmount_flags.sh7 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MS_([[:alnum:]_]+)[[:space:]]+([[:digit:]]+)[[:space:]]*.*'
11 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MS_([[:alnum:]_]+)[[:space:]]+\(1<<([[:digit:]]+)\)[[:space
[all...]
/linux/tools/perf/trace/beauty/tracepoints/
H A 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…
/linux/include/linux/
H A 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 …]
/linux/arch/arm/mach-mv78xx0/
H A 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 …]
/linux/Documentation/arch/powerpc/
H A Dpci_iov_resource_on_powernv.rst57 - For DMA we then provide an entire address space for each PE that can
63 - For MSIs, we have two windows in the address space (one at the top of
64 the 32-bit space and one much higher) which, via a combination of the
75 from the CPU address space to the PCI address space. There is one M32
78 the CPU address space to the PCIe bus and must be naturally aligned
89 portion of address space from the CPU to PCIe
93 ignores that however and will forward in that space if we try).
96 maps each segment to a PE#. That allows portions of the MMIO space
102 onto a segment alignment/granularity so that the space behind a bridge
127 for large BARs in 64-bit space:
[all …]
/linux/Documentation/PCI/
H A Dacpi-info.rst12 method for accessing PCI config space below it, the address space windows
33 reserving address space. The static tables are for things the OS needs to
45 describe all the address space they consume. This includes all the windows
53 space, since it is consumed by the host bridge.
58 spec defines Consumer/Producer only for the Extended Address Space
60 Address Space descriptors. Consequently, OSes have to assume all
63 Prior to the addition of Extended Address Space descriptors, the failure of
66 bridge registers (including ECAM space) in PNP0C02 catch-all devices [6].
67 With the exception of ECAM, the bridge register space is device-specific
71 New architectures should be able to use "Consumer" Extended Address Space
[all …]
/linux/arch/loongarch/include/asm/
H A Duaccess.h28 * get_user: - Get a simple variable from user space.
30 * @ptr: Source address, in user space.
35 * This macro copies a single simple variable from user space to kernel
36 * space. It supports simple types like char and int, but not larger
55 * put_user: - Write a simple value into user space.
56 * @x: Value to copy to user space.
57 * @ptr: Destination address, in user space.
62 * This macro copies a single simple value from kernel space to user
63 * space. It supports simple types like char and int, but not larger
80 * __get_user: - Get a simple variable from user space, with less checking.
[all …]
/linux/lib/
H A Diomap_copy.c10 * __iowrite32_copy - copy data to MMIO space, in 32-bit units
11 * @to: destination, in MMIO space (must be 32-bit aligned)
15 * Copy data from kernel space to MMIO space, in units of 32 bits at a
33 * __ioread32_copy - copy data from MMIO space, in 32-bit units
35 * @from: source, in MMIO space (must be 32-bit aligned)
38 * Copy data from MMIO space to kernel space, in units of 32 bits at a
54 * __iowrite64_copy - copy data to MMIO space, in 64-bit or 32-bit units
55 * @to: destination, in MMIO space (must be 64-bit aligned)
59 * Copy data from kernel space to MMIO space, in units of 32 or 64 bits at a
/linux/drivers/comedi/
H A Dcomedi_buf.c277 * comedi_buf_write_alloc() - Reserve buffer space for writing
279 * @nbytes: Maximum space to reserve in bytes.
281 * Reserve up to @nbytes bytes of space to be written in the COMEDI acquisition
283 * by the space available.
285 * Return: The amount of space reserved in bytes.
300 * before we write data to the write-alloc'ed buffer space in comedi_buf_write_alloc()
310 * and kernel space
366 * comedi_buf_write_free() - Free buffer space after it is written
368 * @nbytes: Maximum space to free in bytes.
370 * Free up to @nbytes bytes of space previously reserved for writing in the
[all …]
/linux/Documentation/mm/
H A Dactive_mm.rst31 difference is that an anonymous address space doesn't care about the
33 anonymous address space we just leave the previous address space
36 The obvious use for a "anonymous address space" is any thread that
39 some amount of time they are not going to be interested in user space,
44 - "tsk->mm" points to the "real address space". For an anonymous process,
46 really doesn't _have_ a real address space at all.
48 - however, we obviously need to keep track of which address space we
50 which shows what the currently active address space is.
52 The rule is that for a process with a real address space (ie tsk->mm is
58 anonymous process gets scheduled away, the borrowed address space is
[all …]
/linux/fs/xfs/scrub/
H A Dalloc_repair.c44 * Free Space Btree Repair
47 * The reverse mappings are supposed to record all space usage for the entire
53 * Because the final step of building a new index is to free the space used by
54 * the old index, repair needs to find that space. Unfortunately, all
55 * structures that live in the free space (bnobt, cntbt, rmapbt, agfl) share
58 * The scan of the reverse mapping information records the space used by OWN_AG
81 * Next, some of the space described by @free_records are diverted to the newbt
86 * We use the prefix 'xrep_abt' here because we regenerate both free space
106 /* Free space extents. */
114 /* get_records()'s position in the free space record array. */
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_flat_memory.c50 * This pointer space has the Shared(LDS) and Private(Scratch) memory
51 * mapped into this pointer space as apertures.
76 * HSA64 – 64b pointers and the default address space is ATC
77 * HSA32 – 32b pointers and the default address space is ATC
78 * GPUVM – 64b pointers and the default address space is GPUVM (driver
86 * (VA[63:47] == 0x1FFFF) and low area (VA[63:47 == 0) of the address space
88 * the middle of the 64b VA space.
90 * The GPU not only has access to all of the CPU accessible address space via
91 * ATC/IOMMU, but it also has access to the GPUVM address space. The “system
93 * spaces into a unified pointer space. The method we take for 64b mode is
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Ddcsr.txt17 debug blocks defined within this memory space.
25 The DCSR space exists in the memory-mapped bus.
44 range of the DCSR space.
57 This node represents the region of DCSR space allocated to the EPU
91 offset and length of the DCSR space registers of the device
107 This node represents the region of DCSR space allocated to the NPC
120 offset and length of the DCSR space registers of the device
122 The Nexus Port controller occupies two regions in the DCSR space
144 This node represents the region of DCSR space allocated to the NXC
157 offset and length of the DCSR space registers of the device
[all …]
/linux/drivers/rapidio/
H A Drio-access.c3 * RapidIO configuration space access support
25 * @size: Size of configuration space read (8, 16, 32 bits)
27 * @len: Length of configuration space read (1, 2, 4 bytes)
30 * configuration space registers on the local device.
46 * @size: Size of configuration space write (8, 16, 32 bits)
48 * @len: Length of configuration space write (1, 2, 4 bytes)
51 * configuration space registers on the local device.
77 * @size: Size of configuration space read (8, 16, 32 bits)
79 * @len: Length of configuration space read (1, 2, 4 bytes)
82 * configuration space registers on the local device.
[all …]
/linux/Documentation/hwmon/
H A Dit87.rst10 Addresses scanned: from Super I/O config space (8 I/O ports)
18 Addresses scanned: from Super I/O config space (8 I/O ports)
24 Addresses scanned: from Super I/O config space (8 I/O ports)
32 Addresses scanned: from Super I/O config space (8 I/O ports)
40 Addresses scanned: from Super I/O config space (8 I/O ports)
48 Addresses scanned: from Super I/O config space (8 I/O ports)
56 Addresses scanned: from Super I/O config space (8 I/O ports)
64 Addresses scanned: from Super I/O config space (8 I/O ports)
72 Addresses scanned: from Super I/O config space (8 I/O ports)
80 Addresses scanned: from Super I/O config space (8 I/O ports)
[all …]
/linux/arch/xtensa/lib/
H A Dpci-auto.c31 * pci_ctrl->io_space.start = <IO space start address (PCI view)>
32 * pci_ctrl->io_space.end = <IO space end address (PCI view)>
33 * pci_ctrl->io_space.base = <IO space offset: address 0 from CPU space>
34 * pci_ctrl->mem_space.start = <MEM space start address (PCI view)>
35 * pci_ctrl->mem_space.end = <MEM space end address (PCI view)>
36 * pci_ctrl->mem_space.base = <MEM space offset: address 0 from CPU space>
38 * pcibios_init_resource(&pci_ctrl->io_resource, <IO space start>,
39 * <IO space end>, IORESOURCE_IO, "PCI host bridge");
40 * pcibios_init_resource(&pci_ctrl->mem_resources[0], <MEM space start>,
41 * <MEM space end>, IORESOURCE_MEM, "PCI host bridge");
[all …]
/linux/drivers/char/ipmi/
H A Dipmi_dmi.c25 unsigned int space; /* addr space for si, intf# for ssif */ member
36 unsigned int space, in dmi_add_platform_ipmi() argument
71 p.space = space; in dmi_add_platform_ipmi()
82 info->space = space; in dmi_add_platform_ipmi()
100 int ipmi_dmi_get_slave_addr(enum si_type si_type, unsigned int space, in ipmi_dmi_get_slave_addr() argument
107 info->space == space && in ipmi_dmi_get_slave_addr()
129 int space = IPMI_IO_ADDR_SPACE; in dmi_decode_ipmi() local
149 space = 0; /* Match I2C interface 0. */ in dmi_decode_ipmi()
166 space = IPMI_MEM_ADDR_SPACE; in dmi_decode_ipmi()
210 dmi_add_platform_ipmi(base_addr, space, slave_addr, irq, in dmi_decode_ipmi()

12345678910>>...165