| /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 | 1060 u32 channel, id, lun, container; in aac_handle_aif() 1069 /* Sniff for container changes */ in aac_handle_aif() 1073 container = channel = id = lun = (u32)-1; in aac_handle_aif() 1085 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif() 1086 if ((container >> 28)) { in aac_handle_aif() 1087 container = (u32)-1; in aac_handle_aif() 1090 channel = (container >> 24) & 0xF; in aac_handle_aif() 1092 container = (u32)-1; in aac_handle_aif() 1095 id = container & 0xFFFF; in aac_handle_aif() 1097 container in aac_handle_aif() 1058 u32 channel, id, lun, container; aac_handle_aif() local [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... 32 ``.container.toml`` in the current working directory. 36 Path to an environment file to load in the container. 40 Group ID to use inside the container. 60 Run the container in an interactive shell. 64 User ID to use inside the container. 83 container. The tool will take care of mounting the source tree as the current 86 The container imag [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(); 843 /// container: configfs::Subsystem<Configuration>, 931 container: $container [all...] |
| H A D | module_param.rs | 83 let container = ¶m_access.value; in set_param() 85 container in set_param() 131 // SAFETY: We only create shared references to the contents of this container, in new() 79 let container = unsafe { &*((*param).__bindgen_anon_1.arg.cast::<SetOnce<T>>()) }; set_param() localVariable
|
| /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/drivers/usb/gadget/udc/aspeed-vhub/ |
| H A D | hub.c | 328 ast_vhub_str_of_container(struct usb_gadget_string_container *container) in ast_vhub_str_of_container() argument 330 return (struct usb_gadget_strings *)container->stash; in ast_vhub_str_of_container() 338 struct usb_gadget_string_container *container; in ast_vhub_collect_languages() local 344 list_for_each_entry(container, &vhub->vhub_str_desc, list) { in ast_vhub_collect_languages() 348 lang_str = ast_vhub_str_of_container(container); in ast_vhub_collect_languages() 363 struct usb_gadget_string_container *container; in ast_vhub_lookup_string() local 365 list_for_each_entry(container, &vhub->vhub_str_desc, list) { in ast_vhub_lookup_string() 366 lang_str = ast_vhub_str_of_container(container); in ast_vhub_lookup_string() 939 struct usb_gadget_string_container *container; in ast_vhub_str_container_alloc() local 941 size = sizeof(*container); in ast_vhub_str_container_alloc() [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/arch/um/drivers/ |
| 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);
|
| 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()
|
| /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 | 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 configuration [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 cfg [all...] |
| /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 | 4094 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_curve_visible() 4095 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_curve_visible() 4105 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); 4106 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; 4152 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_limit_threshold_visible() 4153 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_limit_threshold_visible() 4163 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); 4164 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; 4212 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_target_threshold_visible() 4213 struct amdgpu_device *adev = (struct amdgpu_device *)container in acoustic_target_threshold_visible() 4070 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); fan_curve_show() local 4081 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); fan_curve_store() local 4128 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); acoustic_limit_threshold_show() local 4139 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); acoustic_limit_threshold_store() local 4188 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); acoustic_target_threshold_show() local 4199 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); acoustic_target_threshold_store() local 4249 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); fan_target_temperature_show() local 4260 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); fan_target_temperature_store() local 4308 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); fan_minimum_pwm_show() local 4319 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); fan_minimum_pwm_store() local 4362 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); fan_zero_rpm_enable_show() local 4373 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); fan_zero_rpm_enable_store() local 4419 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); fan_zero_rpm_stop_temp_show() local 4430 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); fan_zero_rpm_stop_temp_store() local 4532 struct od_kobj *container, *container_next; amdgpu_od_set_fini() local 4575 amdgpu_od_is_self_contained(struct amdgpu_device * adev,struct od_feature_container * container) amdgpu_od_is_self_contained() argument 4599 struct od_feature_container *container; amdgpu_od_set_init() local [all...] |
| /linux/drivers/gpu/drm/ |
| H A D | drm_bridge.c | 320 kfree(bridge->container); in __drm_bridge_free() 407 void *container; in __devm_drm_bridge_alloc() local 416 container = kzalloc(size, GFP_KERNEL); in __devm_drm_bridge_alloc() 417 if (!container) in __devm_drm_bridge_alloc() 420 bridge = container + offset; in __devm_drm_bridge_alloc() 422 bridge->container = container; in __devm_drm_bridge_alloc() 430 return container; in __devm_drm_bridge_alloc() 447 if (!bridge->container) in drm_bridge_add() 620 if (!bridge->container) in drm_bridge_attach() [all...] |
| /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 | 27 $(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 */ 390 const struct audioreach_container *container, in audioreach_populate_graph() 397 obj->container_id = container->container_id; in audioreach_populate_graph() 398 obj->num_modules = container->num_modules; in audioreach_populate_graph() 400 list_for_each_entry(module, &container->modules_list, node) { in audioreach_populate_graph() 420 struct audioreach_container *container; in audioreach_populate_graph() 445 list_for_each_entry(container, &sg->container_list, node) { in audioreach_alloc_graph_pkt() 448 apm_populate_container_config(cobj, container); in audioreach_alloc_graph_pkt() 449 apm_populate_module_list_obj(mlobj, container, sg->sub_graph_id); in audioreach_alloc_graph_pkt() 451 list_for_each_entry(module, &container in audioreach_alloc_graph_pkt() 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 …]
|
| /linux/Documentation/tools/rv/ |
| H A D | rv-mon-sched.rst | 24 The scheduler monitor collection is a container for several monitors to model 28 As a monitor container, it will enable all nested monitors and set them
|