autofs.h (274236) | autofs.h (279741) |
---|---|
1/*- 2 * Copyright (c) 2014 The FreeBSD Foundation 3 * All rights reserved. 4 * 5 * This software was developed by Edward Tomasz Napierala under sponsorship 6 * from the FreeBSD Foundation. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/*- 2 * Copyright (c) 2014 The FreeBSD Foundation 3 * All rights reserved. 4 * 5 * This software was developed by Edward Tomasz Napierala under sponsorship 6 * from the FreeBSD Foundation. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $FreeBSD: stable/10/sys/fs/autofs/autofs.h 274236 2014-11-07 15:47:22Z trasz $ | 29 * $FreeBSD: stable/10/sys/fs/autofs/autofs.h 279741 2015-03-07 19:32:19Z trasz $ |
30 */ 31 32#ifndef AUTOFS_H 33#define AUTOFS_H 34 35#define VFSTOAUTOFS(mp) ((struct autofs_mount *)((mp)->mnt_data)) 36 37MALLOC_DECLARE(M_AUTOFS); --- 31 unchanged lines hidden (view full) --- 69 char *an_name; 70 int an_fileno; 71 struct autofs_node *an_parent; 72 TAILQ_HEAD(, autofs_node) an_children; 73 struct autofs_mount *an_mount; 74 struct vnode *an_vnode; 75 struct sx an_vnode_lock; 76 bool an_cached; | 30 */ 31 32#ifndef AUTOFS_H 33#define AUTOFS_H 34 35#define VFSTOAUTOFS(mp) ((struct autofs_mount *)((mp)->mnt_data)) 36 37MALLOC_DECLARE(M_AUTOFS); --- 31 unchanged lines hidden (view full) --- 69 char *an_name; 70 int an_fileno; 71 struct autofs_node *an_parent; 72 TAILQ_HEAD(, autofs_node) an_children; 73 struct autofs_mount *an_mount; 74 struct vnode *an_vnode; 75 struct sx an_vnode_lock; 76 bool an_cached; |
77 bool an_wildcards; |
|
77 struct callout an_callout; 78 int an_retries; 79 struct timespec an_ctime; 80}; 81 82struct autofs_mount { 83 TAILQ_ENTRY(autofs_mount) am_next; 84 struct autofs_node *am_root; --- 7 unchanged lines hidden (view full) --- 92}; 93 94struct autofs_request { 95 TAILQ_ENTRY(autofs_request) ar_next; 96 struct autofs_mount *ar_mount; 97 int ar_id; 98 bool ar_done; 99 int ar_error; | 78 struct callout an_callout; 79 int an_retries; 80 struct timespec an_ctime; 81}; 82 83struct autofs_mount { 84 TAILQ_ENTRY(autofs_mount) am_next; 85 struct autofs_node *am_root; --- 7 unchanged lines hidden (view full) --- 93}; 94 95struct autofs_request { 96 TAILQ_ENTRY(autofs_request) ar_next; 97 struct autofs_mount *ar_mount; 98 int ar_id; 99 bool ar_done; 100 int ar_error; |
101 bool ar_wildcards; |
|
100 bool ar_in_progress; 101 char ar_from[MAXPATHLEN]; 102 char ar_path[MAXPATHLEN]; 103 char ar_prefix[MAXPATHLEN]; 104 char ar_key[MAXPATHLEN]; 105 char ar_options[MAXPATHLEN]; 106 struct timeout_task ar_task; 107 volatile u_int ar_refcount; --- 36 unchanged lines hidden --- | 102 bool ar_in_progress; 103 char ar_from[MAXPATHLEN]; 104 char ar_path[MAXPATHLEN]; 105 char ar_prefix[MAXPATHLEN]; 106 char ar_key[MAXPATHLEN]; 107 char ar_options[MAXPATHLEN]; 108 struct timeout_task ar_task; 109 volatile u_int ar_refcount; --- 36 unchanged lines hidden --- |