/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_ttm_pm.c | 42 static int i915_ttm_backup(struct i915_gem_apply_to_region *apply, in i915_ttm_backup() argument 46 container_of(apply, typeof(*pm_apply), base); in i915_ttm_backup() 88 err = i915_gem_object_lock(backup, apply->ww); in i915_ttm_backup() 117 static int i915_ttm_recover(struct i915_gem_apply_to_region *apply, in i915_ttm_recover() argument 137 struct i915_gem_apply_to_region apply = {.ops = &recover_ops}; in i915_ttm_recover_region() local 140 ret = i915_gem_process_region(mr, &apply); in i915_ttm_recover_region() 168 static int i915_ttm_restore(struct i915_gem_apply_to_region *apply, in i915_ttm_restore() argument 172 container_of(apply, typeof(*pm_apply), base); in i915_ttm_restore() 184 err = i915_gem_object_lock(backup, apply->ww); in i915_ttm_restore()
|
H A D | i915_gem_region.c | 144 * @apply: ops and private data 155 struct i915_gem_apply_to_region *apply) in i915_gem_process_region() 157 const struct i915_gem_apply_to_region_ops *ops = apply->ops; in i915_gem_process_region() 163 * In the future, a non-NULL apply->ww could mean the caller is in i915_gem_process_region() 166 GEM_WARN_ON(apply->ww); in i915_gem_process_region() 188 apply->ww = &ww; in i915_gem_process_region() 189 for_i915_gem_ww(&ww, ret, apply->interruptible) { in i915_gem_process_region() 190 ret = i915_gem_object_lock(obj, apply->ww); in i915_gem_process_region() 195 ret = ops->process_obj(apply, obj); in i915_gem_process_region() 154 i915_gem_process_region(struct intel_memory_region *mr, struct i915_gem_apply_to_region *apply) i915_gem_process_region() argument
|
H A D | i915_gem_region.h | 31 int (*process_obj)(struct i915_gem_apply_to_region *apply, 66 struct i915_gem_apply_to_region *apply);
|
/kernel/linux/linux-5.10/tools/bootconfig/ |
H A D | main.c | 429 pr_err("Failed to apply a boot config: %d\n", ret); in apply_xbc() 469 char *apply = NULL; in main() local 479 apply = optarg; in main() 490 if ((apply && delete) || (delete && list) || (apply && list)) { in main() 502 if (apply) in main() 503 return apply_xbc(path, apply); in main()
|
/kernel/linux/linux-6.6/tools/bootconfig/ |
H A D | main.c | 449 pr_err("Failed to apply a boot config: %d\n", ret); in apply_xbc() 489 char *apply = NULL; in main() local 499 apply = optarg; in main() 510 if ((apply && delete) || (delete && list) || (apply && list)) { in main() 522 if (apply) in main() 523 return apply_xbc(path, apply); in main()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | manager-sysfs.c | 102 r = mgr->apply(mgr); in manager_display_store() 104 DSSERR("failed to apply dispc config\n"); in manager_display_store() 145 r = mgr->apply(mgr); in manager_default_color_store() 189 r = mgr->apply(mgr); in manager_trans_key_type_store() 225 r = mgr->apply(mgr); in manager_trans_key_value_store() 261 r = mgr->apply(mgr); in manager_trans_key_enabled_store() 305 r = mgr->apply(mgr); in manager_alpha_blending_enabled_store() 347 r = mgr->apply(mgr); in manager_cpr_enable_store() 408 r = mgr->apply(mgr); in manager_cpr_coef_store()
|
H A D | overlay-sysfs.c | 79 r = old_mgr->apply(old_mgr); in overlay_manager_store() 91 r = mgr->apply(mgr); in overlay_manager_store() 155 r = ovl->manager->apply(ovl->manager); in overlay_position_store() 194 r = ovl->manager->apply(ovl->manager); in overlay_output_size_store() 261 r = ovl->manager->apply(ovl->manager); in overlay_global_alpha_store() 303 r = ovl->manager->apply(ovl->manager); in overlay_pre_mult_alpha_store() 343 r = ovl->manager->apply(ovl->manager); in overlay_zorder_store()
|
H A D | Makefile | 8 omapdss-y += manager.o manager-sysfs.o overlay.o overlay-sysfs.o apply.o \
|
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | manager-sysfs.c | 103 r = mgr->apply(mgr); in manager_display_store() 105 DSSERR("failed to apply dispc config\n"); in manager_display_store() 146 r = mgr->apply(mgr); in manager_default_color_store() 190 r = mgr->apply(mgr); in manager_trans_key_type_store() 226 r = mgr->apply(mgr); in manager_trans_key_value_store() 262 r = mgr->apply(mgr); in manager_trans_key_enabled_store() 306 r = mgr->apply(mgr); in manager_alpha_blending_enabled_store() 348 r = mgr->apply(mgr); in manager_cpr_enable_store() 409 r = mgr->apply(mgr); in manager_cpr_coef_store()
|
H A D | overlay-sysfs.c | 80 r = old_mgr->apply(old_mgr); in overlay_manager_store() 92 r = mgr->apply(mgr); in overlay_manager_store() 156 r = ovl->manager->apply(ovl->manager); in overlay_position_store() 195 r = ovl->manager->apply(ovl->manager); in overlay_output_size_store() 262 r = ovl->manager->apply(ovl->manager); in overlay_global_alpha_store() 304 r = ovl->manager->apply(ovl->manager); in overlay_pre_mult_alpha_store() 344 r = ovl->manager->apply(ovl->manager); in overlay_zorder_store()
|
/kernel/linux/linux-5.10/sound/soc/ti/ |
H A D | ams-delta.c | 256 /* To actually apply any modem controlled configuration changes to the codec, 347 int apply, ret; in cx81801_receive() local 377 /* Complete modem response received, apply config to codec */ in cx81801_receive() 381 apply = !ams_delta_muted && !cx81801_cmd_pending; in cx81801_receive() 387 if (apply) in cx81801_receive() 427 int apply; in ams_delta_mute() local 434 apply = !cx81801_cmd_pending; in ams_delta_mute() 437 if (apply) in ams_delta_mute()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | props.c | 21 int (*apply)(struct inode *inode, const char *value, size_t len); member 92 ret = handler->apply(inode, NULL, 0); in btrfs_set_prop() 102 ret = handler->apply(inode, value, value_len); in btrfs_set_prop() 234 ret = handler->apply(inode, value, len); in inode_prop_iterator() 317 .apply = prop_compression_apply, 375 ret = h->apply(inode, value, strlen(value)); in inherit_props()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | props.c | 27 int (*apply)(struct inode *inode, const char *value, size_t len); member 122 ret = handler->apply(inode, NULL, 0); in btrfs_set_prop() 132 ret = handler->apply(inode, value, value_len); in btrfs_set_prop() 264 ret = handler->apply(inode, value, len); in inode_prop_iterator() 378 .apply = prop_compression_apply, 440 ret = h->apply(inode, value, strlen(value)); in btrfs_inode_inherit_props()
|
/kernel/linux/linux-6.6/sound/soc/ti/ |
H A D | ams-delta.c | 256 /* To actually apply any modem controlled configuration changes to the codec, 346 int apply, ret; in cx81801_receive() local 376 /* Complete modem response received, apply config to codec */ in cx81801_receive() 380 apply = !ams_delta_muted && !cx81801_cmd_pending; in cx81801_receive() 386 if (apply) in cx81801_receive() 426 int apply; in ams_delta_mute() local 433 apply = !cx81801_cmd_pending; in ams_delta_mute() 436 if (apply) in ams_delta_mute()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_bpf.c | 97 bool apply = apply_bytes; in bpf_tcp_ingress() local 112 size = (apply && apply_bytes < sge->length) ? in bpf_tcp_ingress() 127 if (apply) { in bpf_tcp_ingress() 153 bool apply = apply_bytes; in tcp_bpf_push() local 163 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push() 181 if (apply) in tcp_bpf_push() 200 if (apply && !apply_bytes) in tcp_bpf_push()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_bpf.c | 35 bool apply = apply_bytes; in bpf_tcp_ingress() local 50 size = (apply && apply_bytes < sge->length) ? in bpf_tcp_ingress() 65 if (apply) { in bpf_tcp_ingress() 92 bool apply = apply_bytes; in tcp_bpf_push() local 103 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push() 124 if (apply) in tcp_bpf_push() 143 if (apply && !apply_bytes) in tcp_bpf_push()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | module.c | 138 bool apply) in __write_relocate_add() 148 apply ? "Applying" : "Clearing", in __write_relocate_add() 199 if (apply) { in __write_relocate_add() 230 bool apply) in write_relocate_add() 242 write, apply); in write_relocate_add() 132 __write_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me, void *(*write)(void *dest, const void *src, size_t len), bool apply) __write_relocate_add() argument 225 write_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me, bool apply) write_relocate_add() argument
|
/kernel/linux/linux-5.10/arch/mips/generic/ |
H A D | init.c | 136 for (; fixups->apply; fixups++) { in apply_mips_fdt_fixups() 137 err = fixups->apply(fdt_out); in apply_mips_fdt_fixups() 139 pr_err("Failed to apply FDT fixup \"%s\"\n", in apply_mips_fdt_fixups()
|
/kernel/linux/linux-6.6/arch/mips/generic/ |
H A D | init.c | 136 for (; fixups->apply; fixups++) { in apply_mips_fdt_fixups() 137 err = fixups->apply(fdt_out); in apply_mips_fdt_fixups() 139 pr_err("Failed to apply FDT fixup \"%s\"\n", in apply_mips_fdt_fixups()
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | hashtab.c | 86 int (*apply)(void *k, void *d, void *args), in hashtab_map() 96 ret = apply(cur->key, cur->datum, args); in hashtab_map()
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | hashtab.c | 87 int (*apply)(void *k, void *d, void *args), in hashtab_map() 97 ret = apply(cur->key, cur->datum, args); in hashtab_map()
|
/kernel/linux/linux-5.10/drivers/memory/ |
H A D | atmel-ebi.c | 305 bool apply = false; in atmel_ebi_dev_setup() local 343 apply = true; in atmel_ebi_dev_setup() 349 if (apply) { in atmel_ebi_dev_setup() 360 if (ebi->caps->ebi_csa_offs && apply) in atmel_ebi_dev_setup()
|
/kernel/linux/linux-6.6/drivers/memory/ |
H A D | atmel-ebi.c | 305 bool apply = false; in atmel_ebi_dev_setup() local 343 apply = true; in atmel_ebi_dev_setup() 349 if (apply) { in atmel_ebi_dev_setup() 360 if (ebi->caps->ebi_csa_offs && apply) in atmel_ebi_dev_setup()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A D | machine.h | 60 * struct mips_fdt_fixup - Describe a fixup to apply to an FDT 61 * @apply: applies the fixup to @fdt, returns zero on success else -errno 64 * Describes a fixup applied to an FDT blob by the @apply function. The 66 * use in error messages if the @apply function returns non-zero. 69 int (*apply)(void *fdt); member 74 * apply_mips_fdt_fixups() - apply fixups to an FDT blob 80 * Loop through the array of fixups pointed to by @fixups, calling the apply 82 * the list as indicated by an entry with a NULL apply field.
|
/kernel/linux/linux-6.6/arch/mips/include/asm/ |
H A D | machine.h | 60 * struct mips_fdt_fixup - Describe a fixup to apply to an FDT 61 * @apply: applies the fixup to @fdt, returns zero on success else -errno 64 * Describes a fixup applied to an FDT blob by the @apply function. The 66 * use in error messages if the @apply function returns non-zero. 69 int (*apply)(void *fdt); member 74 * apply_mips_fdt_fixups() - apply fixups to an FDT blob 80 * Loop through the array of fixups pointed to by @fixups, calling the apply 82 * the list as indicated by an entry with a NULL apply field.
|