internal.h (ffba718e935402e7f42b8cd5d1e00e4a3907d361) internal.h (87182759cd6f94875d6aaaac74eaa52aa6aa6f98)
1/* internal AFS stuff
2 *
3 * Copyright (C) 2002, 2007 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

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

132 struct afs_addr_list *ret_alist;
133 struct afs_vldb_entry *ret_vldb;
134 struct afs_acl *ret_acl;
135 };
136 struct afs_fid *out_fid;
137 struct afs_file_status *out_vnode_status;
138 struct afs_file_status *out_extra_status;
139 struct afs_callback *out_cb;
1/* internal AFS stuff
2 *
3 * Copyright (C) 2002, 2007 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

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

132 struct afs_addr_list *ret_alist;
133 struct afs_vldb_entry *ret_vldb;
134 struct afs_acl *ret_acl;
135 };
136 struct afs_fid *out_fid;
137 struct afs_file_status *out_vnode_status;
138 struct afs_file_status *out_extra_status;
139 struct afs_callback *out_cb;
140 struct afs_status_cb *out_scb;
140 struct yfs_acl *out_yacl;
141 struct afs_volsync *out_volsync;
142 struct afs_volume_status *out_volstatus;
143 struct afs_read *read_request;
144 unsigned int server_index;
145 pgoff_t first; /* first page in mapping to deal with */
146 pgoff_t last; /* last page in mapping to deal with */
147 atomic_t usage;

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

986extern int afs_fs_extend_lock(struct afs_fs_cursor *);
987extern int afs_fs_release_lock(struct afs_fs_cursor *);
988extern int afs_fs_give_up_all_callbacks(struct afs_net *, struct afs_server *,
989 struct afs_addr_cursor *, struct key *);
990extern struct afs_call *afs_fs_get_capabilities(struct afs_net *, struct afs_server *,
991 struct afs_addr_cursor *, struct key *,
992 unsigned int);
993extern int afs_fs_inline_bulk_status(struct afs_fs_cursor *, struct afs_net *,
141 struct yfs_acl *out_yacl;
142 struct afs_volsync *out_volsync;
143 struct afs_volume_status *out_volstatus;
144 struct afs_read *read_request;
145 unsigned int server_index;
146 pgoff_t first; /* first page in mapping to deal with */
147 pgoff_t last; /* last page in mapping to deal with */
148 atomic_t usage;

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

987extern int afs_fs_extend_lock(struct afs_fs_cursor *);
988extern int afs_fs_release_lock(struct afs_fs_cursor *);
989extern int afs_fs_give_up_all_callbacks(struct afs_net *, struct afs_server *,
990 struct afs_addr_cursor *, struct key *);
991extern struct afs_call *afs_fs_get_capabilities(struct afs_net *, struct afs_server *,
992 struct afs_addr_cursor *, struct key *,
993 unsigned int);
994extern int afs_fs_inline_bulk_status(struct afs_fs_cursor *, struct afs_net *,
994 struct afs_fid *, struct afs_file_status *,
995 struct afs_callback *, unsigned int,
996 struct afs_volsync *);
995 struct afs_fid *, struct afs_status_cb *,
996 unsigned int, struct afs_volsync *);
997extern int afs_fs_fetch_status(struct afs_fs_cursor *, struct afs_net *,
998 struct afs_fid *, struct afs_file_status *,
999 struct afs_callback *, struct afs_volsync *);
1000
1001struct afs_acl {
1002 u32 size;
1003 u8 data[];
1004};

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

1388extern int yfs_fs_get_volume_status(struct afs_fs_cursor *, struct afs_volume_status *);
1389extern int yfs_fs_set_lock(struct afs_fs_cursor *, afs_lock_type_t);
1390extern int yfs_fs_extend_lock(struct afs_fs_cursor *);
1391extern int yfs_fs_release_lock(struct afs_fs_cursor *);
1392extern int yfs_fs_fetch_status(struct afs_fs_cursor *, struct afs_net *,
1393 struct afs_fid *, struct afs_file_status *,
1394 struct afs_callback *, struct afs_volsync *);
1395extern int yfs_fs_inline_bulk_status(struct afs_fs_cursor *, struct afs_net *,
997extern int afs_fs_fetch_status(struct afs_fs_cursor *, struct afs_net *,
998 struct afs_fid *, struct afs_file_status *,
999 struct afs_callback *, struct afs_volsync *);
1000
1001struct afs_acl {
1002 u32 size;
1003 u8 data[];
1004};

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

1388extern int yfs_fs_get_volume_status(struct afs_fs_cursor *, struct afs_volume_status *);
1389extern int yfs_fs_set_lock(struct afs_fs_cursor *, afs_lock_type_t);
1390extern int yfs_fs_extend_lock(struct afs_fs_cursor *);
1391extern int yfs_fs_release_lock(struct afs_fs_cursor *);
1392extern int yfs_fs_fetch_status(struct afs_fs_cursor *, struct afs_net *,
1393 struct afs_fid *, struct afs_file_status *,
1394 struct afs_callback *, struct afs_volsync *);
1395extern int yfs_fs_inline_bulk_status(struct afs_fs_cursor *, struct afs_net *,
1396 struct afs_fid *, struct afs_file_status *,
1397 struct afs_callback *, unsigned int,
1398 struct afs_volsync *);
1396 struct afs_fid *, struct afs_status_cb *,
1397 unsigned int, struct afs_volsync *);
1399
1400struct yfs_acl {
1401 struct afs_acl *acl; /* Dir/file/symlink ACL */
1402 struct afs_acl *vol_acl; /* Whole volume ACL */
1403 u32 inherit_flag; /* True if ACL is inherited from parent dir */
1404 u32 num_cleaned; /* Number of ACEs removed due to subject removal */
1405 unsigned int flags;
1406#define YFS_ACL_WANT_ACL 0x01 /* Set if caller wants ->acl */

--- 184 unchanged lines hidden ---
1398
1399struct yfs_acl {
1400 struct afs_acl *acl; /* Dir/file/symlink ACL */
1401 struct afs_acl *vol_acl; /* Whole volume ACL */
1402 u32 inherit_flag; /* True if ACL is inherited from parent dir */
1403 u32 num_cleaned; /* Number of ACEs removed due to subject removal */
1404 unsigned int flags;
1405#define YFS_ACL_WANT_ACL 0x01 /* Set if caller wants ->acl */

--- 184 unchanged lines hidden ---