Home
last modified time | relevance | path

Searched full:exchange (Results 1 – 25 of 519) sorted by relevance

12345678910>>...21

/linux-6.14.4/drivers/scsi/libfc/
Dfc_exch.c11 * Fibre Channel exchange and sequence handling.
38 * fc_exch_mgr holds the exchange state for an N port
40 * fc_exch holds state for one exchange and links to its active sequence.
46 * struct fc_exch_pool - Per cpu exchange pool
47 * @next_index: Next possible free exchange index
54 * This structure manages per cpu exchanges in array of exchange pointers.
69 * struct fc_exch_mgr - The Exchange Manager (EM).
72 * @min_xid: Minimum exchange ID
73 * @max_xid: Maximum exchange ID
74 * @ep_pool: Reserved exchange pointers
[all …]
/linux-6.14.4/fs/xfs/
Dxfs_exchmaps_item.h10 * The file mapping exchange intent item helps us exchange multiple file
31 * This is the incore file mapping exchange intent log item. It is used to log
33 * conjunction with the incore file mapping exchange done log item described
46 * This is the incore file mapping exchange done log item. It is used to log
47 * the fact that an exchange mentioned in an earlier xmi item have been
Dxfs_exchrange.c27 /* Lock (and optionally join) two inodes for a file range exchange. */
47 /* Unlock two inodes after a file range exchange operation. */
59 * Estimate the resource requirements to exchange file contents between the two
190 /* Exchange the mappings (and hence the contents) of two files' forks. */
293 * If the caller wanted us to exchange the contents of two complete in xfs_exchrange_mappings()
294 * files of unequal length, exchange the incore sizes now. This should in xfs_exchrange_mappings()
321 * The goal is to exchange fxr.length bytes starting at fxr.file1_offset in
326 * and freshness checks must be done atomically as part of the data exchange
333 * Performs necessary checks before doing a range exchange, having stabilized
363 * If the caller said to exchange to EOF, we set the length of in xfs_exchange_range_checks()
[all …]
Dxfs_exchmaps_item.c213 /* Log file mapping exchange information in the intent item. */
281 /* Cancel a deferred file mapping exchange. */
291 /* Process a deferred file mapping exchange. */
303 * Exchange one more mappings between two files. If there's still more in xfs_exchmaps_finish_item()
420 /* Process a file mapping exchange item that was recovered from the log. */
543 * This routine is called to create an in-core file mapping exchange item from
545 * xmi, copies the exchange information from the format structure into it, and
/linux-6.14.4/include/uapi/scsi/fc/
Dfc_fs.h35 __be16 fh_ox_id; /* originator exchange ID */
36 __be16 fh_rx_id; /* responder exchange ID */
199 * Exchange IDs.
201 #define FC_XID_UNKNOWN 0xffff /* unknown exchange ID */
202 #define FC_XID_MIN 0x0 /* supported min exchange ID */
203 #define FC_XID_MAX 0xfffe /* supported max exchange ID */
208 #define FC_FC_EX_CTX (1 << 23) /* sent by responder to exchange */
210 #define FC_FC_FIRST_SEQ (1 << 21) /* first sequence of this exchange */
211 #define FC_FC_LAST_SEQ (1 << 20) /* last sequence of this exchange */
216 #define FC_FC_X_ID_REASS (1 << 15) /* exchange ID has been changed */
[all …]
Dfc_els.h28 ELS_ABTX = 0x06, /* Abort exchange - obsolete */
30 ELS_RES = 0x08, /* read exchange status block */
41 ELS_REC = 0x13, /* read exchange concise */
44 ELS_EDC = 0x17, /* Exchange Diagnostic Capabilities */
84 ELS_EVFP = 0x7f, /* exchange virt. fabrics params */
382 __u8 cp_open_seq; /* open sequences per exchange */
463 __be16 rrq_ox_id; /* originator exchange ID */
464 __be16 rrq_rx_id; /* responders exchange ID */
468 * ELS_REC - Read exchange concise.
475 __be16 rec_ox_id; /* originator exchange ID */
[all …]
/linux-6.14.4/fs/xfs/libxfs/
Dxfs_exchmaps.c52 /* Information to reset reflink flag / CoW fork state after an exchange. */
119 /* Do we still have more mappings to exchange? */
135 /* Check all mappings to make sure we can actually exchange them. */
150 /* We don't know how to exchange local format forks. */ in xfs_exchmaps_check_forks()
271 * mappings to exchange. If there is work to do, return the mappings;
339 * We can only exchange as many blocks as the smaller of the in xfs_exchmaps_find_mappings()
348 /* We found something to exchange, so return it. */ in xfs_exchmaps_find_mappings()
379 /* Exchange these two mappings. */
396 * Re-add both mappings. We exchange the file offsets between the two in xfs_exchmaps_one_step()
528 /* Clear the reflink flag after an exchange. */
[all …]
/linux-6.14.4/include/scsi/
Dlibfc.h34 #define FC_EX_TIMEOUT 1 /* Exchange timeout */
35 #define FC_EX_CLOSED 2 /* Exchange closed */
36 #define FC_EX_ALLOC_ERR 3 /* Exchange allocation failed */
37 #define FC_EX_XMIT_ERR 4 /* Exchange transmit failed */
40 #define FC_EX_SEQ_ERR 6 /* Exchange sequence error */
278 * Mainly used by the exchange manager layer.
301 * @xfer_ddp: Indicates if this transfer used DDP (XID of the exchange
373 * fc_exch holds state for one exchange and links to its active sequence.
401 * struct fc_exch - Fibre Channel Exchange
402 * @em: Exchange manager
[all …]
/linux-6.14.4/include/scsi/fc/
Dfc_fc2.h35 __be16 ssb_rx_id; /* responder's exchange ID */
69 * Exchange Status Block.
75 __be16 esb_ox_id; /* originator exchange ID */
76 __be16 esb_rx_id; /* responder exchange ID */
94 #define ESB_ST_RESP (1 << 31) /* responder to exchange */
96 #define ESB_ST_COMPLETE (1 << 29) /* exchange is complete */
/linux-6.14.4/Documentation/networking/
Dnfc.rst17 - Low-level data exchange;
22 data exchange.
26 The low-level data exchange interface is provided by the new socket family
36 | data exchange | operations
72 exchange operation.
103 LOW-LEVEL DATA EXCHANGE:
/linux-6.14.4/arch/mips/kernel/
Dcmpxchg.c25 * exchange within the naturally aligned 4 byte integer that includes in __xchg_small()
67 * compare & exchange within the naturally aligned 4 byte integer in __cmpxchg_small()
85 * Ensure the byte we want to exchange matches the expected in __cmpxchg_small()
94 * 4 byte integer that include the byte we want to exchange. in __cmpxchg_small()
95 * Attempt to exchange the old value for the new value, and in __cmpxchg_small()
/linux-6.14.4/drivers/s390/scsi/
Dzfcp_diag.h45 * @port_data: data retrieved using exchange port data.
47 * @port_data.data: cached QTCB Bottom of command exchange port data.
48 * @config_data: data retrieved using exchange config data.
50 * @config_data.data: cached QTCB Bottom of command exchange config data.
/linux-6.14.4/fs/xfs/scrub/
Dtempfile.c601 * Fill out the mapping exchange request in preparation for atomically
631 /* Exchange all mappings in both forks. */ in xrep_tempexch_prep_request()
641 /* Exchange sizes when exchanging all data fork mappings. */ in xrep_tempexch_prep_request()
652 * Fill out the mapping exchange resource estimation structures in preparation
668 * The exchmaps code only knows how to exchange file fork space in xrep_tempexch_estimate()
670 * single block before the exchange can take place. in xrep_tempexch_estimate()
687 * file has mapped extents. To perform the exchange, the file in xrep_tempexch_estimate()
702 * repaired has mapped extents. To perform the exchange, the in xrep_tempexch_estimate()
716 * Both forks are in local format. To perform the exchange, in xrep_tempexch_estimate()
721 * fileoff 0. Presumably, the caller could not exchange the in xrep_tempexch_estimate()
[all …]
Dsymlink_repair.c49 * into a private hidden temporary file, and then a file contents exchange
268 * Prepare both links' data forks for an exchange. Promote the tempfile from
282 * target so that we can use the atomic mapping exchange. in xrep_symlink_swap_prep()
304 * exchange. in xrep_symlink_swap_prep()
324 /* Exchange the temporary symlink's data fork with the one being repaired. */
444 * exchange functions to compute the correct block reservations and in xrep_symlink_rebuild()
460 * tempfile contents exchange information. in xrep_symlink_rebuild()
468 * Exchange the temp link's data fork with the file being repaired. in xrep_symlink_rebuild()
494 /* We require atomic file exchange range to rebuild anything. */ in xrep_symlink()
/linux-6.14.4/drivers/scsi/qedf/
Dqedf_hsi.h333 /* Updated by TX path during exchange cleanup procedure */
336 * Updated by TX path during exchange cleanup continuation task
340 /* Updated by TX path during exchange cleanup first xfer procedure */
342 /* Updated by TX path during exchange cleanup read task in Target */
344 /* Updated by TX path during target exchange cleanup procedure */
/linux-6.14.4/drivers/scsi/bfa/
Dbfa_fc.h61 __be16 ox_id; /* originator exchange ID */
62 u16 rx_id; /* responder exchange ID */
134 FCTL_EC_ORIG = 0x000000, /* exchange originator */
135 FCTL_EC_RESP = 0x800000, /* exchange responder */
198 FC_ELS_ABTX = 0x06, /* Abort Exchange */
199 FC_ELS_RES = 0x08, /* Read Exchange status */
381 * Exchange status block
414 struct fc_exch_status_blk_s fc_exch_blk; /* Exchange status block */
430 #define FC_REC_ESB_COMP 0x20000000 /* exchange is complete */
446 u32 orig_id:24; /* N_Port id of exchange originator */
[all …]
/linux-6.14.4/scripts/atomic/kerneldoc/
Dtry_cmpxchg3 * ${class}${atomicname}() - atomic compare and exchange with ${desc_order} ordering
14 * Return: @true if the exchange occured, @false otherwise.
/linux-6.14.4/tools/testing/selftests/filesystems/fat/
Drename_exchange.c18 printf("Atomically exchange oldpath and newpath\n"); in print_usage()
32 perror("rename exchange failed"); in main()
/linux-6.14.4/include/linux/
Dnvme-fc-driver.h41 * If timeout exceeded, LLDD to abort LS exchange and complete
75 * FC exchange context for the NVME-FC LS request that was
90 * map back to the LLDD exchange structure which maintains information such
91 * the remote N_Port that sent the LS as well as any FC exchange context.
387 * LLDD is to allocate an exchange, issue the LS request, obtain the
416 * The nvmefc_ls_rsp structure is the same LLDD-supplied exchange
617 * layer to represent the exchange context and
621 * Structure used between LLDD and nvmet-fc layer to represent the exchange
630 * exchange structure which maintains information such as the targetport
632 * FCP I/O, and any FC exchange context. Upon completion of the FCP target
[all …]
/linux-6.14.4/include/linux/atomic/
Datomic-instrumented.h1105 * atomic_xchg() - atomic exchange with full ordering
1124 * atomic_xchg_acquire() - atomic exchange with acquire ordering
1142 * atomic_xchg_release() - atomic exchange with release ordering
1161 * atomic_xchg_relaxed() - atomic exchange with relaxed ordering
1179 * atomic_cmpxchg() - atomic compare and exchange with full ordering
1200 * atomic_cmpxchg_acquire() - atomic compare and exchange with acquire ordering
1220 * atomic_cmpxchg_release() - atomic compare and exchange with release ordering
1241 * atomic_cmpxchg_relaxed() - atomic compare and exchange with relaxed ordering
1261 * atomic_try_cmpxchg() - atomic compare and exchange with full ordering
1272 * Return: @true if the exchange occured, @false otherwise.
[all …]
Datomic-long.h1265 * raw_atomic_long_xchg() - atomic exchange with full ordering
1286 * raw_atomic_long_xchg_acquire() - atomic exchange with acquire ordering
1307 * raw_atomic_long_xchg_release() - atomic exchange with release ordering
1328 * raw_atomic_long_xchg_relaxed() - atomic exchange with relaxed ordering
1349 * raw_atomic_long_cmpxchg() - atomic compare and exchange with full ordering
1372 * raw_atomic_long_cmpxchg_acquire() - atomic compare and exchange with acquire ordering
1395 * raw_atomic_long_cmpxchg_release() - atomic compare and exchange with release ordering
1418 * raw_atomic_long_cmpxchg_relaxed() - atomic compare and exchange with relaxed ordering
1441 * raw_atomic_long_try_cmpxchg() - atomic compare and exchange with full ordering
1452 * Return: @true if the exchange occured, @false otherwise.
[all …]
/linux-6.14.4/include/uapi/linux/
Dpsp-dbc.h24 * struct dbc_user_nonce - Nonce exchange structure (input/output).
39 * struct dbc_user_setuid - UID exchange structure (input).
49 * struct dbc_user_param - Parameter exchange structure (input/output).
Drio_mport_cdev.h163 * RapidIO data exchange transactions are lists of individual transfers. Each
167 * The RapidIO specification defines four types of data exchange requests:
178 * The default exchange is chosen from NREAD and any of the WRITE modes as the
198 __u16 method; /* Data exchange method, one of rio_exchange enum */
/linux-6.14.4/tools/testing/selftests/bpf/verifier/
Datomic_xchg.c2 "atomic exchange smoketest - 64bit",
25 "atomic exchange smoketest - 32bit",
/linux-6.14.4/Documentation/driver-api/surface_aggregator/
Dssh.rst100 messages corresponding to an exchange are, in part, identified by having the
140 Each exchange begins with |SYN|, followed by a |DATA_SEQ|- or
142 case of a |DATA_NSQ|-type frame, the exchange is then finished. In case of a
156 corresponding to a single exchange thus relies on the sequence ID as well as
161 An example exchange might look like this:
171 previous payload. In case of an error, the exchange would look like this:
189 ``tx`` results again in a valid exchange. Currently, no longer exchanges are

12345678910>>...21