/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | scrub.c | 23 #include "scrub/repair.h" 30 * repair on-disk data structures. That task was left to the xfs_check 33 * scrub & repair, on the other hand, enables us to check the metadata 110 * Generally speaking, the repair code has the following code structure: 111 * Lock -> scrub -> repair -> commit -> re-lock -> re-scrub -> unlock. 114 * second check evaluates the completeness of the repair; that is what 120 * - "xrep_" are symbols related to metadata repair. 126 * or repair a given mountpoint. This will be used by xfs_scrub to 127 * probe the kernel's abilities to scrub (and repair) the metadata. We 129 * filesystem for a scrub (or a repair) operatio [all...] |
H A D | scrub.h | 28 int (*repair)(struct xfs_scrub *); member 84 #define XREP_ALREADY_FIXED (1 << 31) /* checking our repair work */
|
H A D | repair.c | 30 #include "scrub/repair.h" 34 * Attempt to repair some metadata, if the metadata is corrupt and userspace 50 ASSERT(sc->ops->repair); in xrep_attempt() 51 error = sc->ops->repair(sc); in xrep_attempt() 94 "Corruption not fixed during online repair. Unmount and run xfs_repair."); in xrep_failure() 98 * Repair probe -- userspace uses this to probe if we're willing to repair a 170 * Figure out how many blocks to reserve for an AG repair. We calculate the 408 * reverse mapping but doesn't add the block to the free space. Our repair 694 * here. If the AGFL looks insane we'll just refuse to repair. in xrep_findroot_block() 925 * repair corruption [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | scrub.c | 23 #include "scrub/repair.h" 32 * repair on-disk data structures. That task was left to the xfs_check 35 * scrub & repair, on the other hand, enables us to check the metadata 112 * Generally speaking, the repair code has the following code structure: 113 * Lock -> scrub -> repair -> commit -> re-lock -> re-scrub -> unlock. 116 * second check evaluates the completeness of the repair; that is what 122 * - "xrep_" are symbols related to metadata repair. 128 * or repair a given mountpoint. This will be used by xfs_scrub to 129 * probe the kernel's abilities to scrub (and repair) the metadata. We 131 * filesystem for a scrub (or a repair) operatio [all...] |
H A D | scrub.h | 13 * configured by the process allocation scope. Scrub and repair must be able 36 int (*repair)(struct xfs_scrub *); member 86 * data to repair functions. This function must not free the buffer 116 #define XREP_ALREADY_FIXED (1U << 31) /* checking our repair work */
|
H A D | repair.c | 33 #include "scrub/repair.h" 38 * Attempt to repair some metadata, if the metadata is corrupt and userspace 55 ASSERT(sc->ops->repair); in xrep_attempt() 58 error = sc->ops->repair(sc); in xrep_attempt() 112 "Corruption not fixed during online repair. Unmount and run xfs_repair."); in xrep_failure() 116 * Repair probe -- userspace uses this to probe if we're willing to repair a 147 * Normal code would never hold clean buffers across a roll, but repair in xrep_roll_ag_trans() 179 /* Finish all deferred work attached to the repair transaction. */ 192 * Normal code would never hold clean buffers across a roll, but repair in xrep_defer_finish() 246 * Figure out how many blocks to reserve for an AG repair [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 12 #define TCP_REPAIR 19 /* TCP sock is under repair right now */ 25 int s, repair, err; in connected_socket_v4() local 31 repair = TCP_REPAIR_ON; in connected_socket_v4() 32 err = setsockopt(s, SOL_TCP, TCP_REPAIR, &repair, sizeof(repair)); in connected_socket_v4() 40 repair = TCP_REPAIR_OFF_NO_WP; in connected_socket_v4() 41 err = setsockopt(s, SOL_TCP, TCP_REPAIR, &repair, sizeof(repair)); in connected_socket_v4()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 19 #define TCP_REPAIR 19 /* TCP sock is under repair right now */ 32 int s, repair, err; in connected_socket_v4() local 38 repair = TCP_REPAIR_ON; in connected_socket_v4() 39 err = setsockopt(s, SOL_TCP, TCP_REPAIR, &repair, sizeof(repair)); in connected_socket_v4() 47 repair = TCP_REPAIR_OFF_NO_WP; in connected_socket_v4() 48 err = setsockopt(s, SOL_TCP, TCP_REPAIR, &repair, sizeof(repair)); in connected_socket_v4()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp.c | 1235 !tp->repair) { in tcp_sendmsg_locked() 1258 if (unlikely(tp->repair)) { in tcp_sendmsg_locked() 1328 if (tp->repair) in tcp_sendmsg_locked() 1409 if (skb->len < size_goal || (flags & MSG_OOB) || unlikely(tp->repair)) in tcp_sendmsg_locked() 2179 if (unlikely(tp->repair)) { in tcp_recvmsg() 2604 if (unlikely(tcp_sk(sk)->repair)) { in __tcp_close() 2811 } else if (unlikely(tp->repair)) { in tcp_disconnect() 2951 if (!tp->repair) in tcp_repair_set_window() 3319 tp->repair = 1; in do_tcp_setsockopt() 3323 tp->repair in do_tcp_setsockopt() [all...] |
H A D | tcp_output.c | 2640 if (unlikely(tp->repair) && tp->repair_queue == TCP_SEND_QUEUE) { in tcp_write_xmit() 2645 goto repair; /* Skip network transmission */ in tcp_write_xmit() 2706 repair: in tcp_write_xmit() 3741 if (likely(!tp->repair)) in tcp_connect_init() 3877 if (unlikely(tp->repair)) { in tcp_connect()
|
H A D | tcp_ipv4.c | 162 /* In case of repair and re-using TIME-WAIT sockets we still in tcp_twsk_unique() 164 * sequence numbers and time stamps set as part of the repair in tcp_twsk_unique() 168 * repair would accumulate a -1 on the repair assigned in tcp_twsk_unique() 173 if (likely(!tp->repair)) { in tcp_twsk_unique() 264 if (likely(!tp->repair)) in tcp_v4_connect() 301 if (likely(!tp->repair)) { in tcp_v4_connect()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp.c | 1076 !tp->repair) { in tcp_sendmsg_locked() 1099 if (unlikely(tp->repair)) { in tcp_sendmsg_locked() 1168 if (tp->repair) in tcp_sendmsg_locked() 1282 if (skb->len < size_goal || (flags & MSG_OOB) || unlikely(tp->repair)) in tcp_sendmsg_locked() 2348 if (unlikely(tp->repair)) { in tcp_recvmsg_locked() 2802 if (unlikely(tcp_sk(sk)->repair)) { in __tcp_close() 2994 } else if (unlikely(tp->repair)) { in tcp_disconnect() 3122 if (!tp->repair) in tcp_repair_set_window() 3547 tp->repair = 1; in do_tcp_setsockopt() 3551 tp->repair in do_tcp_setsockopt() [all...] |
H A D | tcp_output.c | 2698 if (unlikely(tp->repair) && tp->repair_queue == TCP_SEND_QUEUE) { in tcp_write_xmit() 2704 goto repair; /* Skip network transmission */ in tcp_write_xmit() 2765 repair: in tcp_write_xmit() 3823 if (likely(!tp->repair)) in tcp_connect_init() 3965 if (unlikely(tp->repair)) { in tcp_connect()
|
H A D | tcp_ipv4.c | 157 /* In case of repair and re-using TIME-WAIT sockets we still in tcp_twsk_unique() 159 * sequence numbers and time stamps set as part of the repair in tcp_twsk_unique() 163 * repair would accumulate a -1 on the repair assigned in tcp_twsk_unique() 168 if (likely(!tp->repair)) { in tcp_twsk_unique() 267 if (likely(!tp->repair)) in tcp_v4_connect() 304 if (likely(!tp->repair)) { in tcp_v4_connect()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | tcp.h | 240 repair : 1, member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | tcp.h | 272 repair : 1, member
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | tcp_nip.c | 712 if (likely(!tp->repair)) in tcp_nip_connect()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | tcp_ipv6.c | 320 if (likely(!tp->repair)) { in tcp_v6_connect()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | tcp_ipv6.c | 322 if (likely(!tp->repair)) { in tcp_v6_connect()
|
/kernel/linux/linux-5.10/tools/power/pm-graph/ |
H A D | sleepgraph.py | 2414 def repair(self, enddepth): member in FTraceCallGraph 2465 return self.repair(cnt)
|
/kernel/linux/linux-6.6/tools/power/pm-graph/ |
H A D | sleepgraph.py | 2602 def repair(self, enddepth): member in FTraceCallGraph 2653 return self.repair(cnt)
|