Home
last modified time | relevance | path

Searched +full:set +full:- +full:aces (Results 1 – 25 of 32) sorted by relevance

12

/kernel/linux/linux-6.6/fs/nfsd/
Dnfs4acl.c140 pacl = posix_acl_from_mode(inode->i_mode, GFP_KERNEL); in nfsd4_get_nfs4_acl()
146 size += 2 * pacl->a_count; in nfsd4_get_nfs4_acl()
148 if (S_ISDIR(inode->i_mode)) { in nfsd4_get_nfs4_acl()
157 size += 2 * dpacl->a_count; in nfsd4_get_nfs4_acl()
162 error = -ENOMEM; in nfsd4_get_nfs4_acl()
165 (*acl)->naces = 0; in nfsd4_get_nfs4_acl()
199 pas->mask = 07; in summarize_posix_acl()
201 pe = acl->a_entries + acl->a_count; in summarize_posix_acl()
204 switch (pa->e_tag) { in summarize_posix_acl()
206 pas->owner = pa->e_perm; in summarize_posix_acl()
[all …]
Dnfs4xdr.c2 * Server-side XDR for NFSv4
109 return (clid->cl_boot == 0) && (clid->cl_id == 0); in zero_clientid()
113 * svcxdr_tmpalloc - allocate memory to be freed after compound processing
128 tb->next = argp->to_free; in svcxdr_tmpalloc()
129 argp->to_free = tb; in svcxdr_tmpalloc()
130 return tb->buf; in svcxdr_tmpalloc()
135 * as null-terminated strings.
137 * Note null-terminating in place usually isn't safe since the
161 if (p != argp->xdr->scratch.iov_base) in svcxdr_savemem()
176 * This helper handles variable-length opaques which belong to protocol
[all …]
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4acl.c140 pacl = posix_acl_from_mode(inode->i_mode, GFP_KERNEL); in nfsd4_get_nfs4_acl()
146 size += 2 * pacl->a_count; in nfsd4_get_nfs4_acl()
148 if (S_ISDIR(inode->i_mode)) { in nfsd4_get_nfs4_acl()
157 size += 2 * dpacl->a_count; in nfsd4_get_nfs4_acl()
162 error = -ENOMEM; in nfsd4_get_nfs4_acl()
165 (*acl)->naces = 0; in nfsd4_get_nfs4_acl()
199 pas->mask = 07; in summarize_posix_acl()
201 pe = acl->a_entries + acl->a_count; in summarize_posix_acl()
204 switch (pa->e_tag) { in summarize_posix_acl()
206 pas->owner = pa->e_perm; in summarize_posix_acl()
[all …]
Dnfs4xdr.c2 * Server-side XDR for NFSv4
119 if (!(x = (p==argp->tmp || p == argp->tmpp) ? \
135 if (nbytes <= (u32)((char *)argp->end - (char *)argp->p)) { \
136 p = argp->p; \
137 argp->p += XDR_QUADLEN(nbytes); \
147 argp->p = page_address(argp->pagelist[0]); in next_decode_page()
148 argp->pagelist++; in next_decode_page()
149 if (argp->pagelen < PAGE_SIZE) { in next_decode_page()
150 argp->end = argp->p + XDR_QUADLEN(argp->pagelen); in next_decode_page()
151 argp->pagelen = 0; in next_decode_page()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/
Dspi-synquacer.txt1 * Socionext Synquacer HS-SPI bindings
4 - compatible: should be "socionext,synquacer-spi"
5 - reg: physical base address of the controller and length of memory mapped
7 - interrupts: should contain the "spi_rx", "spi_tx" and "spi_fault" interrupts.
8 - clocks: core clock iHCLK. Optional rate clock iPCLK (default is iHCLK)
9 - clock-names: Shall be "iHCLK" and "iPCLK" respectively
12 - socionext,use-rtm: boolean, if required to use "retimed clock" for RX
13 - socionext,set-aces: boolean, if same active clock edges field to be set.
18 compatible = "socionext,synquacer-spi";
24 clock-names = "iHCLK";
[all …]
/kernel/linux/linux-6.6/fs/smb/server/
Dsmbacl.c1 // SPDX-License-Identifier: LGPL-2.1+
38 /* S-1-22-1 Unmapped Unix users */
42 /* S-1-22-2 Unmapped Unix groups */
47 * See http://technet.microsoft.com/en-us/library/hh509017(v=ws.10).aspx
50 /* S-1-5-88 MS NFS and Apple style UID/GID/mode */
52 /* S-1-5-88-1 Unix uid */
57 /* S-1-5-88-2 Unix gid */
62 /* S-1-5-88-3 Unix mode */
69 * the same returns zero, if they do not match returns non-zero.
80 if (ctsid->revision != cwsid->revision) { in compare_sids()
[all …]
Dvfs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 #include <linux/backing-dev.h>
43 if (!test_share_config_flag(work->tcon->share_conf, in ksmbd_vfs_inherit_owner()
51 * ksmbd_vfs_lock_parent() - lock parent dentry if it is stable
55 * Returns: %0 on success, %-ENOENT if the parent dentry is not stable
60 if (child->d_parent != parent) { in ksmbd_vfs_lock_parent()
62 return -ENOENT; in ksmbd_vfs_lock_parent()
75 struct path *root_share_path = &share_conf->vfs_path; in ksmbd_vfs_path_lookup_locked()
80 pathname = share_conf->path; in ksmbd_vfs_path_lookup_locked()
101 return -ENOENT; in ksmbd_vfs_path_lookup_locked()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/
Dsocionext,synquacer-spi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spi/socionext,synquacer-spi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Socionext SynQuacer HS-SPI Controller
10 - Masahisa Kojima <masahisa.kojima@linaro.org>
11 - Jassi Brar <jaswinder.singh@linaro.org>
14 - $ref: spi-controller.yaml#
18 const: socionext,synquacer-spi
26 - description: core clock
[all …]
/kernel/linux/linux-6.6/fs/smb/client/
Dcifsacl.c1 // SPDX-License-Identifier: LGPL-2.1
15 #include <linux/key-type.h>
19 #include <keys/user-type.h>
36 /* S-1-22-1 Unmapped Unix users */
40 /* S-1-22-2 Unmapped Unix groups */
45 * See https://technet.microsoft.com/en-us/library/hh509017(v=ws.10).aspx
48 /* S-1-5-88 MS NFS and Apple style UID/GID/mode */
50 /* S-1-5-88-1 Unix uid */
55 /* S-1-5-88-2 Unix gid */
60 /* S-1-5-88-3 Unix mode */
[all …]
Dcifsacl.h1 /* SPDX-License-Identifier: LGPL-2.1 */
33 * Security Descriptor length containing DACL with 3 ACEs (one each for
48 * "S-" + 3 bytes for version field + 15 for authority field + NULL terminator
50 * For authority field, max is when all 6 values are non-zero and it must be
51 * represented in hex. So "-0x" + 12 hex digits.
53 * Add 11 bytes for each subauthority field (10 bytes each + 1 for '-')
83 /* ACE types - see MS-DTYP 2.4.4.1 */
115 __u8 type; /* see above and MS-DTYP 2.4.4.1 */
125 * matches names of fields to the spec, MS-DTYP (see sections 2.4.5 and
127 * match the MS-DTYP and MS-SMB2 specs which define the wire format.
[all …]
Dcifsglob.h1 /* SPDX-License-Identifier: LGPL-2.1 */
58 * max attribute cache timeout (jiffies) - 2^30
112 #define CIFS_DFS_ROOT_SES(ses) ((ses)->dfs_root_ses ?: (ses))
184 struct shash_desc *hmacsha256; /* hmac-sha256 hash function, for SMB2 signatures */
186 struct shash_desc *aes_cmac; /* block-cipher based MAC function, for SMB3 signatures */
188 struct crypto_aead *enc; /* smb3 encryption AEAD TFM (AES-CCM and AES-GCM) */
189 struct crypto_aead *dec; /* smb3 decryption AEAD TFM (AES-CCM and AES-GCM) */
209 struct smb_ace *aces; member
258 size_t rq_iter_size; /* Amount of data in ->rq_iter */
308 * message field DataRemaining for out-of-band data read (e.g through
[all …]
Dcifssmb.c1 // SPDX-License-Identifier: LGPL-2.1
11 /* SMB/CIFS PDU handling routines here - except for leftovers in connect.c */
78 * tcp and smb session status done differently for those three - in the in cifs_reconnect_tcon()
84 ses = tcon->ses; in cifs_reconnect_tcon()
85 server = ses->server; in cifs_reconnect_tcon()
91 spin_lock(&tcon->tc_lock); in cifs_reconnect_tcon()
92 if (tcon->status == TID_EXITING) { in cifs_reconnect_tcon()
94 spin_unlock(&tcon->tc_lock); in cifs_reconnect_tcon()
97 return -ENODEV; in cifs_reconnect_tcon()
100 spin_unlock(&tcon->tc_lock); in cifs_reconnect_tcon()
[all …]
/kernel/linux/linux-6.6/fs/nfs_common/
Dnfsacl.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2002-2003 Andreas Gruenbacher <agruen@suse.de>
12 * - Minimal ACLs always have an ACL_MASK entry, so they have
14 * - The ACL_MASK entry in such minimal ACLs always has the same
17 * - The identifier fields of the ACL_USER_OBJ and ACL_GROUP_OBJ
19 * (In POSIX ACLs we always set them to ACL_UNDEFINED_ID).
20 * - ACL entries in the kernel are kept sorted in ascending order
56 &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; in xdr_nfsace_encode()
58 *p++ = htonl(entry->e_tag | nfsacl_desc->typeflag); in xdr_nfsace_encode()
59 switch(entry->e_tag) { in xdr_nfsace_encode()
[all …]
/kernel/linux/linux-5.10/fs/cifs/
Dcifsacl.c21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 #include <linux/key-type.h>
29 #include <keys/user-type.h>
43 /* S-1-22-1 Unmapped Unix users */
47 /* S-1-22-2 Unmapped Unix groups */
52 * See https://technet.microsoft.com/en-us/library/hh509017(v=ws.10).aspx
55 /* S-1-5-88 MS NFS and Apple style UID/GID/mode */
57 /* S-1-5-88-1 Unix uid */
62 /* S-1-5-88-2 Unix gid */
67 /* S-1-5-88-3 Unix mode */
[all …]
Dcifsacl.h19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
43 * Security Descriptor length containing DACL with 3 ACEs (one each for
58 * "S-" + 3 bytes for version field + 15 for authority field + NULL terminator
60 * For authority field, max is when all 6 values are non-zero and it must be
61 * represented in hex. So "-0x" + 12 hex digits.
63 * Add 11 bytes for each subauthority field (10 bytes each + 1 for '-')
93 /* ACE types - see MS-DTYP 2.4.4.1 */
125 __u8 type; /* see above and MS-DTYP 2.4.4.1 */
135 * matches names of fields to the spec, MS-DTYP (see sections 2.4.5 and
137 * match the MS-DTYP and MS-SMB2 specs which define the wire format.
[all …]
Dcifsglob.h61 * max attribute cache timeout (jiffies) - 2^30
145 struct crypto_shash *hmacmd5; /* hmac-md5 hash function */
147 struct crypto_shash *hmacsha256; /* hmac-sha256 hash function */
148 struct crypto_shash *cmacaes; /* block-cipher based MAC function */
176 struct cifs_ace *aces; member
246 * message field DataRemaining for out-of-band data read (e.g through
273 /* set negotiated write size */
275 /* set negotiated read size */
312 /* set size by path */
315 /* set size by file handle */
[all …]
/kernel/linux/linux-5.10/fs/nfs_common/
Dnfsacl.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2002-2003 Andreas Gruenbacher <agruen@suse.de>
12 * - Minimal ACLs always have an ACL_MASK entry, so they have
14 * - The ACL_MASK entry in such minimal ACLs always has the same
17 * - The identifier fields of the ACL_USER_OBJ and ACL_GROUP_OBJ
19 * (In POSIX ACLs we always set them to ACL_UNDEFINED_ID).
20 * - ACL entries in the kernel are kept sorted in ascending order
56 &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; in xdr_nfsace_encode()
58 *p++ = htonl(entry->e_tag | nfsacl_desc->typeflag); in xdr_nfsace_encode()
59 switch(entry->e_tag) { in xdr_nfsace_encode()
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-synquacer.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (c) 2015-2018 Socionext Inc.
6 // Copyright (c) 2018-2019 Linaro Ltd.
108 (SYNQUACER_HSSPI_FIFO_DEPTH - SYNQUACER_HSSPI_FIFO_TX_THRESHOLD)
128 bool aces, rtm; member
143 u32 len = readl(sspi->regs + SYNQUACER_HSSPI_REG_DMSTATUS); in read_fifo()
147 len = min(len, sspi->rx_words); in read_fifo()
149 switch (sspi->bpw) { in read_fifo()
151 u8 *buf = sspi->rx_buf; in read_fifo()
153 ioread8_rep(sspi->regs + SYNQUACER_HSSPI_REG_RX_FIFO, in read_fifo()
[all …]
/kernel/linux/linux-6.6/drivers/spi/
Dspi-synquacer.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (c) 2015-2018 Socionext Inc.
6 // Copyright (c) 2018-2019 Linaro Ltd.
108 (SYNQUACER_HSSPI_FIFO_DEPTH - SYNQUACER_HSSPI_FIFO_TX_THRESHOLD)
128 bool aces, rtm; member
143 u32 len = readl(sspi->regs + SYNQUACER_HSSPI_REG_DMSTATUS); in read_fifo()
147 len = min(len, sspi->rx_words); in read_fifo()
149 switch (sspi->bpw) { in read_fifo()
151 u8 *buf = sspi->rx_buf; in read_fifo()
153 ioread8_rep(sspi->regs + SYNQUACER_HSSPI_REG_RX_FIFO, in read_fifo()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dnfs_fs_sb.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/backing-dev.h>
31 int cl_cons_state; /* current construction state (-ve: init error) */
36 #define NFS_CS_CALLBACK 1 /* - callback started */
37 #define NFS_CS_IDMAP 2 /* - idmap started */
38 #define NFS_CS_RENEWD 3 /* - renewd started */
42 #define NFS_CS_NORESVPORT 0 /* - use ephemeral src port */
43 #define NFS_CS_DISCRTRY 1 /* - disconnect on RPC retry */
44 #define NFS_CS_MIGRATION 2 /* - transparent state migr */
45 #define NFS_CS_INFINITE_SLOTS 3 /* - don't limit TCP slots */
[all …]
/kernel/linux/linux-6.6/include/linux/
Dnfs_fs_sb.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/backing-dev.h>
31 int cl_cons_state; /* current construction state (-ve: init error) */
36 #define NFS_CS_CALLBACK 1 /* - callback started */
37 #define NFS_CS_IDMAP 2 /* - idmap started */
38 #define NFS_CS_RENEWD 3 /* - renewd started */
42 #define NFS_CS_NORESVPORT 0 /* - use ephemeral src port */
43 #define NFS_CS_DISCRTRY 1 /* - disconnect on RPC retry */
44 #define NFS_CS_MIGRATION 2 /* - transparent state migr */
45 #define NFS_CS_INFINITE_SLOTS 3 /* - don't limit TCP slots */
[all …]
/kernel/linux/linux-6.6/fs/ntfs/
Dlayout.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * layout.h - All NTFS associated on-disk structures. Part of the Linux-NTFS
6 * Copyright (c) 2001-2005 Anton Altaparmakov
71 approx. 4.7x10^21 bytes. (-; */
117 * operator! (-8
163 * been written to disk. The values 0 and -1 (ie. 0xffff) are not used. All
165 * are set to it (during writing). If they are not, an incomplete multi sector
170 * (obviously) finish before the last le16 of the first 512-byte sector.
175 NTFS_RECORD_TYPE magic; /* A four-byte magic identifying the record
212 FILE_BadClus = 8, /* Contains all bad clusters in the non-resident
[all …]
/kernel/linux/linux-5.10/fs/ntfs/
Dlayout.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * layout.h - All NTFS associated on-disk structures. Part of the Linux-NTFS
6 * Copyright (c) 2001-2005 Anton Altaparmakov
71 approx. 4.7x10^21 bytes. (-; */
117 * operator! (-8
163 * been written to disk. The values 0 and -1 (ie. 0xffff) are not used. All
165 * are set to it (during writing). If they are not, an incomplete multi sector
170 * (obviously) finish before the last le16 of the first 512-byte sector.
175 NTFS_RECORD_TYPE magic; /* A four-byte magic identifying the record
212 FILE_BadClus = 8, /* Contains all bad clusters in the non-resident
[all …]
/kernel/linux/linux-6.6/fs/afs/
Dinternal.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 #include <linux/backing-dev.h>
38 * Partial file-locking emulation mode. (The problem being that AFS3 only
39 * allows whole-file locks and no upgrading/downgrading).
51 bool autocell; /* T if set auto mount operation */
54 enum afs_flock_mode flock_mode; /* Partial file-locking emulation mode */
95 * a record of an in-progress RxRPC call
113 union { /* Convenience for ->def_iter */
131 unsigned int max_lifespan; /* Maximum lifespan in secs to set if not 0 */
136 unsigned char addr_ix; /* Address in ->alist */
[all …]
/kernel/linux/linux-5.10/fs/afs/
Dinternal.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
18 #include <linux/backing-dev.h>
36 * Partial file-locking emulation mode. (The problem being that AFS3 only
37 * allows whole-file locks and no upgrading/downgrading).
49 bool autocell; /* T if set auto mount operation */
52 enum afs_flock_mode flock_mode; /* Partial file-locking emulation mode */
93 * a record of an in-progress RxRPC call
109 union { /* Convenience for ->def_iter */
127 unsigned int max_lifespan; /* Maximum lifespan to set if not 0 */
132 unsigned char addr_ix; /* Address in ->alist */
[all …]

12