Home
last modified time | relevance | path

Searched refs:resource_id (Results 1 – 25 of 37) sorted by relevance

12

/linux/include/uapi/linux/
A Dvirtio_gpu.h177 __le32 resource_id; member
184 __le32 resource_id; member
195 __le32 resource_id; member
202 __le32 resource_id; member
211 __le32 resource_id; member
224 __le32 resource_id; member
231 __le32 resource_id; member
258 __le32 resource_id; member
268 __le32 resource_id; member
299 __le32 resource_id; member
[all …]
/linux/include/soc/qcom/
A Dcmd-db.h20 u32 cmd_db_read_addr(const char *resource_id);
22 const void *cmd_db_read_aux_data(const char *resource_id, size_t *len);
24 enum cmd_db_hw_type cmd_db_read_slave_id(const char *resource_id);
28 static inline u32 cmd_db_read_addr(const char *resource_id) in cmd_db_read_addr() argument
31 static inline const void *cmd_db_read_aux_data(const char *resource_id, size_t *len) in cmd_db_read_aux_data() argument
34 static inline enum cmd_db_hw_type cmd_db_read_slave_id(const char *resource_id) in cmd_db_read_slave_id() argument
/linux/drivers/thermal/
A Dimx_sc_thermal.c25 u32 resource_id; member
29 u16 resource_id; member
53 msg.data.req.resource_id = sensor->resource_id; in imx_sc_thermal_get_temp()
64 sensor->resource_id, ret); in imx_sc_thermal_get_temp()
103 &sensor->resource_id); in imx_sc_thermal_probe()
113 sensor->resource_id, in imx_sc_thermal_probe()
/linux/drivers/misc/vmw_vmci/
A Dvmci_resource.c72 static u32 resource_id = VMCI_RESERVED_RESOURCE_ID_MAX + 1; in vmci_resource_find_id() local
73 u32 old_rid = resource_id; in vmci_resource_find_id()
83 current_rid = resource_id; in vmci_resource_find_id()
84 resource_id++; in vmci_resource_find_id()
85 if (unlikely(resource_id == VMCI_INVALID_ID)) { in vmci_resource_find_id()
87 resource_id = VMCI_RESERVED_RESOURCE_ID_MAX + 1; in vmci_resource_find_id()
93 } while (resource_id != old_rid); in vmci_resource_find_id()
A Dvmci_datagram.c50 static int dg_create_handle(u32 resource_id, in dg_create_handle() argument
72 handle = vmci_make_handle(context_id, resource_id); in dg_create_handle()
403 int vmci_datagram_create_handle_priv(u32 resource_id, in vmci_datagram_create_handle_priv() argument
421 return dg_create_handle(resource_id, flags, priv_flags, recv_cb, in vmci_datagram_create_handle_priv()
438 int vmci_datagram_create_handle(u32 resource_id, in vmci_datagram_create_handle() argument
445 resource_id, flags, in vmci_datagram_create_handle()
/linux/tools/testing/selftests/resctrl/
A Dresctrl_val.c394 RESCTRL_PATH, ctrlgrp, mongrp, resource_id); in set_mbm_path()
397 mongrp, resource_id); in set_mbm_path()
400 ctrlgrp, resource_id); in set_mbm_path()
403 resource_id); in set_mbm_path()
416 int resource_id; in initialize_mem_bw_resctrl() local
418 if (get_resource_id(cpu_no, &resource_id) < 0) { in initialize_mem_bw_resctrl()
424 set_mbm_path(ctrlgrp, mongrp, resource_id); in initialize_mem_bw_resctrl()
429 RESCTRL_PATH, ctrlgrp, resource_id); in initialize_mem_bw_resctrl()
432 RESCTRL_PATH, resource_id); in initialize_mem_bw_resctrl()
542 int resource_id; in initialize_llc_occu_resctrl() local
[all …]
A Dresctrlfs.c104 int get_resource_id(int cpu_no, int *resource_id) in get_resource_id() argument
122 if (fscanf(fp, "%d", resource_id) <= 0) { in get_resource_id()
497 int resource_id, ret = 0; in write_schemata() local
511 if (get_resource_id(cpu_no, &resource_id) < 0) { in write_schemata()
525 sprintf(schema, "%s%d%c%s", "L3:", resource_id, '=', schemata); in write_schemata()
527 sprintf(schema, "%s%d%c%s", "MB:", resource_id, '=', schemata); in write_schemata()
A Dresctrl.h83 int get_resource_id(int cpu_no, int *resource_id);
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_cnt.c15 u64 resource_id; /* devlink resource id */ member
34 .resource_id = MLXSW_SP_RESOURCE_COUNTERS_FLOW,
40 .resource_id = MLXSW_SP_RESOURCE_COUNTERS_RIF,
71 sub_pool->resource_id, in mlxsw_sp_counter_sub_pools_init()
77 sub_pool->resource_id, in mlxsw_sp_counter_sub_pools_init()
92 sub_pool->resource_id); in mlxsw_sp_counter_sub_pools_init()
109 sub_pool->resource_id); in mlxsw_sp_counter_sub_pools_fini()
293 sub_pool->resource_id, in mlxsw_sp_counter_resources_register()
A Dspectrum1_kvdl.c36 enum mlxsw_sp_resource_id resource_id; member
50 .resource_id = MLXSW_SP_RESOURCE_KVD_LINEAR_##id, \
220 err = devlink_resource_size_get(devlink, info->resource_id, in mlxsw_sp1_kvdl_part_init()
/linux/drivers/gpu/drm/virtio/
A Dvirtgpu_vq.c499 cmd_p->resource_id = cpu_to_le32(bo->hw_res_handle); in virtio_gpu_cmd_create_resource()
531 cmd_p->resource_id = cpu_to_le32(bo->hw_res_handle); in virtio_gpu_cmd_unref_resource()
540 uint32_t scanout_id, uint32_t resource_id, in virtio_gpu_cmd_set_scanout() argument
551 cmd_p->resource_id = cpu_to_le32(resource_id); in virtio_gpu_cmd_set_scanout()
562 uint32_t resource_id, in virtio_gpu_cmd_resource_flush() argument
576 cmd_p->resource_id = cpu_to_le32(resource_id); in virtio_gpu_cmd_resource_flush()
607 cmd_p->resource_id = cpu_to_le32(bo->hw_res_handle); in virtio_gpu_cmd_transfer_to_host_2d()
619 uint32_t resource_id, in virtio_gpu_cmd_resource_attach_backing() argument
631 cmd_p->resource_id = cpu_to_le32(resource_id); in virtio_gpu_cmd_resource_attach_backing()
951 cmd_p->resource_id = cpu_to_le32(bo->hw_res_handle); in virtio_gpu_cmd_context_attach_resource()
[all …]
A Dvirtgpu_drv.h334 uint32_t resource_id,
340 uint32_t scanout_id, uint32_t resource_id,
/linux/net/dsa/
A Ddsa.c396 u64 resource_id, in dsa_devlink_resource_register() argument
401 resource_size, resource_id, in dsa_devlink_resource_register()
414 u64 resource_id, in dsa_devlink_resource_occ_get_register() argument
418 return devlink_resource_occ_get_register(ds->devlink, resource_id, in dsa_devlink_resource_occ_get_register()
424 u64 resource_id) in dsa_devlink_resource_occ_get_unregister() argument
426 devlink_resource_occ_get_unregister(ds->devlink, resource_id); in dsa_devlink_resource_occ_get_unregister()
/linux/arch/powerpc/platforms/ps3/
A Dspu.c109 u64 resource_id; member
279 spu_pdata(spu)->resource_id); in enable_spu()
347 spu_pdata(spu)->resource_id = (unsigned long)data; in ps3_create_spu()
399 unsigned int resource_id; in ps3_enumerate_spus() local
402 &resource_type, &resource_id); in ps3_enumerate_spus()
408 result = fn((void*)(unsigned long)resource_id); in ps3_enumerate_spus()
A Dplatform.h246 enum ps3_spu_resource_type* resource_type, unsigned int *resource_id);
/linux/fs/cifs/
A Dcache.c57 auxdata.resource_id = tcon->resource_id; in cifs_fscache_super_check_aux()
A Dfscache.c80 auxdata.resource_id = tcon->resource_id; in cifs_fscache_get_super_cookie()
100 auxdata.resource_id = tcon->resource_id; in cifs_fscache_release_super_cookie()
A Dfscache.h22 u64 resource_id; /* unique server resource id */ member
/linux/include/linux/
A Dvmw_vmci_api.h24 int vmci_datagram_create_handle(u32 resource_id, u32 flags,
28 int vmci_datagram_create_handle_priv(u32 resource_id, u32 flags, u32 priv_flags,
/linux/include/linux/soc/qcom/
A Dsmd-rpm.h46 u32 resource_type, u32 resource_id,
/linux/include/net/
A Ddevlink.h301 u64 resource_id; member
1567 u64 resource_id,
1573 u64 resource_id,
1576 const char *table_name, u64 resource_id,
1579 u64 resource_id,
1583 u64 resource_id);
A Ddsa.h965 u64 resource_id,
972 u64 resource_id,
976 u64 resource_id);
/linux/arch/powerpc/include/asm/
A Dvio.h100 uint32_t resource_id; member
/linux/net/core/
A Ddevlink.c3014 table->resource_id, DEVLINK_ATTR_PAD) || in devlink_dpipe_table_put()
3618 if (resource->id == resource_id) in devlink_resource_find()
3622 resource_id); in devlink_resource_find()
3679 u64 resource_id; in devlink_nl_cmd_resource_set() local
9852 u64 resource_id, in devlink_resource_register() argument
9896 resource->id = resource_id; in devlink_resource_register()
9947 u64 resource_id, in devlink_resource_size_get() argument
9976 const char *table_name, u64 resource_id, in devlink_dpipe_table_resource_set() argument
9989 table->resource_id = resource_id; in devlink_dpipe_table_resource_set()
10007 u64 resource_id, in devlink_resource_occ_get_register() argument
[all …]
/linux/net/vmw_vsock/
A Dvmci_transport.c579 vmci_transport_datagram_create_hnd(u32 resource_id, in vmci_transport_datagram_create_hnd() argument
591 err = vmci_datagram_create_handle_priv(resource_id, flags, in vmci_transport_datagram_create_hnd()
597 err = vmci_datagram_create_handle(resource_id, flags, in vmci_transport_datagram_create_hnd()

Completed in 63 milliseconds

12