| /linux/fs/ceph/ |
| H A D | snap.c | 1 // SPDX-License-Identifier: GPL-2.0 23 * This provides a perfect instantanous client-wide snapshot. Between 28 * Snapshots are _not_ file system-wide. Instead, each snapshot 31 * of the files contained by each realm share the same set of 32 * snapshots. An individual realm's snap set contains snapshots 33 * explicitly created on that realm, as well as any snaps in its 40 * realm relationship, and for each realm has an explicit list of snaps 44 * with an open cap in the system. (The needed snap realm information is 46 * version number is used to ensure that as realm parameters change (new 47 * snapshot, new parent, etc.) the client's realm hierarchy is updated. [all …]
|
| H A D | super.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <linux/backing-dev.h> 29 * large volume sizes on 32-bit machines. */ 44 #define CEPH_MOUNT_OPT_NOCOPYFROM (1<<14) /* don't use RADOS 'copy-from' op */ 55 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt 57 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt 59 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) 110 * ->mds_namespace is NULL) is treated specially, since 111 * ->mds_namespace needs to be initialized by the caller. 116 return !(fsopt->mds_namespace && in namespace_equals() [all …]
|
| H A D | mds_client.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 62 * session->s_mutex 63 * mdsc->mutex 65 * mdsc->snap_rwsem 67 * ci->i_ceph_lock 68 * mdsc->snap_flush_lock 69 * mdsc->cap_delay_lock 76 #define MDS_AUTH_UID_ANY -1 96 * on-wire structures within the mds reply message payload. 191 * Account for per-message overhead of mds_cap_release header [all …]
|
| H A D | mds_client.c | 1 // SPDX-License-Identifier: GPL-2.0 28 #define RECONNECT_MAX_SIZE (INT_MAX - PAGE_SIZE) 90 ceph_decode_64_safe(p, end, info->max_bytes, bad); in parse_reply_info_quota() 91 ceph_decode_64_safe(p, end, info->max_files, bad); in parse_reply_info_quota() 95 return -EIO; in parse_reply_info_quota() 108 if (features == (u64)-1) { in parse_reply_info_in() 123 info->in = *p; in parse_reply_info_in() 125 sizeof(*info->in->fragtree.splits) * in parse_reply_info_in() 126 le32_to_cpu(info->in->fragtree.nsplits); in parse_reply_info_in() 128 ceph_decode_32_safe(p, end, info->symlink_len, bad); in parse_reply_info_in() [all …]
|
| H A D | caps.c | 1 // SPDX-License-Identifier: GPL-2.0 125 *s++ = '-'; in ceph_cap_string() 132 INIT_LIST_HEAD(&mdsc->caps_list); in ceph_caps_init() 133 spin_lock_init(&mdsc->caps_list_lock); in ceph_caps_init() 140 spin_lock(&mdsc->caps_list_lock); in ceph_caps_finalize() 141 while (!list_empty(&mdsc->caps_list)) { in ceph_caps_finalize() 142 cap = list_first_entry(&mdsc->caps_list, in ceph_caps_finalize() 144 list_del(&cap->caps_item); in ceph_caps_finalize() 147 mdsc->caps_total_count = 0; in ceph_caps_finalize() 148 mdsc->caps_avail_count = 0; in ceph_caps_finalize() [all …]
|
| H A D | inode.c | 1 // SPDX-License-Identifier: GPL-2.0 48 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_set_ino_cb() 50 ci->i_vino = *(struct ceph_vino *)data; in ceph_set_ino_cb() 51 inode->i_ino = ceph_vino_to_ino_t(ci->i_vino); in ceph_set_ino_cb() 53 percpu_counter_inc(&mdsc->metric.total_inodes); in ceph_set_ino_cb() 68 * Validate that the directory inode referenced by @req->r_parent matches the 84 if (unlikely(!rinfo->diri.in)) in ceph_get_reply_dir() 91 vino.ino = le64_to_cpu(rinfo->diri.in->ino); in ceph_get_reply_dir() 92 vino.snap = le64_to_cpu(rinfo->diri.in->snapid); in ceph_get_reply_dir() 105 * ceph_new_inode - allocate a new inode in advance of an expected create [all …]
|
| /linux/Documentation/devicetree/bindings/interrupt-controller/ |
| H A D | arm,gic-v5.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/arm,gic-v5.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lpieralisi@kernel.org> 11 - Marc Zyngier <maz@kernel.org> 21 - one or more IRS (Interrupt Routing Service) 22 - zero or more ITS (Interrupt Translation Service) 25 - PE-Private Peripheral Interrupts (PPI) 26 - Shared Peripheral Interrupts (SPI) [all …]
|
| /linux/net/netfilter/ |
| H A D | xt_realm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* IP tables module for matching the routing realm 18 MODULE_DESCRIPTION("Xtables: Routing realm match"); 24 const struct xt_realm_info *info = par->matchinfo; in realm_mt() 27 return (info->id == (dst->tclassid & info->mask)) ^ info->invert; in realm_mt() 31 .name = "realm",
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 71 and is also scheduled to replace the old syslog-based ipt_LOG 107 If both are enabled the backend to use can be configured at run-time 108 by means of per-address-family sysctl tunables. 182 This allows you to store the flow start-time and to obtain 183 the flow-stop time (once it has been destroyed) via Connection 191 This option enables support for assigning user-defined flag bits 213 bool 'UDP-Lite protocol connection tracking support' 218 tracking code will be able to do state tracking on UDP-Lite 232 connection tracking and natting code to allow the sub-channels that [all …]
|
| /linux/include/linux/ceph/ |
| H A D | ceph_fs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * ceph_fs.h - Ceph constants and data types to share between kernel and 6 * Most types in this file are defined as little-endian, and are 20 * subprotocol versions. when specific messages types or high-level 23 * client-facing protocol. 41 /* file -> object mapping */ 49 /* pg -> disk layout */ 50 __le32 fl_object_stripe_unit; /* UNUSED. for per-object parity, if any */ 52 /* object -> pg layout */ 53 __le32 fl_unused; /* unused; used to be preferred primary for pg (-1 for none) */ [all …]
|
| /linux/arch/arm64/kernel/ |
| H A D | rsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 47 pr_err("RME: RMM doesn't support RSI version %lu.%lu. Supported range: %lu.%lu-%lu.%lu\n", in rsi_version_matches() 81 panic("Failed to set memory range to protected: %pa-%pa", in arm64_rsi_setup_memory() 89 * mapping, or an MMIO emulated in the Realm world). 94 * RIPAS_DEV - A trusted device memory or a trusted emulated MMIO (in the Realm 96 * RIPAS_RAM - Memory (RAM), protected by the RMM guarantees. (e.g., Firmware 149 prot_ns_shared = BIT(config.ipa_bits - 1); in arm64_rsi_init()
|
| /linux/drivers/virt/coco/arm-cca-guest/ |
| H A D | Kconfig | 7 attestation report from the Realm Management Monitor(RMM). 10 arm-cca-guest.
|
| H A D | arm-cca-guest.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/arm-smccc.h> 18 * struct arm_cca_token_info - a descriptor for the token buffer. 39 info->result = rsi_attestation_token_init(info->challenge, in arm_cca_attestation_init() 40 info->challenge_size); in arm_cca_attestation_init() 44 * arm_cca_attestation_continue - Retrieve the attestation token data. 63 size = RSI_GRANULE_SIZE - info->offset; in arm_cca_attestation_continue() 64 info->result = rsi_attestation_token_continue(info->granule, in arm_cca_attestation_continue() 65 info->offset, size, &len); in arm_cca_attestation_continue() 66 info->offset += len; in arm_cca_attestation_continue() [all …]
|
| /linux/fs/smb/client/ |
| H A D | ntlmssp.h | 1 /* SPDX-License-Identifier: LGPL-2.1 */ 19 #define NTLMSSP_REQUEST_TARGET 0x04 /* Srv returns its auth realm */ 92 /* See MS-NLMP section 2.2.2.10 */ 101 /* see MS-NLMP section 2.2.1.1 */
|
| /linux/fs/smb/server/ |
| H A D | ntlmssp.h | 1 /* SPDX-License-Identifier: LGPL-2.1+ */ 36 #define NTLMSSP_REQUEST_TARGET 0x04 /* Srv returns its auth realm */
|
| /linux/include/linux/sunrpc/ |
| H A D | svcauth.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * RPC server-side authentication stuff. 27 /* name of form servicetype/hostname@REALM, passed down by 28 * gss-proxy: */ 39 cred->cr_group_info = NULL; in init_svc_cred() 40 cred->cr_raw_principal = NULL; in init_svc_cred() 41 cred->cr_principal = NULL; in init_svc_cred() 42 cred->cr_targ_princ = NULL; in init_svc_cred() 43 cred->cr_gss_mech = NULL; in init_svc_cred() 48 if (cred->cr_group_info) in free_svc_cred() [all …]
|
| /linux/kernel/trace/rv/ |
| H A D | rv.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2019-2022 Red Hat, Inc. Daniel Bristot de Oliveira <bristot@kernel.org> 16 * safety-critical systems. 24 * Springer, Cham, 2019. p. 315-332. 28 * De Oliveira, Daniel Bristot, et al. Automata-based formal analysis 29 * and verification of the real-time Linux kernel. PhD Thesis, 2020. 40 * model of the system, a set of instances of the monitor (per-cpu monitor, 41 * per-task monitor, and so on), and the helper functions that glue the 46 * Linux +----- RV Monitor ----------------------------------+ Formal 47 * Realm | | Realm [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | afs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - Overview. 10 - Usage. 11 - Mountpoints. 12 - Dynamic root. 13 - Proc filesystem. 14 - The cell database. 15 - Security. 16 - The @sys substitution. 45 CONFIG_AF_RXRPC - The RxRPC protocol transport [all …]
|
| /linux/net/rxrpc/ |
| H A D | rxkad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Kerberos-based RxRPC security 18 #include <linux/key-type.h> 21 #include <keys/rxrpc-type.h> 22 #include "ar-internal.h" 57 * The data should be the 8-byt [all...] |
| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_rpc_upcall.c | 1 // SPDX-License-Identifier: GPL-2.0+ 126 mutex_init(&sn->gssp_lock); in init_gssp_clnt() 127 sn->gssp_clnt = NULL; in init_gssp_clnt() 136 mutex_lock(&sn->gssp_lock); in set_gssp_clnt() 139 if (sn->gssp_clnt) in set_gssp_clnt() 140 rpc_shutdown_client(sn->gssp_clnt); in set_gssp_clnt() 141 sn->gssp_clnt = clnt; in set_gssp_clnt() 143 mutex_unlock(&sn->gssp_lock); in set_gssp_clnt() 149 mutex_lock(&sn->gssp_lock); in clear_gssp_clnt() 150 if (sn->gssp_clnt) { in clear_gssp_clnt() [all …]
|
| /linux/arch/arm64/mm/ |
| H A D | pageattr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <asm/pgtable-prot.h> 26 struct page_change_data *masks = walk->private; in set_pageattr_masks() 28 val &= ~(pgprot_val(masks->clear_mask)); in set_pageattr_masks() 29 val |= (pgprot_val(masks->set_mask)); in set_pageattr_masks() 40 if (WARN_ON_ONCE((next - addr) != PUD_SIZE)) in pageattr_pud_entry() 41 return -EINVAL; in pageattr_pud_entry() 44 walk->action = ACTION_CONTINUE; in pageattr_pud_entry() 56 if (WARN_ON_ONCE((next - addr) != PMD_SIZE)) in pageattr_pmd_entry() 57 return -EINVAL; in pageattr_pmd_entry() [all …]
|
| /linux/Documentation/userspace-api/ |
| H A D | iommufd.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 20 I/O page tables for all IOMMUs, with room in the design to add non-generic 31 -------------------- 35 - IOMMUFD_OBJ_IOAS, representing an I/O address space (IOAS), allowing map/unmap 41 - IOMMUFD_OBJ_DEVICE, representing a device that is bound to iommufd by an 44 - IOMMUFD_OBJ_HWPT_PAGING, representing an actual hardware I/O page table 48 feature flag. This can be either an UNMANAGED stage-1 domain for a device 49 running in the user space, or a nesting parent stage-2 domain for mappings 50 from guest-level physical addresses to host-level physical addresses. 55 - IOMMUFD_OBJ_HWPT_NESTED, representing an actual hardware I/O page table [all …]
|
| /linux/net/sched/ |
| H A D | cls_route.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 60 #define ROUTE4_FAILURE ((struct route4_filter *)(-1L)) 72 memset(head->fastmap, 0, sizeof(head->fastmap)); in route4_reset_fastmap() 84 head->fastmap[h].id = id; in route4_set_fastmap() 85 head->fastmap[h].iif = iif; in route4_set_fastmap() 86 head->fastmap[h].filter = f; in route4_set_fastmap() 112 *res = f->res; \ 113 if (tcf_exts_has_actions(&f->exts)) { \ 114 int r = tcf_exts_exec(skb, &f->exts, res); \ 129 struct route4_head *head = rcu_dereference_bh(tp->root); in route4_classify() [all …]
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | nf_tables.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 14 * enum nft_registers - nf_tables registers 18 * of size 4. For compatibility reasons, the NFT_REG_[1-4] registers still 20 * NFT_REG32_00 - NFT_REG32_15. 47 #define NFT_REG_MAX (__NFT_REG_MAX - 1) 51 #define NFT_REG32_COUNT (NFT_REG32_15 - NFT_REG32_00 + 1) 54 * enum nft_verdicts - nf_tables internal verdicts 65 NFT_CONTINUE = -1, 66 NFT_BREAK = -2, 67 NFT_JUMP = -3, [all …]
|
| /linux/Documentation/arch/arm64/ |
| H A D | booting.rst | 13 (EL0 - EL3), with EL0, EL1 and EL2 having a secure and a non-secure 33 --------------------------- 45 protected RAM has a Realm IPA state (RIPAS) of "RAM". 49 ------------------------- 53 The device tree blob (dtb) must be placed on an 8-byte boundary and must 62 ------------------------------ 74 ------------------------ 78 The decompressed kernel image contains a 64-byte header as follows:: 94 - As of v3.17, all fields are little endian unless stated otherwise. 96 - code0/code1 are responsible for branching to stext. [all …]
|