Searched refs:snapshot (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-10.3-release/lib/libgeom/
H A Dgeom_stats.c107 struct snapshot { struct
120 struct snapshot *sp;
144 struct snapshot *sp;
154 struct snapshot *sp;
163 struct snapshot *sp;
173 struct snapshot *sp;
/freebsd-10.3-release/tools/regression/zfs/zpool/offline/
H A Dio.t16 ${ZFS} snapshot ${name0}@test
33 ${ZFS} snapshot ${name0}@test
52 ${ZFS} snapshot ${name0}@test
71 ${ZFS} snapshot ${name0}@test
/freebsd-10.3-release/contrib/libpcap/
H A Dpcap-snoop.c106 if (cc == (p->snapshot + sizeof(struct snoopheader)) &&
107 (datalen < p->snapshot))
110 caplen = (datalen < p->snapshot) ? datalen : p->snapshot;
344 if (p->snapshot > ifr.ifr_mtu + ll_hdrlen)
345 p->snapshot = ifr.ifr_mtu + ll_hdrlen;
353 snooplen = p->snapshot - ll_hdrlen;
H A Dpcap-nit.c175 if (caplen > p->snapshot)
176 caplen = p->snapshot;
220 nioc.nioc_snaplen = p->snapshot;
255 if (p->snapshot < 96)
257 * NIT requires a snapshot length of at least 96.
259 p->snapshot = 96;
H A Dpcap-snit.c138 * loop through each snapshot in the chunk
182 /* next snapshot */
186 if (caplen > p->snapshot)
187 caplen = p->snapshot;
280 if (p->snapshot < 96)
282 * NIT requires a snapshot length of at least 96.
284 p->snapshot = 96;
343 /* set the snapshot length */
345 si.ic_len = sizeof(p->snapshot);
346 si.ic_dp = (char *)&p->snapshot;
[all...]
H A Ddlpisubs.c172 caplen = min(p->snapshot, len);
186 /* Insure caplen does not exceed snapshot */
187 if (pkthdr.caplen > p->snapshot)
188 pkthdr.caplen = p->snapshot;
H A Dpcap-pf.c173 if (buflen > pc->snapshot)
174 buflen = pc->snapshot;
443 /* packetfilter includes the padding in the snapshot */
444 p->snapshot += PCAP_FDDIPAD;
448 if (ioctl(p->fd, EIOCTRUNCATE, (caddr_t)&p->snapshot) < 0) {
H A Dsf-pcap.c188 p->snapshot = hdr.snaplen;
249 * If it was done in cooked mode, p->snapshot was
252 * would be p->snapshot. However, a faked Ethernet
255 * would be p->snapshot + 14.
259 * cooked mode, and add 14 to the snapshot length.
260 * That means that, for a raw capture, the snapshot
265 p->snapshot += 14;
273 p->bufsize = p->snapshot;
276 * Bogus snapshot length; use 64KiB as a fallback.
367 * over the BUFMOD problem and not setting the snapshot
[all...]
H A Dpcap-snf.c130 if (caplen > p->snapshot)
131 caplen = p->snapshot;
H A Dpcap-dos.c171 if (pcap->snapshot < ETH_MIN+8)
172 pcap->snapshot = ETH_MIN+8;
174 if (pcap->snapshot > ETH_MAX) /* silently accept and truncate large MTUs */
175 pcap->snapshot = ETH_MAX;
252 rx_len = (*dev->copy_rx_buf) (buf, p->snapshot);
262 pcap.caplen = min (rx_len, p->snapshot);
983 pcap_save.snapshot = MTU > 0 ? MTU : ETH_MAX; /* assume 1514 */
H A Dpcap-septel.c126 caplen = p->snapshot ;
H A Dsf-pcap-ng.c748 p->snapshot = idbp->snaplen;
854 * it's the minimum of the snapshot length
858 if (hdr->caplen > p->snapshot)
859 hdr->caplen = p->snapshot;
911 * If the link-layer type or snapshot length
924 if (p->snapshot != idbp->snaplen) {
926 "an interface has a snapshot length %u different from the type of the first interface",
1031 * don't have the same interface type, snapshot
H A Dpcap-bt-linux.c199 handle->bufsize = handle->snapshot+BT_CTRL_SIZE+sizeof(pcap_bluetooth_h4_header);
308 iv.iov_len = handle->snapshot;
H A Dpcap-dag.c519 if (caplen > p->snapshot)
520 caplen = p->snapshot;
695 if (handle->snapshot == 0 || handle->snapshot > MAX_DAG_SNAPLEN) {
696 handle->snapshot = MAX_DAG_SNAPLEN;
698 handle->snapshot = MIN_DAG_SNAPLEN;
H A Dpcap-usb-linux.c335 handle->bufsize = handle->snapshot;
623 while ((string[0] != 0) && (string[1] != 0) && (pkth.caplen < handle->snapshot))
636 if (pkth.caplen > handle->snapshot)
637 pkth.caplen = handle->snapshot;
769 int clen = handle->snapshot - sizeof(pcap_usb_header);
832 max_clen = handle->snapshot - sizeof(pcap_usb_header);
H A Dpcap-linux.c99 * whose size is the snapshot length and pass the snapshot length
106 * within the snapshot length, and thus waste CPU time copying data
1606 if (caplen > handle->snapshot)
1607 caplen = handle->snapshot;
3076 * based on the snapshot length.
3078 * If we're in cooked mode, make the snapshot length
3084 if (handle->snapshot < SLL_HDR_LEN + 1)
3085 handle->snapshot = SLL_HDR_LEN + 1;
3087 handle->bufsize = handle->snapshot;
[all...]
H A Dpcap-netfilter-linux.c176 /* pkth.caplen = min (payload_len, handle->snapshot); */
468 handle->bufsize = 128 + handle->snapshot;
523 if (nflog_send_config_mode(handle, groups[i], NFULNL_COPY_PACKET, handle->snapshot) < 0) {
547 if (nfqueue_send_config_mode(handle, groups[i], NFQNL_COPY_PACKET, handle->snapshot) < 0) {
H A Dpcap-win32.c337 if(caplen > p->snapshot)
338 caplen = p->snapshot;
671 p->snapshot = PacketSetSnapLen(p->adapter, snaplen);
/freebsd-10.3-release/contrib/netbsd-tests/fs/common/
H A Dsnapshot.c1 /* $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-10.3-release/release/doc/share/mk/
H A Ddoc.relnotes.mk12 .elif ${RELEASETYPE} == "snapshot"
13 PROFILING+= --param profile.attribute "'releasetype'" --param profile.value "'snapshot'"
/freebsd-10.3-release/sbin/recoverdisk/
H A Drecoverdisk.c162 u_int n, snapshot = 60; local
175 snapshot = strtoul(optarg, NULL, 0);
276 if (++n == snapshot) {
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddsl_prop.h84 boolean_t snapshot);
/freebsd-10.3-release/usr.sbin/usbdump/
H A Dusbdump.c185 make_filter(struct bpf_program *pprog, int snapshot) argument
206 BPF_STORE_STMT(dynamic_insn[0], BPF_RET | BPF_K, snapshot);
250 BPF_RET | BPF_K, snapshot);
791 long snapshot = 192; local
813 snapshot = strtol(optarg, &pp, 10);
817 if (snapshot == 0 && errno == EINVAL)
820 if (snapshot == 0)
821 snapshot = -1;
919 make_filter(&total_prog, snapshot);
/freebsd-10.3-release/contrib/pf/pflogd/
H A Dprivsep.c189 hpcap->snapshot = snap;
255 /* also set hpcap->snapshot in child */
257 hpcap->snapshot = snaplen;
/freebsd-10.3-release/usr.sbin/portsnap/portsnap/
H A Dportsnap.sh57 fetch -- Fetch a compressed snapshot of the ports tree,
58 or update an existing snapshot.
60 extract -- Extract snapshot of ports tree, replacing existing
62 update -- Update ports tree to match current snapshot, replacing
311 echo "No snapshot available. Try running"
472 # Fetch a snapshot tag
474 rm -f snapshot.ssl tag.new
476 echo ${NDEBUG} "Fetching snapshot tag from ${SERVERNAME}... "
490 echo "invalid snapshot tag."
500 # Sanity-check the date on a snapshot ta
[all...]

Completed in 172 milliseconds

12