| /linux/arch/powerpc/platforms/cell/spufs/ |
| H A D | gang.c | 17 struct spu_gang *gang; in alloc_spu_gang() local 19 gang = kzalloc(sizeof *gang, GFP_KERNEL); in alloc_spu_gang() 20 if (!gang) in alloc_spu_gang() 23 kref_init(&gang->kref); in alloc_spu_gang() 24 mutex_init(&gang->mutex); in alloc_spu_gang() 25 mutex_init(&gang->aff_mutex); in alloc_spu_gang() 26 INIT_LIST_HEAD(&gang->list); in alloc_spu_gang() 27 INIT_LIST_HEAD(&gang->aff_list_head); in alloc_spu_gang() 28 gang->alive = 1; in alloc_spu_gang() 31 return gang; in alloc_spu_gang() [all …]
|
| H A D | inode.c | 177 struct spu_gang *gang = SPUFS_I(inode)->i_gang; in unuse_gang() local 179 if (gang) { in unuse_gang() 183 dead = !--gang->alive; in unuse_gang() 230 ctx = alloc_spu_context(SPUFS_I(dir)->i_gang); /* XXX gang */ in spufs_mkdir() 276 spufs_assert_affinity(unsigned int flags, struct spu_gang *gang, in spufs_assert_affinity() argument 293 gang->aff_ref_ctx && in spufs_assert_affinity() 294 gang->aff_ref_ctx->flags & SPU_CREATE_AFFINITY_MEM) in spufs_assert_affinity() 297 if (gang->aff_flags & AFF_MERGED) in spufs_assert_affinity() 309 !list_is_last(&neighbor->aff_list, &gang->aff_list_head) && in spufs_assert_affinity() 316 if (gang != neighbor->gang) { in spufs_assert_affinity() [all …]
|
| H A D | sched.c | 254 static void aff_merge_remaining_ctxs(struct spu_gang *gang) in aff_merge_remaining_ctxs() argument 258 list_for_each_entry(ctx, &gang->aff_list_head, aff_list) { in aff_merge_remaining_ctxs() 260 list_add(&ctx->aff_list, &gang->aff_list_head); in aff_merge_remaining_ctxs() 262 gang->aff_flags |= AFF_MERGED; in aff_merge_remaining_ctxs() 265 static void aff_set_offsets(struct spu_gang *gang) in aff_set_offsets() argument 271 list_for_each_entry_reverse(ctx, &gang->aff_ref_ctx->aff_list, in aff_set_offsets() 273 if (&ctx->aff_list == &gang->aff_list_head) in aff_set_offsets() 279 list_for_each_entry(ctx, gang->aff_ref_ctx->aff_list.prev, aff_list) { in aff_set_offsets() 280 if (&ctx->aff_list == &gang->aff_list_head) in aff_set_offsets() 285 gang->aff_flags |= AFF_OFFSETS_SET; in aff_set_offsets() [all …]
|
| H A D | context.c | 25 struct spu_context *alloc_spu_context(struct spu_gang *gang) in alloc_spu_context() argument 52 if (gang) in alloc_spu_context() 53 spu_gang_add_ctx(gang, ctx); in alloc_spu_context() 78 if (ctx->gang) in destroy_spu_context() 79 spu_gang_remove_ctx(ctx->gang, ctx); in destroy_spu_context()
|
| H A D | spufs.h | 100 struct spu_gang *gang; member 245 /* gang management */ 247 struct spu_gang *get_spu_gang(struct spu_gang *gang); 248 int put_spu_gang(struct spu_gang *gang); 249 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx); 250 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx); 271 struct spu_context * alloc_spu_context(struct spu_gang *gang);
|
| H A D | Makefile | 5 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
|
| /linux/fs/btrfs/ |
| H A D | disk-io.c | 1851 struct btrfs_root *gang[8]; in btrfs_put_root() 1855 gang[0] = list_first_entry(&fs_info->dead_roots, in btrfs_free_fs_roots() 1857 list_del(&gang[0]->root_list); in btrfs_free_fs_roots() 1859 if (test_bit(BTRFS_ROOT_IN_RADIX, &gang[0]->state)) in btrfs_free_fs_roots() 1860 btrfs_drop_and_free_fs_root(fs_info, gang[0]); in btrfs_free_fs_roots() 1861 btrfs_put_root(gang[0]); in btrfs_free_fs_roots() 1866 (void **)gang, 0, in btrfs_free_fs_roots() 1867 ARRAY_SIZE(gang)); in btrfs_free_fs_roots() 1871 btrfs_drop_and_free_fs_root(fs_info, gang[i]); in btrfs_free_fs_roots() 2979 struct btrfs_root *gang[ in btrfs_check_uuid_tree() 1858 struct btrfs_root *gang[8]; btrfs_free_fs_roots() local 2989 struct btrfs_root *gang[8]; btrfs_cleanup_fs_roots() local 4504 struct btrfs_root *gang[8]; btrfs_drop_all_logs() local 4758 struct btrfs_root *gang[8]; btrfs_free_all_qgroup_pertrans() local [all...] |
| /linux/arch/powerpc/sysdev/ |
| H A D | fsl_rio.h | 17 * Liu Gang <Gang.Liu@freescale.com>
|
| H A D | fsl_rmu.c | 17 * Liu Gang <Gang.Liu@freescale.com>
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | mes_userqueue.c | 129 /* set process quantum to 10 ms and gang quantum to 1 ms as default */ in mes_userq_map() 189 * process ctx and gang ctx each. Create an object in mes_userq_create_ctx_space() 453 DRM_ERROR("Failed to suspend gang: %d\n", r); in mes_userq_preempt()
|
| H A D | amdgpu_cs.c | 99 /* If not increase the gang size if possible */ in amdgpu_cs_job_idx() 1105 * We can't use gang submit on with reserved VMIDs when the VM changes in amdgpu_cs_vm_handling() 1344 /* Everybody except for the gang leader uses READ */ in amdgpu_cs_submit() 1354 /* The gang leader as remembered as writer */ in amdgpu_cs_submit()
|
| H A D | amdgpu_device.c | 7534 * amdgpu_device_get_gang - return a reference to the current gang 7537 * Returns: A new reference to the current gang leader. 7550 * amdgpu_device_switch_gang - switch to a new gang 7552 * @gang: the gang to switch to 7554 * Try to switch to a new gang. 7555 * Returns: NULL if we switched to the new gang or a reference to the current 7556 * gang leader. 7559 struct dma_fence *gang) in amdgpu_device_switch_gang() argument 7563 dma_fence_get(gang); in amdgpu_device_switch_gang() 7567 if (old == gang) in amdgpu_device_switch_gang() [all …]
|
| H A D | amdgpu_mes.h | 174 struct amdgpu_mes_gang *gang; member
|
| /linux/sound/pci/au88x0/ |
| H A D | au88x0_eq.h | 35 s32 this28; /* flag related to EQ enabled or not. Gang flag ? */
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | qcom,spmi-regulator.yaml | 101 description: SAW controlled gang slave. Will not be configured. 106 SAW controlled gang leader. Will be configured as SAW regulator.
|
| /linux/Documentation/devicetree/bindings/soc/qcom/ |
| H A D | qcom,rpm-master-stats.yaml | 14 of "RPM Masters". They can be thought of as "the local gang leaders", usually
|
| /linux/include/uapi/linux/hdlc/ |
| H A D | ioctl.h | 36 #define LMI_CISCO 4 /* The "original" LMI, aka Gang of Four */
|
| /linux/Documentation/devicetree/bindings/display/tegra/ |
| H A D | nvidia,tegra20-dsi.yaml | 83 gang up with in order to support up to 8 data lanes
|
| /linux/drivers/staging/media/tegra-video/ |
| H A D | vi.h | 168 * @numgangports: number of ports combined together as a gang for capture
|
| H A D | tegra210.c | 424 * in gang ports using bytes per line based on source split in tegra_channel_capture_frame() 639 /* clear csi errors and do capture setup for all ports in gang mode */ in tegra210_vi_start_streaming()
|
| /linux/fs/ramfs/ |
| H A D | file-nommu.c | 223 /* gang-find the pages */ in ramfs_nommu_get_unmapped_area()
|
| /linux/sound/soc/codecs/ |
| H A D | cs42l56.c | 439 SOC_SINGLE("Gang Playback Switch", CS42L56_PLAYBACK_CTL, 4, 1, 1), 440 SOC_SINGLE("Gang ADC Switch", CS42L56_MISC_ADC_CTL, 7, 1, 1), 441 SOC_SINGLE("Gang PGA Switch", CS42L56_MISC_ADC_CTL, 6, 1, 1),
|
| /linux/Documentation/admin-guide/hw-vuln/ |
| H A D | core-scheduling.rst | 224 - Gang scheduling: Requirements for a group of tasks that needs to be scheduled
|
| /linux/fs/f2fs/ |
| H A D | node.h | 37 /* vector size for gang look-up from nat cache that consists of radix tree */
|
| /linux/include/linux/ |
| H A D | radix-tree.h | 127 * gang lookups) must exclude modifications to the tree, but may occur
|