| /linux/drivers/vfio/ |
| H A D | container.c | 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() 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() 159 static void vfio_container_put(struct vfio_container *container) in vfio_container_put() argument 161 kref_put(&container->kref, vfio_container_release); in vfio_container_put() 167 device->group->container->iommu_driver; in vfio_device_container_register() [all …]
|
| H A D | vfio_iommu_spapr_tce.c | 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() 104 static long tce_iommu_unregister_pages(struct tce_container *container, in tce_iommu_unregister_pages() argument 115 mem = mm_iommu_get(container->mm, vaddr, size >> PAGE_SHIFT); in tce_iommu_unregister_pages() 119 list_for_each_entry(tcemem, &container->prereg_list, next) { in tce_iommu_unregister_pages() [all …]
|
| /linux/drivers/scsi/aacraid/ |
| H A D | commsup.c | 1058 u32 channel, id, lun, container; in aac_handle_aif() local 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() 1098 lun = (container >> 16) & 0xFF; in aac_handle_aif() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/basics/ |
| H A D | vector.c | 35 vector->container = NULL; 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() 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() 158 if (vector->container == NULL || index >= vector->count) in dal_vector_at_index() 160 return vector->container + (index * vector->struct_size); in dal_vector_at_index() [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. 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 76 The container image which would typically include a compiler toolchain is 77 provided by the user and selected via the ``-i`` option. The container runtime [all …]
|
| /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(); 801 /// container: configfs::Subsystem<Configuration>, 888 container: $container [all...] |
| /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/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/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 | 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/gpu/drm/ |
| H A D | drm_drv.c | 824 void *container; in __devm_drm_dev_alloc() local 828 container = kzalloc(size, GFP_KERNEL); in __devm_drm_dev_alloc() 829 if (!container) in __devm_drm_dev_alloc() 832 drm = container + offset; in __devm_drm_dev_alloc() 835 kfree(container); in __devm_drm_dev_alloc() 838 drmm_add_final_kfree(drm, container); in __devm_drm_dev_alloc() 840 return container; in __devm_drm_dev_alloc() 865 void *container; in __drm_dev_alloc() local 869 container = kzalloc(size, GFP_KERNEL); in __drm_dev_alloc() 870 if (!container) in __drm_dev_alloc() [all …]
|
| H A D | drm_encoder.c | 248 void *container; in __drmm_encoder_alloc() local 253 container = drmm_kzalloc(dev, size, GFP_KERNEL); in __drmm_encoder_alloc() 254 if (!container) in __drmm_encoder_alloc() 257 encoder = container + offset; in __drmm_encoder_alloc() 265 return container; in __drmm_encoder_alloc()
|
| H A D | drm_bridge.c | 280 kfree(bridge->container); in __drm_bridge_free() 367 void *container; in __devm_drm_bridge_alloc() local 376 container = kzalloc(size, GFP_KERNEL); in __devm_drm_bridge_alloc() 377 if (!container) in __devm_drm_bridge_alloc() 380 bridge = container + offset; in __devm_drm_bridge_alloc() 382 bridge->container = container; in __devm_drm_bridge_alloc() 390 return container; in __devm_drm_bridge_alloc() 407 if (!bridge->container) in drm_bridge_add() 556 if (!bridge->container) in drm_bridge_attach()
|
| /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()
|
| H A D | vfio_user.h | 19 int uml_vfio_user_setup_iommu(int container); 23 int uml_vfio_user_set_container(int container, int group); 24 int uml_vfio_user_unset_container(int container, int group);
|
| /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/tools/testing/selftests/net/ |
| H A D | srv6_end_next_csid_l3vpn_test.sh | 627 local container 638 container="${LCBLOCK_ADDR}" 644 container="${container}${lcnfunc}" 650 container="${container}${dt}" 652 policy="$(build_ipv6_addr "${container}")" 655 container="${LCBLOCK_ADDR}${dt}" 656 decapsid="$(build_ipv6_addr "${container}")" 661 policy="$(build_ipv6_addr "${container}"),${decapsid}"
|
| H A D | srv6_end_x_next_csid_l3vpn_test.sh | 714 local container 725 container="${LCBLOCK_ADDR}" 731 container="${container}${lcnfunc}" 737 container="${container}${dt}" 739 policy="$(build_ipv6_addr "${container}")" 742 container="${LCBLOCK_ADDR}${dt}" 743 decapsid="$(build_ipv6_addr "${container}")" 748 policy="$(build_ipv6_addr "${container}"),${decapsid}"
|
| /linux/rust/kernel/list/ |
| H A D | impl_list_item_mod.rs | 278 let container = unsafe { 286 $crate::list::ListLinksSelfPtr::raw_get_self_ptr(container) 330 let container = unsafe { 338 $crate::list::ListLinksSelfPtr::raw_get_self_ptr(container) 275 let container = unsafe { global() localVariable 327 let container = unsafe { global() localVariable
|
| /linux/drivers/gpu/drm/amd/pm/ |
| H A D | amdgpu_pm.c | 4055 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_curve_show() local 4056 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_curve_show() 4066 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_curve_store() local 4067 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_curve_store() 4113 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_limit_threshold_show() local 4114 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_limit_threshold_show() 4124 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_limit_threshold_store() local 4125 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_limit_threshold_store() 4173 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_target_threshold_show() local 4174 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_target_threshold_show() [all …]
|
| /linux/drivers/iommu/iommufd/ |
| H A D | Kconfig | 20 bool "IOMMUFD provides the VFIO container /dev/vfio/vfio" 29 IOMMUFD VFIO container emulation is known to lack certain features 30 of the native VFIO container, such as peer-to-peer
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | sky81452.txt | 8 - backlight : container node for backlight following the binding 10 - regulator : container node for regulators following the binding
|
| /linux/tools/verification/rvgen/ |
| H A D | Makefile | 22 $(INSTALL) rvgen/container.py -D -m 644 $(DESTDIR)$(PYLIB)/rvgen/container.py
|
| /linux/sound/soc/qcom/qdsp6/ |
| H A D | audioreach.c | 37 /* container config */ 376 const struct audioreach_container *container, in audioreach_populate_graph() 383 obj->container_id = container->container_id; in audioreach_populate_graph() 384 obj->num_modules = container->num_modules; in audioreach_populate_graph() 386 list_for_each_entry(module, &container->modules_list, node) { in audioreach_populate_graph() 406 struct audioreach_container *container; in audioreach_populate_graph() 431 list_for_each_entry(container, &sg->container_list, node) { in audioreach_populate_graph() 434 apm_populate_container_config(cobj, container); in audioreach_populate_graph() 435 apm_populate_module_list_obj(mlobj, container, sg->sub_graph_id); in audioreach_populate_graph() 437 list_for_each_entry(module, &container in audioreach_populate_graph() 351 apm_populate_module_list_obj(struct apm_mod_list_obj * obj,struct audioreach_container * container,int sub_graph_id) apm_populate_module_list_obj() argument 380 struct audioreach_container *container; audioreach_populate_graph() local 447 struct audioreach_container *container; audioreach_alloc_graph_pkt() local [all...] |
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | htc_pipe.c | 81 struct list_head container; in send_packet_completion() local 84 INIT_LIST_HEAD(&container); in send_packet_completion() 85 list_add_tail(&packet->list, &container); in send_packet_completion() 88 do_send_completion(ep, &container); in send_packet_completion() 933 struct list_head container; in recv_packet_completion() local 934 INIT_LIST_HEAD(&container); in recv_packet_completion() 935 list_add_tail(&packet->list, &container); in recv_packet_completion() 938 do_recv_completion(ep, &container); in recv_packet_completion() 1097 struct list_head container; in htc_flush_rx_queue() local 1119 INIT_LIST_HEAD(&container); in htc_flush_rx_queue() [all …]
|