| /linux/drivers/vfio/ |
| H A D | container.c | 5 * VFIO container (/dev/vfio/vfio) 80 static bool vfio_iommu_driver_allowed(struct vfio_container *container, in vfio_iommu_driver_allowed() argument 85 return container->noiommu == (driver->ops == &vfio_noiommu_ops); in vfio_iommu_driver_allowed() 141 * Container objects - containers are created when /dev/vfio/vfio is 143 * it's freed via kref. Must support container/group/device being 148 struct vfio_container *container; in vfio_container_release() local 149 container = container_of(kref, struct vfio_container, kref); in vfio_container_release() 151 kfree(container); in vfio_container_release() 154 static void vfio_container_get(struct vfio_container *container) in vfio_container_get() argument 156 kref_get(&container->kref); in vfio_container_get() [all …]
|
| H A D | vfio_iommu_spapr_tce.c | 50 * A container needs to remember which preregistered region it has 59 * The container descriptor supports only a single group per container. 60 * Required by the API as the container is not supplied with the IOMMU group 75 static long tce_iommu_mm_set(struct tce_container *container) in tce_iommu_mm_set() argument 77 if (container->mm) { in tce_iommu_mm_set() 78 if (container->mm == current->mm) in tce_iommu_mm_set() 83 container->mm = current->mm; in tce_iommu_mm_set() 84 mmgrab(container->mm); in tce_iommu_mm_set() 89 static long tce_iommu_prereg_free(struct tce_container *container, in tce_iommu_prereg_free() argument 94 ret = mm_iommu_put(container->mm, tcemem->mem); in tce_iommu_prereg_free() [all …]
|
| /linux/Documentation/dev-tools/ |
| H A D | container.rst | 8 The ``container`` tool can be used to run any command in the kernel source tree 9 from within a container. Doing so facilitates reproducing builds across 25 scripts/container -i IMAGE [OPTION]... CMD... 31 Path to an environment file to load in the container. 35 Group id to use inside the container. 39 Container image name (required). 43 Container runtime name. Supported runtimes: ``docker``, ``podman``. 50 Run the container in an interactive shell. 54 User id to use inside the container. 73 container. The tool will take care of mounting the source tree as the current [all …]
|
| /linux/scripts/ |
| H A D | container | 19 """Base class for a container runtime implementation""" 37 """Runtime-specific handler to run a command in a container""" 41 """Runtime-specific handler to abort a running container""" 44 """Run a command in a runtime container""" 46 self._logger.debug("container: %s", container_name) 84 """Run a command in a Docker container""" 95 """Run a command in a Podman container""" 136 logger = logging.getLogger('container') 139 fmt='[container {levelname}] {message}', style='{' 147 """Main entry point for the container tool""" [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/basics/ |
| H A D | vector.c | 35 vector->container = NULL; in dal_vector_construct() 38 /* Container must be non-zero size*/ in dal_vector_construct() 43 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); in dal_vector_construct() 44 if (vector->container == NULL) in dal_vector_construct() 62 vector->container = NULL; in dal_vector_presized_costruct() 65 /* Container must be non-zero size*/ in dal_vector_presized_costruct() 70 vector->container = kcalloc(count, struct_size, GFP_KERNEL); in dal_vector_presized_costruct() 72 if (vector->container == NULL) in dal_vector_presized_costruct() 81 vector->container + i * struct_size, in dal_vector_presized_costruct() 133 kfree(vector->container); in dal_vector_destruct() [all …]
|
| /linux/drivers/scsi/aacraid/ |
| H A D | commsup.c | 1058 u32 channel, id, lun, container; in aac_handle_aif() local 1067 /* Sniff for container changes */ in aac_handle_aif() 1071 container = channel = id = lun = (u32)-1; in aac_handle_aif() 1083 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif() 1084 if ((container >> 28)) { in aac_handle_aif() 1085 container = (u32)-1; in aac_handle_aif() 1088 channel = (container >> 24) & 0xF; in aac_handle_aif() 1090 container = (u32)-1; in aac_handle_aif() 1093 id = container & 0xFFFF; in aac_handle_aif() 1095 container = (u32)-1; in aac_handle_aif() [all …]
|
| /linux/Documentation/security/tpm/ |
| H A D | tpm_vtpm_proxy.rst | 15 container. This allows programs to interact with a TPM in a container 17 container gets its own unique, emulated, software TPM. 22 To make an emulated software TPM available to each container, the container 25 descriptor. The former is moved into the container by creating a character 27 is passed to the TPM emulator. Software inside the container can then send
|
| /linux/rust/kernel/ |
| H A D | configfs.rs | 42 //! container: configfs::Subsystem<Configuration>, 78 //! fn show(container: &Configuration, page: &mut [u8; PAGE_SIZE]) -> Result<usize> { 80 //! let data = container.message; 90 //! fn show(container: &Configuration, page: &mut [u8; PAGE_SIZE]) -> Result<usize> { 92 //! let guard = container.bar.lock(); 99 //! fn store(container: &Configuration, page: &[u8]) -> Result { 101 //! let mut guard = container.bar.lock(); 432 struct ItemOperationsVTable<Container, Data>(PhantomData<(Container, Data)>); 730 pub struct ItemType<Container, Dat [all...] |
| /linux/net/batman-adv/ |
| H A D | tvlv.c | 49 * batadv_tvlv_handler_put() - decrement the tvlv container refcounter and 108 * batadv_tvlv_container_put() - decrement the tvlv container refcounter and 110 * @tvlv: the tvlv container to free 121 * batadv_tvlv_container_get() - retrieve tvlv container from the tvlv container 124 * @type: tvlv container type to look for 125 * @version: tvlv container version to look for 130 * Return: tvlv container if found or NULL otherwise. 155 * batadv_tvlv_container_list_size() - calculate the size of the tvlv container 180 * batadv_tvlv_container_remove() - remove tvlv container from the tvlv 181 * container list [all …]
|
| /linux/tools/verification/rv/src/ |
| H A D | in_kernel.c | 57 * equal to monitor_name or container/monitor_name if nested 185 * Returns -1 on error, 1 if the monitor does not belong in the container, 0 otherwise. 186 * container can be NULL in ikm_fill_monitor_definition() argument 188 static int ikm_fill_monitor_definition(char *name, struct monitor *ikm, char *container) in ikm_fill_monitor_definition() 195 /* it belongs in container if it starts with "container:" */ in ikm_fill_monitor_definition() 196 if (container) { in ikm_fill_monitor_definition() 197 int len = strlen(container); in ikm_fill_monitor_definition() 199 if (strncmp(name, container, len) || name[len] != ':') in ikm_fill_monitor_definition() 206 if (container) in ikm_fill_monitor_definition() 61 char *available_monitors, container[MAX_DA_NAME_LEN+1], *cursor, *end; __ikm_find_monitor_name() local 337 ikm_list_monitors(char * container) ikm_list_monitors() argument [all...] |
| H A D | rv.c | 44 " usage: rv list [-h] [container]", in rv_list() 50 " [container]: list only monitors in this container", in rv_list() 54 char *container = NULL; in rv_list() local 65 container = argv[1]; in rv_list() 78 ikm_list_monitors(container); in rv_list()
|
| /linux/drivers/base/ |
| H A D | attribute_container.c | 3 * attribute_container.c - implementation of a simple container for classes 24 * container .. it should never be visible outside this file */ 47 * attribute_container_classdev_to_container - given a classdev, return the container 51 * Returns the container associated with this classdev. 67 * attribute_container_register - register an attribute container 69 * @cont: The container to register. This must be allocated by the 86 * attribute_container_unregister - remove a container registration 88 * @cont: previously registered container to remove 121 * attribute_container_add_device - see if any container is interested in dev 158 dev_err(dev, "failed to allocate class container\n"); in attribute_container_add_device() [all …]
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | tcm.h | 2 * TILER container manager specification and support functions for TI 57 u16 width, height; /* container dimensions */ 76 BASIC TILER CONTAINER MANAGER INTERFACE 86 * width and height fits within container 87 * number of pages is more than the size of the container 95 * Deinitialize tiler container manager. 97 * @param tcm Pointer to container manager. 111 * Reserves a 2D area in the container. 113 * @param tcm Pointer to container manager. 117 * all values may be supported by the container manager, [all …]
|
| /linux/tools/verification/rvgen/rvgen/ |
| H A D | container.py | 6 # Generator for runtime verification monitor container 11 class Container(generator.RVGenerator): class 12 template_dir = "container" 25 """Override to produce a marker for this container in the Kconfig"""
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-syscfg-configfs.h | 14 /* container for configuration view */ 22 /* container for feature view */ 28 /* container for parameter view */ 35 /* container for preset view */
|
| /linux/drivers/bus/fsl-mc/ |
| H A D | dprc.c | 23 * @container_id: Container ID to open 84 * dprc_reset_container - Reset child container. 88 * @child_container_id: ID of the container to reset 90 * - 0 (no bits set) - all the objects inside the container are 94 * - bit 0 set - all the objects inside the container are reset. 98 * may wish to reset its resources container before the software context is 101 * This routine informs all objects assigned to the child container that the 102 * container is being reset, so they may perform any cleanup operations that are 103 * needed. All objects handles that were owned by the child container shall be 333 * dprc_get_attributes() - Obtains container attributes [all …]
|
| H A D | fsl-mc-private.h | 70 * Data Path Resource Container (DPRC) API 269 /* IRQ event - Indicates that a new object added to the container */ 271 /* IRQ event - Indicates that an object was removed from the container */ 275 * this container is destroyed 280 * IRQ event - Indicates that on one of the container's opened object is 285 /* Irq event - Indicates that object is created at the container */ 331 * struct dprc_attributes - Container attributes 332 * @container_id: Container's ID 333 * @icid: Container's ICID 334 * @portal_id: Container's portal ID [all …]
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | state_dump.c | 60 * @size: pointer to the size container 158 * @size: pointer to the size container 159 * @offset: pointer to the offset container 302 * @size: pointer to the size container 303 * @offset: pointer to the offset container 388 * @size: pointer to the size container 389 * @offset: pointer to the offset container 505 * @size: pointer to the size container 506 * @offset: pointer to the offset container 556 * @size: pointer to the size container [all …]
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_drv.h | 75 * @_dest_obj: The destination container object in kernel space. 76 * @_usr_size: The size of the source container in user space. 77 * @_src_usr_ptr: __u64 raw pointer to the source container in user space. 88 * @_dest_usr_ptr: __u64 raw pointer to the destination container in user space. 89 * @_usr_size: The size of the destination container in user space. 90 * @_src_obj: The source container object in kernel space.
|
| /linux/net/rxrpc/ |
| H A D | rxgk_app.c | 193 } *container; in rxgk_extract_token() local 195 if (token_len < sizeof(*container)) in rxgk_extract_token() 202 container = token; in rxgk_extract_token() 203 token += sizeof(*container); in rxgk_extract_token() 205 kvno = ntohl(container->kvno); in rxgk_extract_token() 206 enctype = ntohl(container->enctype); in rxgk_extract_token() 207 ticket_len = ntohl(container->token_len); in rxgk_extract_token() 209 if (ticket_len > xdr_round_down(token_len - sizeof(*container))) in rxgk_extract_token()
|
| /linux/tools/testing/selftests/net/ |
| H A D | srv6_end_next_csid_l3vpn_test.sh | 24 # Compressed SID (C-SID) container. In this way, the length of the SID 116 # contained in a single Compressed SID (C-SID) container. Therefore the 121 # (C-SID) container, followed by a regular (non compressed) SID. The resulting 123 # SID when all the C-SIDs in a C-SID container have been processed. Using the 146 # C-SID container carrying several C-SIDs (e.g. 0400, 0300, etc). 150 # analyzes the IPv6 DA and checks whether the Argument of the C-SID container 220 # Since the Argument of the C-SID container is zero, the behavior can not 272 # ID of the router used for testing the C-SID container cfgs 274 # Routing table used for testing the C-SID container cfgs 277 # C-SID container configurations to be tested [all …]
|
| H A D | srv6_end_x_next_csid_l3vpn_test.sh | 26 # Compressed SID (C-SID) container. In this way, the length of the SID 122 # contained in a single Compressed SID (C-SID) container. Therefore the 127 # (C-SID) container, followed by a regular (non compressed) SID. The resulting 129 # SID when all the C-SIDs in a C-SID container have been processed. Using the 152 # C-SID container carrying several C-SIDs (e.g. 0300, 0200, etc). 156 # analyzes the IPv6 DA and checks whether the Argument of the C-SID container 223 # Since the Argument of the C-SID container is zero, the behavior can not 257 # analyzes the IPv6 DA and checks whether the Argument of the C-SID container 278 # Since the Argument of the C-SID container is zero, the behavior can not 317 # ID of the router used for testing the C-SID container cfgs [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_export.c | 49 #define __field_desc(type, container, item) type item; argument 52 #define __field_desc_packed(type, container, item) type item; argument 61 #define __array_desc(type, container, item, size) type item[size]; argument 159 #define __field_desc(type, container, item) argument 162 #define __field_desc_packed(type, container, item) argument 171 #define __array_desc(type, container, item, len) argument
|
| /linux/include/linux/ |
| H A D | posix-timers_types.h | 37 * posix_cputimer_base - Container per posix CPU clock 47 * posix_cputimers - Container for posix CPU timer related data 48 * @bases: Base container for posix CPU clocks 63 * posix_cputimers_work - Container for task work based posix CPU timer expiry
|
| /linux/arch/um/drivers/ |
| H A D | vfio_user.c | 50 int uml_vfio_user_setup_iommu(int container) in uml_vfio_user_setup_iommu() argument 65 if (ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU) < 0) in uml_vfio_user_setup_iommu() 68 if (ioctl(container, VFIO_IOMMU_MAP_DMA, &dma_map) < 0) in uml_vfio_user_setup_iommu() 136 int uml_vfio_user_set_container(int container, int group) in uml_vfio_user_set_container() argument 138 if (ioctl(group, VFIO_GROUP_SET_CONTAINER, &container) < 0) in uml_vfio_user_set_container() 143 int uml_vfio_user_unset_container(int container, int group) in uml_vfio_user_unset_container() argument 145 if (ioctl(group, VFIO_GROUP_UNSET_CONTAINER, &container) < 0) in uml_vfio_user_unset_container()
|