ffs_extern.h (ade67b509c99c17794dc8e6b33a75d63facacc93) ffs_extern.h (fb14e73cb4062d7272ce6183d748adedd868906b)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1991, 1993, 1994
5 * The Regents of the University of California. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 112 unchanged lines hidden (view full) ---

121
122/*
123 * Flags to ffs_reload
124 */
125#define FFSR_FORCE 0x0001
126#define FFSR_UNSUSPEND 0x0002
127
128/*
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1991, 1993, 1994
5 * The Regents of the University of California. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 112 unchanged lines hidden (view full) ---

121
122/*
123 * Flags to ffs_reload
124 */
125#define FFSR_FORCE 0x0001
126#define FFSR_UNSUSPEND 0x0002
127
128/*
129 * Request standard superblock location in ffs_sbget
130 */
131#define STDSB -1 /* Fail if check-hash is bad */
132#define STDSB_NOHASHFAIL -2 /* Ignore check-hash failure */
133
134/*
129 * Definitions for TRIM interface
130 *
131 * Special keys and recommended hash table size
132 */
133#define NOTRIM_KEY 1 /* never written, so don't call trim for it */
134#define SINGLETON_KEY 2 /* only block being freed, so trim it now */
135#define FIRST_VALID_KEY 3 /* first valid key describing a block range */
136#define MAXTRIMIO 1024 /* maximum expected outstanding trim requests */

--- 90 unchanged lines hidden ---
135 * Definitions for TRIM interface
136 *
137 * Special keys and recommended hash table size
138 */
139#define NOTRIM_KEY 1 /* never written, so don't call trim for it */
140#define SINGLETON_KEY 2 /* only block being freed, so trim it now */
141#define FIRST_VALID_KEY 3 /* first valid key describing a block range */
142#define MAXTRIMIO 1024 /* maximum expected outstanding trim requests */

--- 90 unchanged lines hidden ---