Home
last modified time | relevance | path

Searched full:paste (Results 1 – 25 of 100) sorted by relevance

1234

/linux-6.12.1/tools/testing/selftests/bpf/
Duprobe_multi.c21 #define PASTE(a, b) __PASTE(a, b) macro
23 #define NAME(name, idx) PASTE(name, idx)
31 F(body, PASTE(name, idx), 0) F(body, PASTE(name, idx), 1) F(body, PASTE(name, idx), 2) \
32 F(body, PASTE(name, idx), 3) F(body, PASTE(name, idx), 4) F(body, PASTE(name, idx), 5) \
33 F(body, PASTE(name, idx), 6) F(body, PASTE(name, idx), 7) F(body, PASTE(name, idx), 8) \
34 F(body, PASTE(name, idx), 9)
37 F10(body, PASTE(name, idx), 0) F10(body, PASTE(name, idx), 1) F10(body, PASTE(name, idx), 2) \
38 F10(body, PASTE(name, idx), 3) F10(body, PASTE(name, idx), 4) F10(body, PASTE(name, idx), 5) \
39 F10(body, PASTE(name, idx), 6) F10(body, PASTE(name, idx), 7) F10(body, PASTE(name, idx), 8) \
40 F10(body, PASTE(name, idx), 9)
[all …]
/linux-6.12.1/arch/powerpc/platforms/book3s/
Dvas-api.c33 * where "vas_copy" and "vas_paste" are defined in copy-paste.h.
34 * copy/paste returns to the user space directly. So refer NX hardware
35 * documentation for exact copy/paste usage and completion / error
356 * If the executed instruction that caused the fault was a paste, then
379 * Not a paste instruction, driver may fail the fault. in do_fail_paste()
384 regs->ccr &= ~0xe0000000; /* Clear CR0[0-2] to fail paste */ in do_fail_paste()
385 regs_add_return_ip(regs, 4); /* Emulate the paste */ in do_fail_paste()
392 * the paste address. Happens if the kernel closes window in hypervisor
393 * (on pseries) due to lost credit or the paste address is not mapped.
409 pr_err("Unexpected fault on paste address with TX window closed\n"); in vas_mmap_fault()
[all …]
/linux-6.12.1/rust/macros/
Dlib.rs14 mod paste; module
301 /// Paste identifiers together.
303 /// Within the `paste!` macro, identifiers inside `[<` and `>]` are concatenated together to form a
306 /// This is similar to the [`paste`] crate, but with pasting feature limited to identifiers and
313 /// use kernel::macro::paste;
317 /// paste! {
357 /// use kernel::macro::paste;
361 /// kernel::macros::paste! {
396 /// kernel::macros::paste! {
407 /// [`paste`]: https://docs.rs/paste/
[all …]
/linux-6.12.1/Documentation/arch/powerpc/
Dvas-api.rst22 Block (CRB) and these CRBs must be submitted to the NX using COPY/PASTE
23 instructions to paste the CRB to hardware address that is associated with
47 using copy/paste instructions and pasting the CRBs to the virtual address
74 Note that the copy and paste operations go directly to the hardware and
75 do not go through this device. Refer COPY/PASTE document for more
168 that the application can use to copy/paste its CRB to the hardware engines.
198 Copy/Paste operations
201 Applications should use the copy and paste instructions to send CRB to NX.
202 Refer section 4.4 in PowerISA for Copy/Paste instructions:
/linux-6.12.1/arch/powerpc/platforms/powernv/
Dcopy-paste.h9 * Copy/paste instructions:
15 * paste RA,RB
16 * Paste contents of internal copy-buffer to the address
Dvas.h27 * "paste" instructions which were introduced in Power9.
71 * "paste" address that is used to submit requests/CRBs (see vas_paste_crb()).
73 * The hardware paste address for a window is computed using the "paste
74 * base address" and "paste win id shift" reg properties in the VAS device
82 * after which they can use the 'paste' instruction (new in Power9) to
227 * to a paste command and hence applies only to receive windows.
Dvas-window.c21 #include "copy-paste.h"
27 * Compute the paste address region for the window @window using the
43 pr_debug("Txwin #%d: Paste addr 0x%llx\n", winid, *addr); in vas_win_paste_addr()
67 * Map the paste bus address of the given send window into kernel address
68 * space. Unlike MMIO regions (map_mmio_region() below), paste region must
99 pr_devel("Mapped paste addr 0x%llx to kaddr 0x%p\n", start, map); in map_paste_region()
134 * Unmap the paste address region for a window.
847 * paste operations will fail. in vas_init_rx_win_attr()
1119 * to 1K offset of the paste address) in vas_paste_crb()
1275 * - Disable new paste operations (unmap paste address)
/linux-6.12.1/tools/testing/selftests/powerpc/nx-gzip/include/
Dcopy-paste.h24 * Copy/paste instructions:
30 * paste RA,RB
31 * Paste contents of internal copy-buffer to the address
/linux-6.12.1/tools/testing/selftests/powerpc/include/
Dinstructions.h32 /* This defines the "paste" instruction from Power ISA 3.0 Book II, section 4.4. */
35 #define PASTE(RA, RB, L, RC) \ macro
38 static inline int paste(void *i) in paste() function
42 asm volatile(str(PASTE(0, %1, 0, 0))";" in paste()
55 asm volatile(str(PASTE(0, %1, 1, 1))";" in paste_last()
/linux-6.12.1/Documentation/devicetree/bindings/powerpc/
Dibm,vas.txt12 "Paste address" start and length, "Paste window id" start bit and number
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dvas.h73 u8 user_mode; /* User mode copy/paste or COP HCALL */
112 __be64 win_addr; /* Paste address */
123 u64 win_addr; /* Physical paste address */
Dvas.c89 pr_err("H_ALLOCATE_VAS_WINDOW: COPY/PASTE is not supported\n"); in h_allocate_vas_window()
342 * once which can result in paste command failure (RMA_busy). in vas_allocate_window()
561 .paste_addr = vas_paste_address, /* To do copy/paste */
610 pr_err("User space COPY/PASTE is not supported\n"); in get_vas_capabilities()
647 * fault on the unmapped paste address, the kernel handles the fault
648 * by setting the remapping to new paste address if the window is
756 * So the kernel closes the excessive windows and unmap the paste address
757 * such that the user space receives paste instruction failure. Then up to
1082 * Linux supports user space COPY/PASTE only with Radix in pseries_vas_init()
1131 * capabilities HCALL failed. So disable copy paste in pseries_vas_init()
/linux-6.12.1/Documentation/process/
Demail-clients.rst51 Copy-and-paste (or cut-and-paste) usually does not work for patches
54 copy-and-paste.
119 :menuselection:`Preformat`, then paste with the middle button.
194 :set paste
201 (a)ttach works fine without ``set paste``.
/linux-6.12.1/arch/powerpc/include/asm/
Dvas.h21 * Threshold Control Mode: Have paste operation fail if the number of
24 * NOTE: No special error code yet if paste is rejected because of these
72 struct mutex mmap_mutex; /* protects paste address mmap() */
234 * Paste a previously copied CRB (see vas_copy_crb()) from the L2 cache to
Dsynch.h33 * invalidated correctly. If this is not done, the paste can take data in ppc_after_tlbiel_barrier()
39 * way due to local copy-paste. in ppc_after_tlbiel_barrier()
/linux-6.12.1/fs/reiserfs/
Ddo_balan.c394 /* paste new directory entry. 1 is entry number */ in balance_leaf_paste_left_shift_dirent()
431 "PAP-12100: incorrect position to paste: " in balance_leaf_paste_left_shift()
455 "PAP-12105: there is nothing to paste into " in balance_leaf_paste_left_shift()
518 "PAP-12125: no place for paste. pos_in_item=%d", in balance_leaf_paste_left_shift()
542 /* if we paste into first item of S[0] and it is left mergable */ in balance_leaf_paste_left_whole()
567 /* if appended item is directory, paste entry */ in balance_leaf_paste_left_whole()
734 /* Paste given directory entry to directory item */ in balance_leaf_paste_right_shift_dirent()
741 /* paste entry */ in balance_leaf_paste_right_shift_dirent()
785 "PAP-12155: invalid position to paste. ih_item_len=%d, " in balance_leaf_paste_right_shift()
856 /* paste new entry, if item is directory item */ in balance_leaf_paste_right_whole()
[all …]
/linux-6.12.1/tools/testing/selftests/powerpc/nx-gzip/
Dgzip_vas.c27 #include "copy-paste.h"
209 NXPRT(fprintf(stderr, "Paste attempt %d/%d returns 0x%x\n", in nxu_run_job()
246 prt_err("Paste attempt %d/", i); in nxu_run_job()
/linux-6.12.1/drivers/virt/vboxguest/
DKconfig9 copy-and-paste, seamless mode and OpenGL pass-through.
/linux-6.12.1/Documentation/devicetree/bindings/net/
Dmotorcomm,yt8xxx.yaml122 /* Only needed to make DT lint tools work. Do not copy/paste
141 /* Only needed to make DT lint tools work. Do not copy/paste
/linux-6.12.1/arch/powerpc/kernel/
Dalign.c331 * ISA 3.0 (such as P9) copy, copy_first, paste and paste_last alignment in fix_alignment()
336 * We do not emulate these because paste may contain additional metadata in fix_alignment()
338 * synchronisation point for preceding copy/paste sequences. in fix_alignment()
/linux-6.12.1/drivers/accessibility/speakup/
Dserialio.h12 * this is cut&paste from 8250.h. Get rid of the structure, the definitions
/linux-6.12.1/Documentation/translations/zh_TW/process/
Demail-clients.rst178 :set paste
185 在未設置 ``set paste`` 時(a)ttach工作的很好。
/linux-6.12.1/Documentation/translations/zh_CN/process/
Demail-clients.rst177 :set paste
184 在未设置 ``set paste`` 时(a)ttach工作的很好。
/linux-6.12.1/drivers/gpu/drm/
DMakefile9 # --- begin copy-paste W=1 warnings from scripts/Makefile.extrawarn
31 # --- end copy-paste
/linux-6.12.1/rust/kernel/init/
Dmacros.rs1126 // Here we abuse `paste!` to retokenize `$t`. Declarative macros have some internal
1130 ::kernel::macros::paste!($t::$get_data())
1209 // We use `paste!` to create new hygiene for `$field`.
1210 ::kernel::macros::paste! {
1240 // We use `paste!` to create new hygiene for `$field`.
1241 ::kernel::macros::paste! {
1272 // We use `paste!` to create new hygiene for `$field`.
1273 ::kernel::macros::paste! {
1306 // Here we abuse `paste!` to retokenize `$t`. Declarative macros have some internal
1310 ::kernel::macros::paste!(
[all …]

1234