Home
last modified time | relevance | path

Searched refs:obj_type (Results 1 - 25 of 112) sorted by relevance

12345

/kernel/linux/linux-6.6/tools/bpf/bpftool/skeleton/
H A Dpid_iter.bpf.c36 const volatile enum bpf_obj_type obj_type = BPF_OBJ_UNKNOWN; variable
76 switch (obj_type) { in iter()
98 e.id = get_obj_id(file->private_data, obj_type); in iter()
100 if (obj_type == BPF_OBJ_LINK && in iter()
/kernel/linux/linux-6.6/fs/notify/
H A Dmark.c540 unsigned int obj_type, in fsnotify_attach_connector_to_object()
551 conn->type = obj_type; in fsnotify_attach_connector_to_object()
611 unsigned int obj_type, in fsnotify_add_mark_list()
619 if (WARN_ON(!fsnotify_valid_obj_type(obj_type))) in fsnotify_add_mark_list()
631 err = fsnotify_attach_connector_to_object(connp, obj_type, in fsnotify_add_mark_list()
705 fsnotify_connp_t *connp, unsigned int obj_type, in fsnotify_add_mark_locked()
726 ret = fsnotify_add_mark_list(mark, connp, obj_type, add_flags, fsid); in fsnotify_add_mark_locked()
745 unsigned int obj_type, int add_flags, in fsnotify_add_mark()
752 ret = fsnotify_add_mark_locked(mark, connp, obj_type, add_flags, fsid); in fsnotify_add_mark()
787 unsigned int obj_type) in fsnotify_clear_marks_by_group()
539 fsnotify_attach_connector_to_object(fsnotify_connp_t *connp, unsigned int obj_type, __kernel_fsid_t *fsid) fsnotify_attach_connector_to_object() argument
609 fsnotify_add_mark_list(struct fsnotify_mark *mark, fsnotify_connp_t *connp, unsigned int obj_type, int add_flags, __kernel_fsid_t *fsid) fsnotify_add_mark_list() argument
704 fsnotify_add_mark_locked(struct fsnotify_mark *mark, fsnotify_connp_t *connp, unsigned int obj_type, int add_flags, __kernel_fsid_t *fsid) fsnotify_add_mark_locked() argument
744 fsnotify_add_mark(struct fsnotify_mark *mark, fsnotify_connp_t *connp, unsigned int obj_type, int add_flags, __kernel_fsid_t *fsid) fsnotify_add_mark() argument
786 fsnotify_clear_marks_by_group(struct fsnotify_group *group, unsigned int obj_type) fsnotify_clear_marks_by_group() argument
[all...]
/kernel/linux/linux-5.10/tools/bpf/bpftool/skeleton/
H A Dpid_iter.bpf.c23 const volatile enum bpf_obj_type obj_type = BPF_OBJ_UNKNOWN; variable
52 switch (obj_type) { in iter()
73 e.id = get_obj_id(file->private_data, obj_type); in iter()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dnsdump.c146 acpi_object_type obj_type; in acpi_ns_dump_one_object() local
493 obj_type = ACPI_TYPE_INVALID; in acpi_ns_dump_one_object()
508 obj_type = obj_desc->common.type; in acpi_ns_dump_one_object()
510 if (obj_type > ACPI_TYPE_LOCAL_MAX) { in acpi_ns_dump_one_object()
513 obj_type); in acpi_ns_dump_one_object()
519 obj_type, acpi_ut_get_type_name(obj_type)); in acpi_ns_dump_one_object()
542 switch (obj_type) { in acpi_ns_dump_one_object()
H A Dacmacros.h383 #define ACPI_OP(name, Pargs, Iargs, obj_type, class, type, flags) \
384 {name, (u32)(Pargs), (u32)(Iargs), (u32)(flags), obj_type, class, type}
386 #define ACPI_OP(name, Pargs, Iargs, obj_type, class, type, flags) \
387 {(u32)(Pargs), (u32)(Iargs), (u32)(flags), obj_type, class, type}
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
H A Ddprc.c466 * @obj_type: Type of the object to set its IRQ
476 char *obj_type, in dprc_set_obj_irq()
494 strncpy(cmd_params->obj_type, obj_type, 16); in dprc_set_obj_irq()
495 cmd_params->obj_type[15] = '\0'; in dprc_set_obj_irq()
507 * @obj_type; Object type as returned in dprc_get_obj()
517 char *obj_type, in dprc_get_obj_region()
567 strncpy(cmd_params->obj_type, obj_type, 16); in dprc_get_obj_region()
568 cmd_params->obj_type[1 in dprc_get_obj_region()
473 dprc_set_obj_irq(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *obj_type, int obj_id, u8 irq_index, struct dprc_irq_cfg *irq_cfg) dprc_set_obj_irq() argument
514 dprc_get_obj_region(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *obj_type, int obj_id, u8 region_index, struct dprc_region_desc *region_desc) dprc_get_obj_region() argument
[all...]
H A Dfsl-mc-private.h209 u8 obj_type[16]; member
239 u8 obj_type[16]; member
366 char *obj_type,
402 char *obj_type,
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dnsdump.c146 acpi_object_type obj_type; in acpi_ns_dump_one_object() local
493 obj_type = ACPI_TYPE_INVALID; in acpi_ns_dump_one_object()
508 obj_type = obj_desc->common.type; in acpi_ns_dump_one_object()
510 if (obj_type > ACPI_TYPE_LOCAL_MAX) { in acpi_ns_dump_one_object()
513 obj_type); in acpi_ns_dump_one_object()
519 obj_type, acpi_ut_get_type_name(obj_type)); in acpi_ns_dump_one_object()
542 switch (obj_type) { in acpi_ns_dump_one_object()
/kernel/linux/linux-6.6/drivers/bus/fsl-mc/
H A Ddprc.c466 * @obj_type: Type of the object to set its IRQ
476 char *obj_type, in dprc_set_obj_irq()
494 strncpy(cmd_params->obj_type, obj_type, 16); in dprc_set_obj_irq()
495 cmd_params->obj_type[15] = '\0'; in dprc_set_obj_irq()
507 * @obj_type: Object type as returned in dprc_get_obj()
517 char *obj_type, in dprc_get_obj_region()
567 strncpy(cmd_params->obj_type, obj_type, 16); in dprc_get_obj_region()
568 cmd_params->obj_type[1 in dprc_get_obj_region()
473 dprc_set_obj_irq(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *obj_type, int obj_id, u8 irq_index, struct dprc_irq_cfg *irq_cfg) dprc_set_obj_irq() argument
514 dprc_get_obj_region(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *obj_type, int obj_id, u8 region_index, struct dprc_region_desc *region_desc) dprc_get_obj_region() argument
[all...]
H A Dobj-api.c47 char *obj_type, in fsl_mc_obj_open()
53 int cmd_id = fsl_mc_get_open_cmd_id(obj_type); in fsl_mc_obj_open()
44 fsl_mc_obj_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int obj_id, char *obj_type, u16 *token) fsl_mc_obj_open() argument
H A Dfsl-mc-private.h209 u8 obj_type[16]; member
240 u8 obj_type[16]; member
367 char *obj_type,
403 char *obj_type,
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dcrypto.c47 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5_create_encryption_key()
68 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5_destroy_encryption_key()
H A Dgeneve.c37 MLX5_SET(general_obj_in_cmd_hdr, hdr, obj_type, MLX5_OBJ_TYPE_GENEVE_TLV_OPT); in mlx5_geneve_tlv_option_create()
57 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_OBJ_TYPE_GENEVE_TLV_OPT); in mlx5_geneve_tlv_option_destroy()
H A Ddm.c118 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_OBJ_TYPE_SW_ICM); in mlx5_dm_sw_icm_alloc()
212 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_OBJ_TYPE_SW_ICM); in mlx5_dm_sw_icm_dealloc()
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_mode_object.c40 uint32_t obj_type, bool register_obj, in __drm_mode_object_add()
56 obj->type = obj_type; in __drm_mode_object_add()
71 * @obj_type: object type
80 struct drm_mode_object *obj, uint32_t obj_type) in drm_mode_object_add()
82 return __drm_mode_object_add(dev, obj, obj_type, true, NULL); in drm_mode_object_add()
413 obj = drm_mode_object_find(dev, file_priv, arg->obj_id, arg->obj_type); in drm_mode_obj_get_properties_ioctl()
537 arg_obj = drm_mode_object_find(dev, file_priv, arg->obj_id, arg->obj_type); in drm_mode_obj_set_property_ioctl()
39 __drm_mode_object_add(struct drm_device *dev, struct drm_mode_object *obj, uint32_t obj_type, bool register_obj, void (*obj_free_cb)(struct kref *kref)) __drm_mode_object_add() argument
79 drm_mode_object_add(struct drm_device *dev, struct drm_mode_object *obj, uint32_t obj_type) drm_mode_object_add() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_mode_object.c40 uint32_t obj_type, bool register_obj, in __drm_mode_object_add()
56 obj->type = obj_type; in __drm_mode_object_add()
71 * @obj_type: object type
80 struct drm_mode_object *obj, uint32_t obj_type) in drm_mode_object_add()
82 return __drm_mode_object_add(dev, obj, obj_type, true, NULL); in drm_mode_object_add()
448 obj = drm_mode_object_find(dev, file_priv, arg->obj_id, arg->obj_type); in drm_mode_obj_get_properties_ioctl()
572 arg_obj = drm_mode_object_find(dev, file_priv, arg->obj_id, arg->obj_type); in drm_mode_obj_set_property_ioctl()
39 __drm_mode_object_add(struct drm_device *dev, struct drm_mode_object *obj, uint32_t obj_type, bool register_obj, void (*obj_free_cb)(struct kref *kref)) __drm_mode_object_add() argument
79 drm_mode_object_add(struct drm_device *dev, struct drm_mode_object *obj, uint32_t obj_type) drm_mode_object_add() argument
/kernel/linux/linux-6.6/include/linux/
H A Dfsnotify_backend.h395 static inline bool fsnotify_valid_obj_type(unsigned int obj_type) in fsnotify_valid_obj_type() argument
397 return (obj_type < FSNOTIFY_OBJ_TYPE_COUNT); in fsnotify_valid_obj_type()
765 fsnotify_connp_t *connp, unsigned int obj_type,
769 unsigned int obj_type, int add_flags,
800 unsigned int obj_type);
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dgeneve.c37 MLX5_SET(general_obj_in_cmd_hdr, hdr, obj_type, MLX5_OBJ_TYPE_GENEVE_TLV_OPT); in mlx5_geneve_tlv_option_create()
57 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_OBJ_TYPE_GENEVE_TLV_OPT); in mlx5_geneve_tlv_option_destroy()
/kernel/linux/linux-5.10/include/media/
H A Dmedia-entity.h255 * @obj_type: Type of the object that implements the media_entity.
293 enum media_entity_type obj_type; member
414 return entity && entity->obj_type == MEDIA_ENTITY_TYPE_VIDEO_DEVICE; in is_media_entity_v4l2_video_device()
427 return entity && entity->obj_type == MEDIA_ENTITY_TYPE_V4L2_SUBDEV; in is_media_entity_v4l2_subdev()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
H A Di40iw_virtchnl.c147 add_hmc_obj->obj_type = (u16)rsrc_type; in vchnl_vf_send_add_hmc_objs_req()
185 add_hmc_obj->obj_type = (u16)rsrc_type; in vchnl_vf_send_del_hmc_objs_req()
357 info.rsrc_type = (u32)add_hmc_obj->obj_type; in pf_add_hmc_obj_callback()
366 vf_dev->hmc_info.hmc_obj[add_hmc_obj->obj_type].cnt = add_hmc_obj->obj_count; in pf_add_hmc_obj_callback()
393 info.rsrc_type = (u32)del_hmc_obj->obj_type; in pf_del_hmc_obj_callback()
/kernel/linux/linux-5.10/include/rdma/
H A Duverbs_ioctl.h71 u16 obj_type; member
96 u16 obj_type; member
494 .u2.objs_arr.obj_type = _idr_type, \
510 .u.obj.obj_type = _idr_type, \
520 .u.obj.obj_type = _fd_type, \
/kernel/linux/linux-6.6/include/rdma/
H A Duverbs_ioctl.h72 u16 obj_type; member
97 u16 obj_type; member
497 .u2.objs_arr.obj_type = _idr_type, \
513 .u.obj.obj_type = _idr_type, \
523 .u.obj.obj_type = _fd_type, \
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Ddevx.c275 return MLX5_GET(affiliated_event_header, &eqe->data, obj_type); in get_event_obj_type()
304 obj_type) << 16, in devx_get_obj_id()
1036 u16 obj_type = MLX5_GET(general_obj_in_cmd_hdr, in, obj_type); in devx_obj_build_destroy_cmd() local
1048 MLX5_SET(general_obj_in_cmd_hdr, din, obj_type, obj_type); in devx_obj_build_destroy_cmd()
1380 u16 obj_type = 0; in MLX5_IB_METHOD_DEVX_OBJ_CREATE() local
1458 obj_type = MLX5_GET(general_obj_in_cmd_hdr, cmd_in, obj_type); in MLX5_IB_METHOD_DEVX_OBJ_CREATE()
1459 obj->obj_id = get_enc_obj_id(opcode | obj_type << 1 in MLX5_IB_METHOD_DEVX_OBJ_CREATE()
1913 u16 obj_type = 0; MLX5_IB_METHOD_DEVX_SUBSCRIBE_EVENT() local
2347 u16 obj_type = 0; devx_event_notifier() local
[all...]
/kernel/linux/linux-6.6/fs/notify/fanotify/
H A Dfanotify_user.c999 unsigned int obj_type) in fanotify_find_path()
1043 ret = security_path_notify(path, mask, obj_type); in fanotify_find_path()
1197 unsigned int obj_type, in fanotify_add_new_mark()
1224 ret = fsnotify_add_mark_locked(mark, connp, obj_type, 0, fsid); in fanotify_add_new_mark()
1280 fsnotify_connp_t *connp, unsigned int obj_type, in fanotify_add_mark()
1291 fsn_mark = fanotify_add_new_mark(group, connp, obj_type, in fanotify_add_mark()
1673 unsigned int obj_type, fid_mode; in do_fanotify_mark() local
1689 obj_type = FSNOTIFY_OBJ_TYPE_INODE; in do_fanotify_mark()
1692 obj_type = FSNOTIFY_OBJ_TYPE_VFSMOUNT; in do_fanotify_mark()
1695 obj_type in do_fanotify_mark()
997 fanotify_find_path(int dfd, const char __user *filename, struct path *path, unsigned int flags, __u64 mask, unsigned int obj_type) fanotify_find_path() argument
1195 fanotify_add_new_mark(struct fsnotify_group *group, fsnotify_connp_t *connp, unsigned int obj_type, unsigned int fan_flags, __kernel_fsid_t *fsid) fanotify_add_new_mark() argument
1279 fanotify_add_mark(struct fsnotify_group *group, fsnotify_connp_t *connp, unsigned int obj_type, __u32 mask, unsigned int fan_flags, __kernel_fsid_t *fsid) fanotify_add_mark() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_offload.c170 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5_create_ipsec_obj()
193 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5_destroy_ipsec_obj()
254 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_GENERAL_OBJECT_TYPES_IPSEC); in mlx5_modify_ipsec_obj()
490 type = be16_to_cpu(object->obj_type); in mlx5e_ipsec_event()

Completed in 26 milliseconds

12345