/freebsd-11-stable/sys/contrib/ck/include/ |
H A D | ck_tflock.h | 58 uint32_t snapshot = ck_pr_load_32(target); local 62 goal = (snapshot & ~mask) + delta; 63 if (ck_pr_cas_32_value(target, snapshot, goal, &snapshot) == true) 69 return snapshot;
|
H A D | ck_array.h | 52 struct _ck_array *snapshot; member in struct:ck_array_iterator 93 (i)->snapshot = ck_pr_load_ptr(&(a)->active); \
|
/freebsd-11-stable/lib/libgeom/ |
H A D | geom_stats.c | 105 struct snapshot { struct 118 struct snapshot *sp; 142 struct snapshot *sp; 152 struct snapshot *sp; 161 struct snapshot *sp; 171 struct snapshot *sp;
|
/freebsd-11-stable/sys/contrib/ck/src/ |
H A D | ck_ht.c | 282 ck_ht_entry_t *snapshot, 379 *snapshot = *cursor; 417 struct ck_ht_entry *entry, *priority, snapshot; local 435 entry = ck_ht_map_probe_wr(map, h, &snapshot, &priority, 445 entry = ck_ht_map_probe_wr(map, h, &snapshot, &priority, 499 ck_ht_entry_t *snapshot, 535 snapshot->key = (uintptr_t)ck_pr_load_ptr(&cursor->key); 537 snapshot->value = (uintptr_t)ck_pr_load_ptr(&cursor->value); 540 snapshot->key = (uintptr_t)ck_pr_load_ptr(&cursor->key); 542 snapshot 280 ck_ht_map_probe_wr(struct ck_ht_map *map, ck_ht_hash_t h, ck_ht_entry_t *snapshot, ck_ht_entry_t **available, const void *key, uint16_t key_length, CK_HT_TYPE *probe_limit, CK_HT_TYPE *probe_wr) argument 497 ck_ht_map_probe_rd(struct ck_ht_map *map, ck_ht_hash_t h, ck_ht_entry_t *snapshot, const void *key, uint16_t key_length) argument 752 struct ck_ht_entry *candidate, snapshot; local 783 struct ck_ht_entry *candidate, snapshot; local 826 struct ck_ht_entry snapshot, *candidate, *priority; local 963 struct ck_ht_entry snapshot, *candidate, *priority; local [all...] |
/freebsd-11-stable/tools/regression/zfs/zpool/offline/ |
H A D | io.t | 16 ${ZFS} snapshot ${name0}@test 33 ${ZFS} snapshot ${name0}@test 52 ${ZFS} snapshot ${name0}@test 71 ${ZFS} snapshot ${name0}@test
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | pcap-nit.c | 180 if (caplen > p->snapshot) 181 caplen = p->snapshot; 223 nioc.nioc_snaplen = p->snapshot; 275 * Turn a negative snapshot value (invalid), a snapshot value of 279 * If some application really *needs* a bigger snapshot 282 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) 283 p->snapshot = MAXIMUM_SNAPLEN; 285 if (p->snapshot < 9 [all...] |
H A D | pcap-snoop.c | 110 if (cc == (p->snapshot + sizeof(struct snoopheader)) && 111 (datalen < p->snapshot)) 114 caplen = (datalen < p->snapshot) ? datalen : p->snapshot; 327 * Turn a negative snapshot value (invalid), a snapshot value of 331 * If some application really *needs* a bigger snapshot 334 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) 335 p->snapshot [all...] |
H A D | sf-pcap.c | 255 p->snapshot = pcap_adjust_snapshot(p->linktype, hdr.snaplen); 366 * If it was done in cooked mode, p->snapshot was 369 * would be p->snapshot. However, a faked Ethernet 372 * would be p->snapshot + 14. 376 * cooked mode, and add 14 to the snapshot length. 377 * That means that, for a raw capture, the snapshot 382 * But don't grow the snapshot length past the 385 if (p->snapshot <= INT_MAX - 14) 386 p->snapshot += 14; 388 p->snapshot [all...] |
H A D | pcap-snit.c | 142 * loop through each snapshot in the chunk 186 /* next snapshot */ 190 if (caplen > p->snapshot) 191 caplen = p->snapshot; 301 * Turn a negative snapshot value (invalid), a snapshot value of 305 * If some application really *needs* a bigger snapshot 308 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) 309 p->snapshot [all...] |
H A D | pcap-septel.c | 121 caplen = p->snapshot ; 193 * Turn a negative snapshot value (invalid), a snapshot value of 197 * If some application really *needs* a bigger snapshot 200 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN) 201 handle->snapshot = MAXIMUM_SNAPLEN;
|
H A D | pcap-bt-monitor-linux.c | 103 iv[1].iov_len = handle->snapshot; 187 * Turn a negative snapshot value (invalid), a snapshot value of 191 * If some application really *needs* a bigger snapshot 194 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN) 195 handle->snapshot = MAXIMUM_SNAPLEN; 197 handle->bufsize = BT_CONTROL_SIZE + sizeof(pcap_bluetooth_linux_monitor_header) + handle->snapshot;
|
H A D | pcap-pf.c | 183 if (buflen > pc->snapshot) 184 buflen = pc->snapshot; 348 * Turn a negative snapshot value (invalid), a snapshot value of 352 * If some application really *needs* a bigger snapshot 355 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) 356 p->snapshot = MAXIMUM_SNAPLEN; 476 /* packetfilter includes the padding in the snapshot */ 477 p->snapshot [all...] |
H A D | pcap-bt-linux.c | 204 * Turn a negative snapshot value (invalid), a snapshot value of 208 * If some application really *needs* a bigger snapshot 211 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN) 212 handle->snapshot = MAXIMUM_SNAPLEN; 215 handle->bufsize = BT_CTRL_SIZE+sizeof(pcap_bluetooth_h4_header)+handle->snapshot; 325 iv.iov_len = handle->snapshot;
|
H A D | pcap-usb-linux.c | 407 * snapshot length, we have the biggest payload we want (we 415 if (handle->snapshot < header_size) 416 handle->snapshot = header_size; 417 /* The maximum snapshot size is small enough that this won't overflow */ 418 ring_size = (handle->snapshot - header_size) * 5; 429 * snapshot length to the value that would give us a 433 handle->snapshot = header_size + (MAX_RING_SIZE/5); 437 * the snapshot length unchanged, so we show the 439 * snapshot length. 459 * Attempt to set the ring size as appropriate for the snapshot [all...] |
H A D | pcap-libdlpi.c | 141 * Turn a negative snapshot value (invalid), a snapshot value of 145 * If some application really *needs* a bigger snapshot 148 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) 149 p->snapshot = MAXIMUM_SNAPLEN; 213 if (pcap_conf_bufmod(p, p->snapshot) != 0) {
|
H A D | dlpisubs.c | 174 caplen = min(p->snapshot, len); 188 /* Insure caplen does not exceed snapshot */ 189 if (pkthdr.caplen > (bpf_u_int32)p->snapshot) 190 pkthdr.caplen = (bpf_u_int32)p->snapshot;
|
H A D | pcap-dbus.c | 90 /* pkth.caplen = min (payload_len, handle->snapshot); */ 273 * Turn a negative snapshot value (invalid), a snapshot value of 277 if (handle->snapshot <= 0 || handle->snapshot > 134217728) 278 handle->snapshot = 134217728; 280 /* dbus_connection_set_max_message_size(handlep->conn, handle->snapshot); */
|
H A D | pcap-netmap.c | 248 * Turn a negative snapshot value (invalid), a snapshot value of 252 * If some application really *needs* a bigger snapshot 255 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) 256 p->snapshot = MAXIMUM_SNAPLEN;
|
H A D | pcap-snf.c | 176 if (caplen > p->snapshot) 177 caplen = p->snapshot; 299 * Turn a negative snapshot value (invalid), a snapshot value of 303 * If some application really *needs* a bigger snapshot 306 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) 307 p->snapshot = MAXIMUM_SNAPLEN;
|
H A D | pcap-dos.c | 178 * Turn a negative snapshot value (invalid), a snapshot value of 182 * If some application really *needs* a bigger snapshot 185 if (pcap->snapshot <= 0 || pcap->snapshot > MAXIMUM_SNAPLEN) 186 pcap->snapshot = MAXIMUM_SNAPLEN; 188 if (pcap->snapshot < ETH_MIN+8) 189 pcap->snapshot = ETH_MIN+8; 191 if (pcap->snapshot > ETH_MAX) /* silently accept and truncate large MTUs */ 192 pcap->snapshot [all...] |
/freebsd-11-stable/sys/contrib/ck/include/spinlock/ |
H A D | ticket.h | 151 CK_SPINLOCK_TICKET_TYPE snapshot, request, position; local 153 snapshot = CK_SPINLOCK_TICKET_LOAD(&ticket->value); 154 position = snapshot & CK_SPINLOCK_TICKET_MASK; 155 request = snapshot >> CK_SPINLOCK_TICKET_SHIFT; 161 snapshot, snapshot + CK_SPINLOCK_TICKET_INCREMENT) == false) {
|
/freebsd-11-stable/contrib/netbsd-tests/fs/common/ |
H A D | snapshot.c | 1 /* $NetBSD: snapshot.c,v 1.7 2013/02/06 09:05:01 hannken Exp $ */ 17 ATF_TC_WITH_CLEANUP(snapshot); variable 18 ATF_TC_HEAD(snapshot, tc) 21 atf_tc_set_md_var(tc, "descr", "basic snapshot features"); 35 ATF_TC_BODY(snapshot, tc) 77 atf_tc_fail_errno("create snapshot"); 97 /* check that new files are invisible in the snapshot */ 100 atf_tc_fail("newfile exists in snapshot"); 104 /* check that removed files are still visible in the snapshot */ 107 atf_tc_fail_errno("unlinked file no longer in snapshot"); [all...] |
/freebsd-11-stable/sbin/bectl/ |
H A D | bectl.c | 76 "\tbectl create [-r] [-e {nonActiveBe | beName@snapshot}] beName\n" 77 "\tbectl create [-r] beName@snapshot\n" 78 "\tbectl destroy [-F] {beName | beName@snapshot}\n" 183 * create that snapshot 188 char snapshot[BE_MAXPATHLEN]; local 223 * This is the "create a snapshot variant". No new boot 232 recursive, snapshot); 234 /* Create from given snapshot */ 235 strlcpy(snapshot, snapname, sizeof(snapshot)); [all...] |
/freebsd-11-stable/release/doc/share/mk/ |
H A D | doc.relnotes.mk | 12 .elif ${RELEASETYPE} == "snapshot" 13 PROFILING+= --param profile.attribute "'releasetype'" --param profile.value "'snapshot'"
|
/freebsd-11-stable/lib/libbe/tests/ |
H A D | be_create.sh | 101 # a recursive and non-recursive snapshot to test against 102 atf_check zfs snapshot ${zpool}/ROOT/default@non-recursive 103 atf_check zfs snapshot -r ${zpool}/ROOT/default@recursive 156 # This test is to ensure that a relative snapshot label can be used, 157 # (i.e. the format: 'bootenvironment@snapshot')
|