Home
last modified time | relevance | path

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

12345678910>>...15

/linux/drivers/scsi/libfc/
H A 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/include/uapi/scsi/fc/
H A 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 …]
/linux/fs/xfs/libxfs/
H A Dxfs_exchmaps.c52 /* Information to reset CoW fork state after an exchange. */
119 /* Do we still have more mappings to exchange? */
133 /* Check all mappings to make sure we can actually exchange them. */ in xmi_has_postop_work()
148 /* We don't know how to exchange local format forks. */ in xfs_exchmaps_check_forks()
269 * mappings to exchange. If there is work to do, return the mappings;
337 * We can only exchange as many blocks as the smaller of the in xfs_exchmaps_find_mappings()
346 /* We found something to exchange, so return it. */ in xfs_exchmaps_find_mappings()
377 /* Exchange these two mappings. */ in xfs_exchmaps_find_mappings()
394 * Re-add both mappings. We exchange the file offsets between the two in xfs_exchmaps_one_step()
526 /* Finish whatever work might come after an exchange operatio in xfs_exchmaps_link_to_sf()
[all...]
/linux/fs/xfs/
H A 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, set each file's size to that file's exchange in xfs_exchrange_mappings()
324 * The goal is to exchange fxr.length bytes starting at fxr.file1_offset in
329 * and freshness checks must be done atomically as part of the data exchange
336 * Performs necessary checks before doing a range exchange, having stabilized
366 * If the caller said to exchange to EOF, we set the length of in xfs_exchange_range_checks()
412 * If the user wanted us to exchange u in xfs_exchange_range_checks()
[all...]
H A Dxfs_exchmaps_item.c210 /* Log file mapping exchange information in the intent item. */
278 /* Cancel a deferred file mapping exchange. */
288 /* Process a deferred file mapping exchange. */
300 * Exchange one more mappings between two files. If there's still more in xfs_exchmaps_finish_item()
434 /* Process a file mapping exchange item that was recovered from the log. */
557 * This routine is called to create an in-core file mapping exchange item from
559 * xmi, copies the exchange information from the format structure into it, and
/linux/include/scsi/fc/
H A 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/arch/mips/kernel/
H A 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/drivers/s390/scsi/
H A 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/fs/xfs/scrub/
H A Dtempfile.c602 * Fill out the mapping exchange request in preparation for atomically
632 /* Exchange all mappings in both forks. */ in xrep_tempexch_prep_request()
642 /* Exchange sizes when exchanging all data fork mappings. */ in xrep_tempexch_prep_request()
666 * Fill out the mapping exchange resource estimation structures in preparation
684 * The exchmaps code only knows how to exchange file fork space in xrep_tempexch_estimate()
686 * single block before the exchange can take place. in xrep_tempexch_estimate()
703 * file has mapped extents. To perform the exchange, the file in xrep_tempexch_estimate()
718 * repaired has mapped extents. To perform the exchange, the in xrep_tempexch_estimate()
732 * Both forks are in local format. To perform the exchange, in xrep_tempexch_estimate()
737 * fileoff 0. Presumably, the caller could not exchange the in xrep_tempexch_estimate()
[all …]
H A 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/drivers/scsi/bfa/
H A 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/drivers/scsi/qedf/
H A 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/include/linux/
H A 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/scripts/atomic/kerneldoc/
H A Dtry_cmpxchg3 * ${class}${atomicname}() - atomic compare and exchange with ${desc_order} ordering
14 * Return: @true if the exchange occurred, @false otherwise.
/linux/tools/testing/selftests/filesystems/fat/
H A Drename_exchange.c18 printf("Atomically exchange oldpath and newpath\n"); in print_usage()
32 perror("rename exchange failed"); in main()
/linux/Documentation/driver-api/surface_aggregator/
H A 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
/linux/include/uapi/linux/
H A 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).
H A 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/tools/testing/selftests/bpf/verifier/
H A Datomic_xchg.c2 "atomic exchange smoketest - 64bit",
25 "atomic exchange smoketest - 32bit",
/linux/drivers/net/ipa/
H A Dipa_qmi.h45 * ipa_qmi_setup() - Set up for QMI message exchange
48 * This is called at the end of ipa_setup(), to prepare for the exchange
/linux/Documentation/devicetree/bindings/fpga/
H A Dxlnx,pr-decoupler.yaml21 Xilinx LogiCORE Dynamic Function eXchange(DFX) AXI shutdown manager Softcore
23 eXchange AXI shutdown manager prevents AXI traffic from passing through the
/linux/Documentation/userspace-api/media/v4l/
H A Drw.rst23 setup to exchange data. It permits command line stunts like this (the
33 must implement one I/O method if they exchange data with applications,
/linux/rust/kernel/sync/atomic/
H A Dinternal.rs300 /// Exchange and compare-and-exchange atomic operations
302 /// Atomic exchange.
310 /// Atomic compare and exchange.
/linux/Documentation/networking/device_drivers/atm/
H A Dcxacru.rst79 - "exchange"
119 [4942259.656262] ATM dev 0: ADSL line: exchange
/linux/drivers/scsi/lpfc/
H A Dlpfc_nvme.h182 #define LPFC_NVME_IO_INP 0x1 /* IO is in progress on exchange */
183 #define LPFC_NVME_ABORT_OP 0x2 /* Abort WQE issued on exchange */
186 #define LPFC_NVME_ABTS_RCV 0x10 /* ABTS received on exchange */

12345678910>>...15