/openbmc/linux/fs/ext4/ |
H A D | acl.c | 189 __ext4_set_acl(handle_t *handle, struct inode *inode, int type, in __ext4_set_acl() argument 217 error = ext4_xattr_set_handle(handle, inode, name_index, "", in __ext4_set_acl() 231 handle_t *handle; in ext4_set_acl() local 247 handle = ext4_journal_start(inode, EXT4_HT_XATTR, credits); in ext4_set_acl() 248 if (IS_ERR(handle)) in ext4_set_acl() 249 return PTR_ERR(handle); in ext4_set_acl() 259 error = __ext4_set_acl(handle, inode, type, acl, 0 /* xattr_flags */); in ext4_set_acl() 263 error = ext4_mark_inode_dirty(handle, inode); in ext4_set_acl() 266 ext4_journal_stop(handle); in ext4_set_acl() 289 error = __ext4_set_acl(handle, inode, ACL_TYPE_DEFAULT, in ext4_init_acl() [all …]
|
H A D | orphan.c | 47 ret = ext4_journal_get_write_access(handle, inode->i_sb, in ext4_orphan_file_add() 129 err = ext4_orphan_file_add(handle, inode); in ext4_orphan_add() 144 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_orphan_add() 168 rc = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_orphan_add() 200 if (!handle) in ext4_orphan_file_del() 242 return ext4_orphan_file_del(handle, inode); in ext4_orphan_del() 248 if (handle) { in ext4_orphan_del() 250 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_orphan_del() 263 if (!handle || err) { in ext4_orphan_del() 297 err = ext4_mark_iloc_dirty(handle, i_prev, &iloc2); in ext4_orphan_del() [all …]
|
/openbmc/linux/drivers/pnp/pnpacpi/ |
H A D | core.c | 52 acpi_handle handle; in pnpacpi_set_resources() local 66 handle = acpi_dev->handle; in pnpacpi_set_resources() 67 if (acpi_has_method(handle, METHOD_NAME__SRS)) { in pnpacpi_set_resources() 78 status = acpi_set_current_resources(handle, &buffer); in pnpacpi_set_resources() 108 status = acpi_evaluate_object(acpi_dev->handle, "_DIS", NULL, NULL); in pnpacpi_disable_resources() 125 return acpi_bus_can_wakeup(acpi_dev->handle); in pnpacpi_can_wakeup() 224 if (!acpi_has_method(device->handle, "_CRS")) in pnpacpi_add_device() 242 if (acpi_has_method(device->handle, "_SRS")) in pnpacpi_add_device() 249 if (acpi_has_method(device->handle, "_DIS")) in pnpacpi_add_device() 289 static acpi_status __init pnpacpi_add_device_handler(acpi_handle handle, in pnpacpi_add_device_handler() argument [all …]
|
/openbmc/linux/mm/ |
H A D | zsmalloc.c | 216 unsigned long handle; member 380 zs_free(pool, handle); in zs_zpool_free() 801 unsigned long handle; in obj_allocated() local 806 handle = page->index; in obj_allocated() 1336 link->handle = handle; in obj_malloc() 1371 if (!handle) in zs_malloc() 1414 return handle; in zs_malloc() 1575 return handle; in find_alloced_obj() 1582 unsigned long handle; in migrate_zspage() local 1589 if (!handle) { in migrate_zspage() [all …]
|
H A D | zpool.c | 256 unsigned long *handle) in zpool_malloc() argument 258 return zpool->driver->malloc(zpool->pool, size, gfp, handle); in zpool_malloc() 275 void zpool_free(struct zpool *zpool, unsigned long handle) in zpool_free() argument 277 zpool->driver->free(zpool->pool, handle); in zpool_free() 302 void *zpool_map_handle(struct zpool *zpool, unsigned long handle, in zpool_map_handle() argument 305 return zpool->driver->map(zpool->pool, handle, mapmode); in zpool_map_handle() 318 void zpool_unmap_handle(struct zpool *zpool, unsigned long handle) in zpool_unmap_handle() argument 320 zpool->driver->unmap(zpool->pool, handle); in zpool_unmap_handle()
|
/openbmc/qemu/hw/block/ |
H A D | xen_blkif.h | 25 blkif_vdev_t handle; /* only for read/write requests */ member 33 blkif_vdev_t handle; /* only for read/write requests */ member 51 blkif_vdev_t handle; /* only for read/write requests */ member 59 blkif_vdev_t handle; /* only for read/write requests */ member 100 dst->handle = src->handle; in blkif_get_x86_32_req() 126 dst->handle = src->handle; in blkif_get_x86_64_req()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_debugfs.c | 1259 struct hnae3_handle *handle = dbg_data->handle; in hns3_dbg_read() local 1340 data[i].handle = handle; in hns3_dbg_bd_file_init() 1361 data->handle = handle; in hns3_dbg_common_file_init() 1377 handle->dbgfs_buf = devm_kcalloc(&handle->pdev->dev, in hns3_dbg_init() 1381 if (!handle->dbgfs_buf) in hns3_dbg_init() 1391 handle->hnae3_dbgfs); in hns3_dbg_init() 1403 dev_err(&handle->pdev->dev, in hns3_dbg_init() 1422 handle->hnae3_dbgfs = NULL; in hns3_dbg_init() 1432 handle->hnae3_dbgfs = NULL; in hns3_dbg_uninit() 1435 if (handle->dbgfs_buf[i]) { in hns3_dbg_uninit() [all …]
|
/openbmc/linux/drivers/platform/x86/ |
H A D | sony-laptop.c | 1009 int handle; member 1868 handle, kbdbl_ctl->handle); in sony_nc_kbd_backlight_setup() 1913 kbdbl_ctl->handle = handle; in sony_nc_kbd_backlight_setup() 1960 if (kbdbl_ctl && handle == kbdbl_ctl->handle) { in sony_nc_kbd_backlight_cleanup() 2079 bcare_ctl->handle = handle; in sony_nc_battery_care_setup() 2306 int handle; member 2380 lid_ctl->handle = handle; in sony_nc_lid_resume_setup() 2506 gfxs_ctl->handle = handle; in sony_nc_gfx_switch_setup() 2962 int handle; member 3008 tp_ctl->handle = handle; in sony_nc_touchpad_setup() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | uvd_v3_1.c | 534 static int uvd_v3_1_early_init(void *handle) in uvd_v3_1_early_init() argument 545 static int uvd_v3_1_sw_init(void *handle) in uvd_v3_1_sw_init() argument 585 static int uvd_v3_1_sw_fini(void *handle) in uvd_v3_1_sw_fini() argument 630 static int uvd_v3_1_hw_init(void *handle) in uvd_v3_1_hw_init() argument 697 static int uvd_v3_1_hw_fini(void *handle) in uvd_v3_1_hw_fini() argument 709 static int uvd_v3_1_suspend(void *handle) in uvd_v3_1_suspend() argument 745 static int uvd_v3_1_resume(void *handle) in uvd_v3_1_resume() argument 757 static bool uvd_v3_1_is_idle(void *handle) in uvd_v3_1_is_idle() argument 764 static int uvd_v3_1_wait_for_idle(void *handle) in uvd_v3_1_wait_for_idle() argument 776 static int uvd_v3_1_soft_reset(void *handle) in uvd_v3_1_soft_reset() argument [all …]
|
H A D | ih_v6_1.c | 520 static int ih_v6_1_early_init(void *handle) in ih_v6_1_early_init() argument 529 static int ih_v6_1_sw_init(void *handle) in ih_v6_1_sw_init() argument 568 static int ih_v6_1_sw_fini(void *handle) in ih_v6_1_sw_fini() argument 577 static int ih_v6_1_hw_init(void *handle) in ih_v6_1_hw_init() argument 589 static int ih_v6_1_hw_fini(void *handle) in ih_v6_1_hw_fini() argument 598 static int ih_v6_1_suspend(void *handle) in ih_v6_1_suspend() argument 605 static int ih_v6_1_resume(void *handle) in ih_v6_1_resume() argument 612 static bool ih_v6_1_is_idle(void *handle) in ih_v6_1_is_idle() argument 618 static int ih_v6_1_wait_for_idle(void *handle) in ih_v6_1_wait_for_idle() argument 624 static int ih_v6_1_soft_reset(void *handle) in ih_v6_1_soft_reset() argument [all …]
|
H A D | ih_v6_0.c | 547 static int ih_v6_0_early_init(void *handle) in ih_v6_0_early_init() argument 556 static int ih_v6_0_sw_init(void *handle) in ih_v6_0_sw_init() argument 595 static int ih_v6_0_sw_fini(void *handle) in ih_v6_0_sw_fini() argument 604 static int ih_v6_0_hw_init(void *handle) in ih_v6_0_hw_init() argument 616 static int ih_v6_0_hw_fini(void *handle) in ih_v6_0_hw_fini() argument 625 static int ih_v6_0_suspend(void *handle) in ih_v6_0_suspend() argument 632 static int ih_v6_0_resume(void *handle) in ih_v6_0_resume() argument 639 static bool ih_v6_0_is_idle(void *handle) in ih_v6_0_is_idle() argument 645 static int ih_v6_0_wait_for_idle(void *handle) in ih_v6_0_wait_for_idle() argument 651 static int ih_v6_0_soft_reset(void *handle) in ih_v6_0_soft_reset() argument [all …]
|
/openbmc/linux/Documentation/driver-api/media/ |
H A D | v4l2-fh.rst | 6 struct v4l2_fh provides a way to easily keep file handle specific 19 struct v4l2_fh is allocated as a part of the driver's own file handle 29 Drivers can extract their own file handle structure by using the container_of 82 - Initialise the file handle. This **MUST** be performed in the driver's 89 - Add a :c:type:`v4l2_fh` to :c:type:`video_device` file handle list. 90 Must be called once the file handle is completely initialized. 95 - Unassociate the file handle from :c:type:`video_device`. The file handle 101 - Uninitialise the file handle. After uninitialisation the :c:type:`v4l2_fh` 122 Several drivers need to do something when the first file handle is opened and 123 when the last file handle closes. Two helper functions were added to check [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/trusted-services/corstone1000/ |
H A D | 0006-plat-corstone1000-Use-the-stateless-platform-service.patch | 6 pre defined handle. 28 - psa_handle_t handle; 38 - if (handle <= 0) { 39 - EMSG("%s Invalid handle", __func__); 43 - psa_call(caller,handle, PSA_IPC_CALL, 46 - set_fmp_image_info(caller, handle); 55 - if (handle <= 0) { 56 - EMSG("%s Invalid handle", __func__); 60 - psa_call(caller,handle, PSA_IPC_CALL, 64 - set_fmp_image_info(caller, handle); [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_dumb_buffers.c | 92 args->handle = 0; in drm_mode_create_dumb() 129 args->handle, in drm_mode_mmap_dumb_ioctl() 132 return drm_gem_dumb_map_offset(file_priv, dev, args->handle, in drm_mode_mmap_dumb_ioctl() 136 int drm_mode_destroy_dumb(struct drm_device *dev, u32 handle, in drm_mode_destroy_dumb() argument 142 return drm_gem_handle_delete(file_priv, handle); in drm_mode_destroy_dumb() 150 return drm_mode_destroy_dumb(dev, args->handle, file_priv); in drm_mode_destroy_dumb_ioctl()
|
H A D | drm_ioc32.c | 196 m32.handle = ptr_to_compat((void __user *)map.handle); in compat_drm_getmap() 227 m32.handle = ptr_to_compat((void __user *)map.handle); in compat_drm_addmap() 228 if (map.handle != compat_ptr(m32.handle)) in compat_drm_addmap() 243 u32 handle; in compat_drm_rmmap() local 245 if (get_user(handle, &argp->handle)) in compat_drm_rmmap() 247 map.handle = compat_ptr(handle); in compat_drm_rmmap() 520 request.handle = compat_ptr(req32.handle); in compat_drm_setsareactx() 706 req32.handle = request.handle; in compat_drm_agp_alloc() 723 if (get_user(request.handle, &argp->handle)) in compat_drm_agp_free() 745 request.handle = req32.handle; in compat_drm_agp_bind() [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | ksmbd_netlink.h | 67 __u32 handle; member 129 __u32 handle; member 138 __u32 handle; member 152 __u32 handle; member 161 __u32 handle; member 194 __u32 handle; member 209 __u32 handle; member 238 __u32 handle; member 248 __u32 handle; member 261 __u32 handle; member
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | notify.h | 80 int scmi_notification_init(struct scmi_handle *handle); 81 void scmi_notification_exit(struct scmi_handle *handle); 82 int scmi_register_protocol_events(const struct scmi_handle *handle, u8 proto_id, 85 void scmi_deregister_protocol_events(const struct scmi_handle *handle, 87 int scmi_notify(const struct scmi_handle *handle, u8 proto_id, u8 evt_id,
|
/openbmc/linux/drivers/acpi/ |
H A D | acpi_video.c | 591 acpi_handle_info(device->dev->handle, in acpi_video_device_lcd_get_level_current() 603 acpi_handle_info(device->dev->handle, in acpi_video_device_lcd_get_level_current() 797 acpi_handle_debug(device->handle, in acpi_video_get_levels() 867 acpi_handle_info(device->handle, in acpi_video_get_levels() 878 acpi_handle_info(device->handle, in acpi_video_get_levels() 991 acpi_handle_info(device->dev->handle, in acpi_video_device_find_cap() 1299 acpi_handle_info(video->device->handle, in acpi_video_device_enumerate() 1430 acpi_handle_info(device->dev->handle, in acpi_video_switch_brightness() 1693 if (handle == device->handle) in acpi_video_bus_match() 1696 sibling = acpi_fetch_acpi_dev(handle); in acpi_video_bus_match() [all …]
|
H A D | device_pm.c | 201 acpi_handle_debug(device->handle, in acpi_device_set_power() 222 acpi_handle_debug(device->handle, in acpi_device_set_power() 278 acpi_handle_debug(device->handle, in acpi_device_set_power() 290 acpi_handle_debug(device->handle, "Already in %s\n", in acpi_device_set_power() 296 int acpi_bus_set_power(acpi_handle handle, int state) in acpi_bus_set_power() argument 465 bool acpi_bus_power_manageable(acpi_handle handle) in acpi_bus_power_manageable() argument 536 acpi_handle_debug(handle, "Wake notify\n"); in acpi_pm_notify_handler() 538 adev = acpi_get_acpi_dev(handle); in acpi_pm_notify_handler() 614 status = acpi_remove_notify_handler(adev->handle, in acpi_remove_pm_notifier() 632 bool acpi_bus_can_wakeup(acpi_handle handle) in acpi_bus_can_wakeup() argument [all …]
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | mobility.c | 402 hvrc = plpar_hcall(H_VASI_STATE, retbuf, handle); in poll_vasi_state() 433 ret = poll_vasi_state(handle, &state); in wait_for_vasi_session_suspending() 467 ret = poll_vasi_state(handle, &state); in wait_for_vasi_session_completed() 664 hvrc = plpar_hcall_norets(H_VASI_SIGNAL, handle, in pseries_cancel_migration() 670 static int pseries_suspend(u64 handle) in pseries_suspend() argument 731 static int pseries_migrate_partition(u64 handle) in pseries_migrate_partition() argument 749 ret = wait_for_vasi_session_suspending(handle); in pseries_migrate_partition() 756 ret = pseries_suspend(handle); in pseries_migrate_partition() 765 wait_for_vasi_session_completed(handle); in pseries_migrate_partition() 767 pseries_cancel_migration(handle, ret); in pseries_migrate_partition() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | act_stats.h | 13 void mlx5e_tc_act_stats_free(struct mlx5e_tc_act_stats_handle *handle); 16 mlx5e_tc_act_stats_add_flow(struct mlx5e_tc_act_stats_handle *handle, 20 mlx5e_tc_act_stats_del_flow(struct mlx5e_tc_act_stats_handle *handle, 24 mlx5e_tc_act_stats_fill_stats(struct mlx5e_tc_act_stats_handle *handle,
|
/openbmc/linux/drivers/xen/ |
H A D | pci.c | 58 acpi_handle handle; in xen_add_device() local 72 handle = ACPI_HANDLE(&pci_dev->dev); in xen_add_device() 74 if (!handle && pci_dev->is_virtfn) in xen_add_device() 75 handle = ACPI_HANDLE(physfn->bus->bridge); in xen_add_device() 77 if (!handle) { in xen_add_device() 84 handle = acpi_pci_get_bridge_handle(pbus); in xen_add_device() 85 if (handle) in xen_add_device() 89 if (handle) { in xen_add_device() 95 status = acpi_evaluate_integer(handle, "_PXM", in xen_add_device() 102 status = acpi_get_parent(handle, &handle); in xen_add_device()
|
/openbmc/openbmc-test-automation/pldm/ |
H A D | test_pldm_platform.robot | 23 # Note: Record handle count is unknown and it is dynamic in nature. 24 # Assuming there are 100 record handle. 47 ... record handle and return next record handle. 51 # ${record_handle} Record handle. 52 # e.g. '1' is record handle 'Boot Progress' (196). 53 # '2' is record handle 'System Power State (260)'. 54 # '3' is record handle 'Software Termination Status (129)'. 111 # ${effecter_handle} A handle that is used to identify and access the effecter (e.g. '1'). 112 # e.g. '1' is effecter handle 'Boot Progress'. 113 # '2' is effecter handle 'System Power State'.
|
/openbmc/linux/net/sched/ |
H A D | cls_fw.c | 44 static u32 fw_hash(u32 handle) in fw_hash() argument 46 handle ^= (handle >> 16); in fw_hash() 47 handle ^= (handle >> 8); in fw_hash() 48 return handle % HTSIZE; in fw_hash() 81 !(TC_H_MAJ(id ^ q->handle)))) { in fw_classify() 91 static void *fw_get(struct tcf_proto *tp, u32 handle) in fw_get() argument 99 f = rtnl_dereference(head->ht[fw_hash(handle)]); in fw_get() 101 if (f->id == handle) in fw_get() 262 if (f->id != handle && handle) in fw_change() 303 if (!handle) in fw_change() [all …]
|
/openbmc/linux/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_ioctl.h | 18 unsigned int handle, 29 unsigned int handle; /* OUT */ member 33 unsigned int handle; member 39 unsigned int handle; member 62 unsigned int handle; member 74 unsigned int handle; member
|