Home
last modified time | relevance | path

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

/linux/fs/nfsd/
H A 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 …]
H A 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 …]
/linux/fs/smb/server/
H A 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 …]
/linux/Documentation/devicetree/bindings/spi/
H A 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 …]
/linux/fs/smb/client/
H A 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-2
[all...]
H A Dcifsacl.h1 /* SPDX-License-Identifier: LGPL-2.1 */
26 * Security Descriptor length containing DACL with 3 ACEs (one each for
36 * matches names of fields to the spec, MS-DTYP (see sections 2.4.5 and
38 * match the MS-DTYP and MS-SMB2 specs which define the wire format.
42 __u8 Sbz1; /* only meaningful if 'RM' flag set below */
55 #define ACL_CONTROL_SI 0x0800 /* SACL Auto-Inherited */
56 #define ACL_CONTROL_DI 0x0400 /* DACL Auto-Inherite
[all...]
H A 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))
182 struct shash_desc *hmacsha256; /* hmac-sha256 hash function, for SMB2 signatures */
183 struct shash_desc *aes_cmac; /* block-cipher based MAC function, for SMB3 signatures */
185 struct crypto_aead *enc; /* smb3 encryption AEAD TFM (AES-CCM and AES-GCM) */
186 struct crypto_aead *dec; /* smb3 decryption AEAD TFM (AES-CCM and AES-GCM) */
206 struct smb_ace *aces; member
303 * message field DataRemaining for out-of-band data read (e.g through
332 /* set negotiated write size */
[all …]
H A Dcifssmb.c1 // SPDX-License-Identifier: LGPL-2.1
11 /* SMB/CIFS PDU handling routines here - except for leftovers in connect.c */
80 * tcp and smb session status done differently for those three - in the in cifs_reconnect_tcon()
86 ses = tcon->ses; in cifs_reconnect_tcon()
87 server = ses->server; in cifs_reconnect_tcon()
93 spin_lock(&tcon->tc_lock); in cifs_reconnect_tcon()
94 if (tcon->status == TID_EXITING) { in cifs_reconnect_tcon()
96 spin_unlock(&tcon->tc_lock); in cifs_reconnect_tcon()
99 return -ENODEV; in cifs_reconnect_tcon()
102 spin_unlock(&tcon->tc_lock); in cifs_reconnect_tcon()
[all …]
H A Dsmb2pdu.c1 // SPDX-License-Identifier: LGPL-2.1
13 /* SMB2 PDU handling routines here - except for leftovers (eg session setup) */
78 if (!tcon || !tcon->ses) in smb3_encryption_required()
80 if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || in smb3_encryption_required()
81 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) in smb3_encryption_required()
83 if (tcon->seal && in smb3_encryption_required()
84 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required()
87 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required()
99 shdr->ProtocolId = SMB2_PROTO_NUMBER; in smb2_hdr_assemble()
100 shdr->StructureSize = cpu_to_le16(64); in smb2_hdr_assemble()
[all …]
/linux/fs/nfs_common/
H A 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
57 &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; in xdr_nfsace_encode()
59 *p++ = htonl(entry->e_tag | nfsacl_desc->typeflag); in xdr_nfsace_encode()
60 switch(entry->e_tag) { in xdr_nfsace_encode()
[all …]
/linux/drivers/spi/
H A 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 …]
/linux/fs/afs/
H A Dinternal.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 #include <linux/backing-dev.h>
39 * Partial file-locking emulation mode. (The problem being that AFS3 only
40 * allows whole-file locks and no upgrading/downgrading).
52 bool autocell; /* T if set auto mount operation */
55 enum afs_flock_mode flock_mode; /* Partial file-locking emulation mode */
126 * a record of an in-progress RxRPC call
144 union { /* Convenience for ->def_iter */
157 unsigned char probe_index; /* Address in ->probe_alist */
165 unsigned int max_lifespan; /* Maximum lifespan in secs to set if not 0 */
[all …]
/linux/fs/ntfs3/
H A Dfsntfs.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved.
18 // clang-format off
126 // clang-format on
129 * ntfs_fix_pre_write - Insert fixups into @rhdr before writing to disk.
135 u16 fo = le16_to_cpu(rhdr->fix_off); in ntfs_fix_pre_write()
136 u16 fn = le16_to_cpu(rhdr->fix_num); in ntfs_fix_pre_write()
138 if ((fo & 1) || fo + fn * sizeof(short) > SECTOR_SIZE || !fn-- || in ntfs_fix_pre_write()
153 ptr = Add2Ptr(rhdr, SECTOR_SIZE - sizeof(short)); in ntfs_fix_pre_write()
155 while (fn--) { in ntfs_fix_pre_write()
[all …]
/linux/fs/nfs/
H A Dnfs4proc.c4 * Client-side procedure declarations for NFSv4.
125 label->lfs = 0; in nfs4_label_init_security()
126 label->pi = 0; in nfs4_label_init_security()
127 label->len = 0; in nfs4_label_init_security()
128 label->label = NULL; in nfs4_label_init_security()
130 err = security_dentry_init_security(dentry, sattr->ia_mode, in nfs4_label_init_security()
131 &dentry->d_name, NULL, in nfs4_label_init_security()
132 (void **)&label->label, &label->len); in nfs4_label_init_security()
142 security_release_secctx(label->label, label->len); in nfs4_label_release_security()
147 return server->attr_bitmask; in nfs4_bitmask()
[all …]