Home
last modified time | relevance | path

Searched refs:ent (Results 1 - 25 of 1225) sorted by relevance

12345678910>>...49

/kernel/linux/linux-5.10/drivers/nubus/
H A Dnubus.c242 struct nubus_dirent ent; in nubus_get_board_dir() local
250 if (nubus_readdir(dir, &ent) == -1) in nubus_get_board_dir()
252 if (nubus_get_subdir(&ent, dir) == -1) in nubus_get_board_dir()
258 int nubus_get_subdir(const struct nubus_dirent *ent, in nubus_get_subdir() argument
261 dir->ptr = dir->base = nubus_dirptr(ent); in nubus_get_subdir()
263 dir->mask = ent->mask; in nubus_get_subdir()
268 int nubus_readdir(struct nubus_dir *nd, struct nubus_dirent *ent) in nubus_readdir() argument
276 ent->base = nd->ptr; in nubus_readdir()
289 ent->type = resid >> 24; in nubus_readdir()
291 ent in nubus_readdir()
323 nubus_find_rsrc(struct nubus_dir *dir, unsigned char rsrc_type, struct nubus_dirent *ent) nubus_find_rsrc() argument
343 struct nubus_dirent ent; nubus_get_block_rsrc_dir() local
363 struct nubus_dirent ent; nubus_get_display_vidmode() local
390 nubus_get_display_resource(struct nubus_rsrc *fres, struct proc_dir_entry *procdir, const struct nubus_dirent *ent) nubus_get_display_resource() argument
412 nubus_get_network_resource(struct nubus_rsrc *fres, struct proc_dir_entry *procdir, const struct nubus_dirent *ent) nubus_get_network_resource() argument
434 nubus_get_cpu_resource(struct nubus_rsrc *fres, struct proc_dir_entry *procdir, const struct nubus_dirent *ent) nubus_get_cpu_resource() argument
467 nubus_get_private_resource(struct nubus_rsrc *fres, struct proc_dir_entry *procdir, const struct nubus_dirent *ent) nubus_get_private_resource() argument
494 struct nubus_dirent ent; nubus_get_functional_resource() local
585 nubus_get_icon(struct nubus_board *board, struct proc_dir_entry *procdir, const struct nubus_dirent *ent) nubus_get_icon() argument
609 struct nubus_dirent ent; nubus_get_vendorinfo() local
635 struct nubus_dirent ent; nubus_get_board_resource() local
723 struct nubus_dirent ent; nubus_add_board() local
[all...]
/kernel/linux/linux-6.6/drivers/nubus/
H A Dnubus.c249 struct nubus_dirent ent; in nubus_get_board_dir() local
257 if (nubus_readdir(dir, &ent) == -1) in nubus_get_board_dir()
259 if (nubus_get_subdir(&ent, dir) == -1) in nubus_get_board_dir()
265 int nubus_get_subdir(const struct nubus_dirent *ent, in nubus_get_subdir() argument
268 dir->ptr = dir->base = nubus_dirptr(ent); in nubus_get_subdir()
270 dir->mask = ent->mask; in nubus_get_subdir()
275 int nubus_readdir(struct nubus_dir *nd, struct nubus_dirent *ent) in nubus_readdir() argument
283 ent->base = nd->ptr; in nubus_readdir()
296 ent->type = resid >> 24; in nubus_readdir()
298 ent in nubus_readdir()
330 nubus_find_rsrc(struct nubus_dir *dir, unsigned char rsrc_type, struct nubus_dirent *ent) nubus_find_rsrc() argument
350 struct nubus_dirent ent; nubus_get_block_rsrc_dir() local
370 struct nubus_dirent ent; nubus_get_display_vidmode() local
397 nubus_get_display_resource(struct nubus_rsrc *fres, struct proc_dir_entry *procdir, const struct nubus_dirent *ent) nubus_get_display_resource() argument
419 nubus_get_network_resource(struct nubus_rsrc *fres, struct proc_dir_entry *procdir, const struct nubus_dirent *ent) nubus_get_network_resource() argument
441 nubus_get_cpu_resource(struct nubus_rsrc *fres, struct proc_dir_entry *procdir, const struct nubus_dirent *ent) nubus_get_cpu_resource() argument
474 nubus_get_private_resource(struct nubus_rsrc *fres, struct proc_dir_entry *procdir, const struct nubus_dirent *ent) nubus_get_private_resource() argument
501 struct nubus_dirent ent; nubus_get_functional_resource() local
592 nubus_get_icon(struct nubus_board *board, struct proc_dir_entry *procdir, const struct nubus_dirent *ent) nubus_get_icon() argument
616 struct nubus_dirent ent; nubus_get_vendorinfo() local
642 struct nubus_dirent ent; nubus_get_board_resource() local
730 struct nubus_dirent ent; nubus_add_board() local
[all...]
/kernel/linux/linux-5.10/fs/nfsd/
H A Dnfs4idmap.c62 struct ent { struct
79 struct ent *new = container_of(cnew, struct ent, h); in ent_init()
80 struct ent *itm = container_of(citm, struct ent, h); in ent_init()
92 struct ent *map = container_of(ref, struct ent, h.ref); in ent_put()
99 struct ent *e = kmalloc(sizeof(*e), GFP_KERNEL); in ent_alloc()
111 idtoname_hash(struct ent *ent) in idtoname_hash() argument
135 struct ent *ent = container_of(ch, struct ent, h); idtoname_request() local
159 struct ent *ent; idtoname_show() local
207 struct ent ent, *res; idtoname_parse() local
300 nametoid_hash(struct ent *ent) nametoid_hash() argument
315 struct ent *ent = container_of(ch, struct ent, h); nametoid_request() local
337 struct ent *ent; nametoid_show() local
377 struct ent ent, *res; nametoid_parse() local
[all...]
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfs4idmap.c63 struct ent { struct
80 struct ent *new = container_of(cnew, struct ent, h); in ent_init()
81 struct ent *itm = container_of(citm, struct ent, h); in ent_init()
93 struct ent *map = container_of(ref, struct ent, h.ref); in ent_put()
100 struct ent *e = kmalloc(sizeof(*e), GFP_KERNEL); in ent_alloc()
112 idtoname_hash(struct ent *ent) in idtoname_hash() argument
136 struct ent *ent = container_of(ch, struct ent, h); idtoname_request() local
160 struct ent *ent; idtoname_show() local
208 struct ent ent, *res; idtoname_parse() local
301 nametoid_hash(struct ent *ent) nametoid_hash() argument
316 struct ent *ent = container_of(ch, struct ent, h); nametoid_request() local
338 struct ent *ent; nametoid_show() local
378 struct ent ent, *res; nametoid_parse() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_tmpl.c123 qla27xx_skip_entry(struct qla27xx_fwdt_entry *ent, void *buf) in qla27xx_skip_entry() argument
126 ent->hdr.driver_flags |= DRIVER_FLAG_SKIP_ENTRY; in qla27xx_skip_entry()
130 qla27xx_next_entry(struct qla27xx_fwdt_entry *ent) in qla27xx_next_entry() argument
132 return (void *)ent + le32_to_cpu(ent->hdr.size); in qla27xx_next_entry()
137 struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) in qla27xx_fwdt_entry_t0()
141 qla27xx_skip_entry(ent, buf); in qla27xx_fwdt_entry_t0()
143 return qla27xx_next_entry(ent); in qla27xx_fwdt_entry_t0()
148 struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) in qla27xx_fwdt_entry_t255()
152 qla27xx_skip_entry(ent, bu in qla27xx_fwdt_entry_t255()
136 qla27xx_fwdt_entry_t0(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t0() argument
147 qla27xx_fwdt_entry_t255(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t255() argument
159 qla27xx_fwdt_entry_t256(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t256() argument
175 qla27xx_fwdt_entry_t257(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t257() argument
191 qla27xx_fwdt_entry_t258(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t258() argument
210 qla27xx_fwdt_entry_t259(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t259() argument
229 qla27xx_fwdt_entry_t260(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t260() argument
243 qla27xx_fwdt_entry_t261(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t261() argument
257 qla27xx_fwdt_entry_t262(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t262() argument
326 qla27xx_fwdt_entry_t263(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t263() argument
393 qla27xx_fwdt_entry_t264(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t264() argument
421 qla27xx_fwdt_entry_t265(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t265() argument
433 qla27xx_fwdt_entry_t266(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t266() argument
445 qla27xx_fwdt_entry_t267(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t267() argument
459 qla27xx_fwdt_entry_t268(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t268() argument
529 qla27xx_fwdt_entry_t269(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t269() argument
546 qla27xx_fwdt_entry_t270(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t270() argument
566 qla27xx_fwdt_entry_t271(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t271() argument
582 qla27xx_fwdt_entry_t272(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t272() argument
602 qla27xx_fwdt_entry_t273(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t273() argument
625 qla27xx_fwdt_entry_t274(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t274() argument
687 qla27xx_fwdt_entry_t275(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t275() argument
716 qla27xx_fwdt_entry_t276(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t276() argument
741 qla27xx_fwdt_entry_t277(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t277() argument
758 qla27xx_fwdt_entry_t278(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t278() argument
775 qla27xx_fwdt_entry_other(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_other() argument
836 struct qla27xx_fwdt_entry *ent = (void *)tmp + qla27xx_walk_template() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_tmpl.c123 qla27xx_skip_entry(struct qla27xx_fwdt_entry *ent, void *buf) in qla27xx_skip_entry() argument
126 ent->hdr.driver_flags |= DRIVER_FLAG_SKIP_ENTRY; in qla27xx_skip_entry()
130 qla27xx_next_entry(struct qla27xx_fwdt_entry *ent) in qla27xx_next_entry() argument
132 return (void *)ent + le32_to_cpu(ent->hdr.size); in qla27xx_next_entry()
137 struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) in qla27xx_fwdt_entry_t0()
141 qla27xx_skip_entry(ent, buf); in qla27xx_fwdt_entry_t0()
143 return qla27xx_next_entry(ent); in qla27xx_fwdt_entry_t0()
148 struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) in qla27xx_fwdt_entry_t255()
152 qla27xx_skip_entry(ent, bu in qla27xx_fwdt_entry_t255()
136 qla27xx_fwdt_entry_t0(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t0() argument
147 qla27xx_fwdt_entry_t255(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t255() argument
159 qla27xx_fwdt_entry_t256(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t256() argument
175 qla27xx_fwdt_entry_t257(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t257() argument
191 qla27xx_fwdt_entry_t258(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t258() argument
210 qla27xx_fwdt_entry_t259(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t259() argument
229 qla27xx_fwdt_entry_t260(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t260() argument
243 qla27xx_fwdt_entry_t261(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t261() argument
257 qla27xx_fwdt_entry_t262(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t262() argument
326 qla27xx_fwdt_entry_t263(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t263() argument
393 qla27xx_fwdt_entry_t264(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t264() argument
421 qla27xx_fwdt_entry_t265(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t265() argument
433 qla27xx_fwdt_entry_t266(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t266() argument
450 qla27xx_fwdt_entry_t267(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t267() argument
464 qla27xx_fwdt_entry_t268(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t268() argument
534 qla27xx_fwdt_entry_t269(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t269() argument
551 qla27xx_fwdt_entry_t270(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t270() argument
571 qla27xx_fwdt_entry_t271(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t271() argument
587 qla27xx_fwdt_entry_t272(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t272() argument
607 qla27xx_fwdt_entry_t273(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t273() argument
630 qla27xx_fwdt_entry_t274(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t274() argument
692 qla27xx_fwdt_entry_t275(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t275() argument
721 qla27xx_fwdt_entry_t276(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t276() argument
746 qla27xx_fwdt_entry_t277(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t277() argument
763 qla27xx_fwdt_entry_t278(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_t278() argument
780 qla27xx_fwdt_entry_other(struct scsi_qla_host *vha, struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) qla27xx_fwdt_entry_other() argument
841 struct qla27xx_fwdt_entry *ent = (void *)tmp + qla27xx_walk_template() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c119 struct mlx5_cmd_work_ent *ent; in cmd_alloc_ent() local
121 ent = kzalloc(sizeof(*ent), alloc_flags); in cmd_alloc_ent()
122 if (!ent) in cmd_alloc_ent()
125 ent->idx = -EINVAL; in cmd_alloc_ent()
126 ent->in = in; in cmd_alloc_ent()
127 ent->out = out; in cmd_alloc_ent()
128 ent->uout = uout; in cmd_alloc_ent()
129 ent->uout_size = uout_size; in cmd_alloc_ent()
130 ent in cmd_alloc_ent()
140 cmd_free_ent(struct mlx5_cmd_work_ent *ent) cmd_free_ent() argument
159 cmd_alloc_index(struct mlx5_cmd *cmd, struct mlx5_cmd_work_ent *ent) cmd_alloc_index() argument
182 cmd_ent_get(struct mlx5_cmd_work_ent *ent) cmd_ent_get() argument
187 cmd_ent_put(struct mlx5_cmd_work_ent *ent) cmd_ent_put() argument
267 set_signature(struct mlx5_cmd_work_ent *ent, int csum) set_signature() argument
276 poll_timeout(struct mlx5_cmd_work_ent *ent) poll_timeout() argument
297 verify_signature(struct mlx5_cmd_work_ent *ent) verify_signature() argument
856 dump_command(struct mlx5_core_dev *dev, struct mlx5_cmd_work_ent *ent, int input) dump_command() argument
920 struct mlx5_cmd_work_ent *ent = container_of(dwork, cb_timeout_handler() local
965 struct mlx5_cmd_work_ent *ent = container_of(work, struct mlx5_cmd_work_ent, work); cmd_work_handler() local
1108 wait_func_handle_exec_timeout(struct mlx5_core_dev *dev, struct mlx5_cmd_work_ent *ent) wait_func_handle_exec_timeout() argument
1133 wait_func(struct mlx5_core_dev *dev, struct mlx5_cmd_work_ent *ent) wait_func() argument
1186 struct mlx5_cmd_work_ent *ent; mlx5_cmd_invoke() local
1645 struct mlx5_cmd_work_ent *ent; mlx5_cmd_comp_handler() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dmr.c111 struct mlx5_ib_dev *dev = async_create->ent->dev; in mlx5_ib_create_mkey_cb()
124 static void queue_adjust_cache_locked(struct mlx5_cache_ent *ent);
146 static int push_mkey_locked(struct mlx5_cache_ent *ent, bool limit_pendings, in push_mkey_locked() argument
149 XA_STATE(xas, &ent->mkeys, 0); in push_mkey_locked()
153 (ent->reserved - ent->stored) > MAX_PENDING_REG_MR) in push_mkey_locked()
162 xas_set(&xas, ent->reserved); in push_mkey_locked()
165 if (to_store && ent->stored == ent->reserved) in push_mkey_locked()
170 ent in push_mkey_locked()
202 push_mkey(struct mlx5_cache_ent *ent, bool limit_pendings, void *to_store) push_mkey() argument
213 undo_push_reserve_mkey(struct mlx5_cache_ent *ent) undo_push_reserve_mkey() argument
222 push_to_reserved(struct mlx5_cache_ent *ent, u32 mkey) push_to_reserved() argument
231 pop_stored_mkey(struct mlx5_cache_ent *ent) pop_stored_mkey() argument
256 struct mlx5_cache_ent *ent = mkey_out->ent; create_mkey_callback() local
302 set_cache_mkc(struct mlx5_cache_ent *ent, void *mkc) set_cache_mkc() argument
319 add_keys(struct mlx5_cache_ent *ent, unsigned int num) add_keys() argument
359 create_cache_mkey(struct mlx5_cache_ent *ent, u32 *mkey) create_cache_mkey() argument
382 remove_cache_mr_locked(struct mlx5_cache_ent *ent) remove_cache_mr_locked() argument
422 remove_cache_mr_locked(ent); global() variable
430 struct mlx5_cache_ent *ent = filp->private_data; size_write() local
468 struct mlx5_cache_ent *ent = filp->private_data; size_read() local
489 struct mlx5_cache_ent *ent = filp->private_data; limit_write() local
513 struct mlx5_cache_ent *ent = filp->private_data; limit_read() local
533 struct mlx5_cache_ent *ent; someone_adding() local
557 queue_adjust_cache_locked(struct mlx5_cache_ent *ent) queue_adjust_cache_locked() argument
586 __cache_work_func(struct mlx5_cache_ent *ent) __cache_work_func() argument
653 struct mlx5_cache_ent *ent; delayed_cache_work_func() local
684 mlx5_cache_ent_insert(struct mlx5_mkey_cache *cache, struct mlx5_cache_ent *ent) mlx5_cache_ent_insert() argument
745 _mlx5_mr_cache_alloc(struct mlx5_ib_dev *dev, struct mlx5_cache_ent *ent, int access_flags) _mlx5_mr_cache_alloc() argument
815 struct mlx5_cache_ent *ent = mkey_cache_ent_from_rb_key(dev, rb_key); mlx5_mr_cache_alloc() local
823 clean_keys(struct mlx5_ib_dev *dev, struct mlx5_cache_ent *ent) clean_keys() argument
847 mlx5_mkey_cache_debugfs_add_ent(struct mlx5_ib_dev *dev, struct mlx5_cache_ent *ent) mlx5_mkey_cache_debugfs_add_ent() argument
890 struct mlx5_cache_ent *ent; mlx5r_cache_create_ent_locked() local
937 struct mlx5_cache_ent *ent; remove_ent_work_func() local
970 struct mlx5_cache_ent *ent; mlx5_mkey_cache_init() local
1022 struct mlx5_cache_ent *ent; mlx5_mkey_cache_cleanup() local
1159 struct mlx5_cache_ent *ent; alloc_cacheable_mr() local
1824 struct mlx5_cache_ent *ent; cache_ent_find_and_store() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dmemtrace.c43 struct memtrace_entry *ent = filp->private_data; in memtrace_read() local
45 return simple_read_from_buffer(ubuf, count, ppos, ent->mem, ent->size); in memtrace_read()
200 struct memtrace_entry *ent = &memtrace_array[i]; in memtrace_init_debugfs() local
202 ent->mem = ioremap(ent->start, ent->size); in memtrace_init_debugfs()
204 if (!ent->mem) { in memtrace_init_debugfs()
206 ent->start); in memtrace_init_debugfs()
211 snprintf(ent in memtrace_init_debugfs()
235 struct memtrace_entry *ent; memtrace_online() local
[all...]
H A Dopal-xscom.c90 struct scom_debug_entry *ent = filp->private_data; in scom_debug_read() local
103 rc = opal_scom_read(ent->chip, reg_base, reg, &val); in scom_debug_read()
121 struct scom_debug_entry *ent = filp->private_data; in scom_debug_write() local
136 rc = opal_scom_write(ent->chip, reg_base, reg, val); in scom_debug_write()
158 struct scom_debug_entry *ent; in scom_debug_init_one() local
161 ent = kzalloc(sizeof(*ent), GFP_KERNEL); in scom_debug_init_one()
162 if (!ent) in scom_debug_init_one()
165 ent->chip = chip; in scom_debug_init_one()
166 snprintf(ent in scom_debug_init_one()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c78 struct mlx5_cmd_work_ent *ent; in cmd_alloc_ent() local
80 ent = kzalloc(sizeof(*ent), alloc_flags); in cmd_alloc_ent()
81 if (!ent) in cmd_alloc_ent()
84 ent->idx = -EINVAL; in cmd_alloc_ent()
85 ent->in = in; in cmd_alloc_ent()
86 ent->out = out; in cmd_alloc_ent()
87 ent->uout = uout; in cmd_alloc_ent()
88 ent->uout_size = uout_size; in cmd_alloc_ent()
89 ent in cmd_alloc_ent()
98 cmd_free_ent(struct mlx5_cmd_work_ent *ent) cmd_free_ent() argument
137 cmd_ent_get(struct mlx5_cmd_work_ent *ent) cmd_ent_get() argument
142 cmd_ent_put(struct mlx5_cmd_work_ent *ent) cmd_ent_put() argument
222 set_signature(struct mlx5_cmd_work_ent *ent, int csum) set_signature() argument
231 poll_timeout(struct mlx5_cmd_work_ent *ent) poll_timeout() argument
248 verify_signature(struct mlx5_cmd_work_ent *ent) verify_signature() argument
790 dump_command(struct mlx5_core_dev *dev, struct mlx5_cmd_work_ent *ent, int input) dump_command() argument
855 struct mlx5_cmd_work_ent *ent = container_of(dwork, cb_timeout_handler() local
900 struct mlx5_cmd_work_ent *ent = container_of(work, struct mlx5_cmd_work_ent, work); cmd_work_handler() local
1023 wait_func_handle_exec_timeout(struct mlx5_core_dev *dev, struct mlx5_cmd_work_ent *ent) wait_func_handle_exec_timeout() argument
1048 wait_func(struct mlx5_core_dev *dev, struct mlx5_cmd_work_ent *ent) wait_func() argument
1093 struct mlx5_cmd_work_ent *ent; mlx5_cmd_invoke() local
1557 struct mlx5_cmd_work_ent *ent; mlx5_cmd_comp_handler() local
[all...]
/kernel/linux/linux-5.10/lib/
H A Derror-inject.c25 struct ei_entry *ent; in within_error_injection_list() local
29 list_for_each_entry(ent, &error_injection_list, list) { in within_error_injection_list()
30 if (addr >= ent->start_addr && addr < ent->end_addr) { in within_error_injection_list()
41 struct ei_entry *ent; in get_injectable_error_type() local
43 list_for_each_entry(ent, &error_injection_list, list) { in get_injectable_error_type()
44 if (addr >= ent->start_addr && addr < ent->end_addr) in get_injectable_error_type()
45 return ent->etype; in get_injectable_error_type()
62 struct ei_entry *ent; in populate_error_injection_list() local
112 struct ei_entry *ent, *n; module_unload_ei_list() local
190 struct ei_entry *ent = list_entry(v, struct ei_entry, list); ei_seq_show() local
[all...]
/kernel/linux/linux-6.6/lib/
H A Derror-inject.c26 struct ei_entry *ent; in within_error_injection_list() local
30 list_for_each_entry(ent, &error_injection_list, list) { in within_error_injection_list()
31 if (addr >= ent->start_addr && addr < ent->end_addr) { in within_error_injection_list()
42 struct ei_entry *ent; in get_injectable_error_type() local
46 list_for_each_entry(ent, &error_injection_list, list) { in get_injectable_error_type()
47 if (addr >= ent->start_addr && addr < ent->end_addr) { in get_injectable_error_type()
48 ei_type = ent->etype; in get_injectable_error_type()
69 struct ei_entry *ent; in populate_error_injection_list() local
119 struct ei_entry *ent, *n; module_unload_ei_list() local
199 struct ei_entry *ent = list_entry(v, struct ei_entry, list); ei_seq_show() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dmr.c112 static void queue_adjust_cache_locked(struct mlx5_cache_ent *ent);
138 struct mlx5_cache_ent *ent = mr->cache_ent; in create_mkey_callback() local
144 spin_lock_irqsave(&ent->lock, flags); in create_mkey_callback()
145 ent->pending--; in create_mkey_callback()
147 spin_unlock_irqrestore(&ent->lock, flags); in create_mkey_callback()
158 spin_lock_irqsave(&ent->lock, flags); in create_mkey_callback()
159 list_add_tail(&mr->list, &ent->head); in create_mkey_callback()
160 ent->available_mrs++; in create_mkey_callback()
161 ent->total_mrs++; in create_mkey_callback()
163 queue_adjust_cache_locked(ent); in create_mkey_callback()
168 alloc_cache_mr(struct mlx5_cache_ent *ent, void *mkc) alloc_cache_mr() argument
191 add_keys(struct mlx5_cache_ent *ent, unsigned int num) add_keys() argument
239 create_cache_mr(struct mlx5_cache_ent *ent) create_cache_mr() argument
276 remove_cache_mr_locked(struct mlx5_cache_ent *ent) remove_cache_mr_locked() argument
293 resize_available_mrs(struct mlx5_cache_ent *ent, unsigned int target, bool limit_fill) resize_available_mrs() argument
327 struct mlx5_cache_ent *ent = filp->private_data; size_write() local
365 struct mlx5_cache_ent *ent = filp->private_data; size_read() local
386 struct mlx5_cache_ent *ent = filp->private_data; limit_write() local
410 struct mlx5_cache_ent *ent = filp->private_data; limit_read() local
433 struct mlx5_cache_ent *ent = &cache->ent[i]; someone_adding() local
450 queue_adjust_cache_locked(struct mlx5_cache_ent *ent) queue_adjust_cache_locked() argument
479 __cache_work_func(struct mlx5_cache_ent *ent) __cache_work_func() argument
547 struct mlx5_cache_ent *ent; delayed_cache_work_func() local
555 struct mlx5_cache_ent *ent; cache_work_func() local
566 struct mlx5_cache_ent *ent; mlx5_mr_cache_alloc() local
602 struct mlx5_cache_ent *ent = req_ent; get_cache_mr() local
631 struct mlx5_cache_ent *ent = mr->cache_ent; detach_mr_from_cache() local
641 struct mlx5_cache_ent *ent = mr->cache_ent; mlx5_mr_cache_free() local
663 struct mlx5_cache_ent *ent = &cache->ent[c]; clean_keys() local
701 struct mlx5_cache_ent *ent; mlx5_mr_cache_debugfs_init() local
731 struct mlx5_cache_ent *ent; mlx5_mr_cache_init() local
790 struct mlx5_cache_ent *ent = &dev->cache.ent[i]; mlx5_mr_cache_cleanup() local
988 struct mlx5_cache_ent *ent = mr_cache_ent_from_order(dev, order); alloc_mr_from_cache() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Desp_scsi.c190 "ent[%d] %s val[%02x] sreg[%02x] seqreg[%02x] " in esp_dump_cmd_log()
404 static dma_addr_t esp_cur_dma_addr(struct esp_cmd_entry *ent, in esp_cur_dma_addr() argument
409 if (ent->flags & ESP_CMD_FLAG_AUTOSENSE) { in esp_cur_dma_addr()
410 return ent->sense_dma + in esp_cur_dma_addr()
411 (ent->sense_ptr - cmd->sense_buffer); in esp_cur_dma_addr()
419 static unsigned int esp_cur_dma_len(struct esp_cmd_entry *ent, in esp_cur_dma_len() argument
424 if (ent->flags & ESP_CMD_FLAG_AUTOSENSE) { in esp_cur_dma_len()
426 (ent->sense_ptr - cmd->sense_buffer); in esp_cur_dma_len()
431 static void esp_advance_dma(struct esp *esp, struct esp_cmd_entry *ent, in esp_advance_dma() argument
436 if (ent in esp_advance_dma()
465 esp_save_pointers(struct esp *esp, struct esp_cmd_entry *ent) esp_save_pointers() argument
480 esp_restore_pointers(struct esp *esp, struct esp_cmd_entry *ent) esp_restore_pointers() argument
574 esp_alloc_lun_tag(struct esp_cmd_entry *ent, struct esp_lun_data *lp) esp_alloc_lun_tag() argument
617 esp_free_lun_tag(struct esp_cmd_entry *ent, struct esp_lun_data *lp) esp_free_lun_tag() argument
630 esp_map_sense(struct esp *esp, struct esp_cmd_entry *ent) esp_map_sense() argument
642 esp_unmap_sense(struct esp *esp, struct esp_cmd_entry *ent) esp_unmap_sense() argument
657 esp_autosense(struct esp *esp, struct esp_cmd_entry *ent) esp_autosense() argument
706 struct esp_cmd_entry *ent; find_and_prep_issuable_command() local
740 struct esp_cmd_entry *ent; esp_maybe_execute_command() local
893 esp_put_ent(struct esp *esp, struct esp_cmd_entry *ent) esp_put_ent() argument
898 esp_cmd_is_done(struct esp *esp, struct esp_cmd_entry *ent, struct scsi_cmnd *cmd, unsigned int result) esp_cmd_is_done() argument
953 esp_event_queue_full(struct esp *esp, struct esp_cmd_entry *ent) esp_event_queue_full() argument
966 struct esp_cmd_entry *ent; esp_queuecommand_lck() local
1057 struct esp_cmd_entry *ent; esp_reconnect_with_tag() local
1147 struct esp_cmd_entry *ent; esp_reconnect() local
1232 struct esp_cmd_entry *ent; esp_finish_select() local
1324 esp_data_bytes_sent(struct esp *esp, struct esp_cmd_entry *ent, struct scsi_cmnd *cmd) esp_data_bytes_sent() argument
1459 struct esp_cmd_entry *ent = esp->active_cmd; esp_msgin_reject() local
1599 struct esp_cmd_entry *ent = esp->active_cmd; esp_msgin_extended() local
1647 struct esp_cmd_entry *ent; esp_msgin_process() local
1677 struct esp_cmd_entry *ent = esp->active_cmd; esp_msgin_process() local
1747 struct esp_cmd_entry *ent = esp->active_cmd; esp_process_event() local
1788 struct esp_cmd_entry *ent = esp->active_cmd; esp_process_event() local
1833 struct esp_cmd_entry *ent = esp->active_cmd; esp_process_event() local
1859 struct esp_cmd_entry *ent = esp->active_cmd; esp_process_event() local
2039 esp_reset_cleanup_one(struct esp *esp, struct esp_cmd_entry *ent) esp_reset_cleanup_one() argument
2065 struct esp_cmd_entry *ent, *tmp; esp_reset_cleanup() local
2504 struct esp_cmd_entry *ent, *tmp; esp_eh_abort_handler() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Desp_scsi.c190 "ent[%d] %s val[%02x] sreg[%02x] seqreg[%02x] " in esp_dump_cmd_log()
404 static dma_addr_t esp_cur_dma_addr(struct esp_cmd_entry *ent, in esp_cur_dma_addr() argument
409 if (ent->flags & ESP_CMD_FLAG_AUTOSENSE) { in esp_cur_dma_addr()
410 return ent->sense_dma + in esp_cur_dma_addr()
411 (ent->sense_ptr - cmd->sense_buffer); in esp_cur_dma_addr()
419 static unsigned int esp_cur_dma_len(struct esp_cmd_entry *ent, in esp_cur_dma_len() argument
424 if (ent->flags & ESP_CMD_FLAG_AUTOSENSE) { in esp_cur_dma_len()
426 (ent->sense_ptr - cmd->sense_buffer); in esp_cur_dma_len()
431 static void esp_advance_dma(struct esp *esp, struct esp_cmd_entry *ent, in esp_advance_dma() argument
436 if (ent in esp_advance_dma()
465 esp_save_pointers(struct esp *esp, struct esp_cmd_entry *ent) esp_save_pointers() argument
480 esp_restore_pointers(struct esp *esp, struct esp_cmd_entry *ent) esp_restore_pointers() argument
574 esp_alloc_lun_tag(struct esp_cmd_entry *ent, struct esp_lun_data *lp) esp_alloc_lun_tag() argument
617 esp_free_lun_tag(struct esp_cmd_entry *ent, struct esp_lun_data *lp) esp_free_lun_tag() argument
630 esp_map_sense(struct esp *esp, struct esp_cmd_entry *ent) esp_map_sense() argument
642 esp_unmap_sense(struct esp *esp, struct esp_cmd_entry *ent) esp_unmap_sense() argument
657 esp_autosense(struct esp *esp, struct esp_cmd_entry *ent) esp_autosense() argument
706 struct esp_cmd_entry *ent; find_and_prep_issuable_command() local
740 struct esp_cmd_entry *ent; esp_maybe_execute_command() local
893 esp_put_ent(struct esp *esp, struct esp_cmd_entry *ent) esp_put_ent() argument
898 esp_cmd_is_done(struct esp *esp, struct esp_cmd_entry *ent, struct scsi_cmnd *cmd, unsigned char host_byte) esp_cmd_is_done() argument
947 esp_event_queue_full(struct esp *esp, struct esp_cmd_entry *ent) esp_event_queue_full() argument
960 struct esp_cmd_entry *ent; esp_queuecommand_lck() local
1049 struct esp_cmd_entry *ent; esp_reconnect_with_tag() local
1139 struct esp_cmd_entry *ent; esp_reconnect() local
1224 struct esp_cmd_entry *ent; esp_finish_select() local
1316 esp_data_bytes_sent(struct esp *esp, struct esp_cmd_entry *ent, struct scsi_cmnd *cmd) esp_data_bytes_sent() argument
1451 struct esp_cmd_entry *ent = esp->active_cmd; esp_msgin_reject() local
1591 struct esp_cmd_entry *ent = esp->active_cmd; esp_msgin_extended() local
1639 struct esp_cmd_entry *ent; esp_msgin_process() local
1669 struct esp_cmd_entry *ent = esp->active_cmd; esp_msgin_process() local
1739 struct esp_cmd_entry *ent = esp->active_cmd; esp_process_event() local
1780 struct esp_cmd_entry *ent = esp->active_cmd; esp_process_event() local
1825 struct esp_cmd_entry *ent = esp->active_cmd; esp_process_event() local
1851 struct esp_cmd_entry *ent = esp->active_cmd; esp_process_event() local
2028 esp_reset_cleanup_one(struct esp *esp, struct esp_cmd_entry *ent) esp_reset_cleanup_one() argument
2054 struct esp_cmd_entry *ent, *tmp; esp_reset_cleanup() local
2493 struct esp_cmd_entry *ent, *tmp; esp_eh_abort_handler() local
[all...]
/kernel/linux/linux-6.6/drivers/soc/qcom/
H A Dcmd-db.c114 rsc_offset(const struct rsc_hdr *hdr, const struct entry_header *ent) in rsc_offset() argument
117 u16 loffset = le16_to_cpu(ent->offset); in rsc_offset()
142 const struct entry_header *ent; in cmd_db_get_header() local
144 u8 query[sizeof(ent->id)] __nonstring; in cmd_db_get_header()
162 ent = rsc_to_entry_header(rsc_hdr); in cmd_db_get_header()
163 for (j = 0; j < le16_to_cpu(rsc_hdr->cnt); j++, ent++) { in cmd_db_get_header()
164 if (memcmp(ent->id, query, sizeof(ent->id)) == 0) { in cmd_db_get_header()
166 *eh = ent; in cmd_db_get_header()
190 const struct entry_header *ent; in cmd_db_read_addr() local
209 const struct entry_header *ent; cmd_db_read_aux_data() local
233 const struct entry_header *ent; cmd_db_read_slave_id() local
250 const struct entry_header *ent; cmd_db_debugfs_dump() local
[all...]
/kernel/linux/linux-5.10/fs/ocfs2/
H A Dfilecheck.c209 ocfs2_filecheck_erase_entries(struct ocfs2_filecheck_sysfs_entry *ent,
212 ocfs2_filecheck_adjust_max(struct ocfs2_filecheck_sysfs_entry *ent, in ocfs2_filecheck_adjust_max() argument
220 spin_lock(&ent->fs_fcheck->fc_lock); in ocfs2_filecheck_adjust_max()
221 if (len < (ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done)) { in ocfs2_filecheck_adjust_max()
225 len, ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done); in ocfs2_filecheck_adjust_max()
228 if (len < ent->fs_fcheck->fc_size) in ocfs2_filecheck_adjust_max()
229 BUG_ON(!ocfs2_filecheck_erase_entries(ent, in ocfs2_filecheck_adjust_max()
230 ent in ocfs2_filecheck_adjust_max()
307 struct ocfs2_filecheck_sysfs_entry *ent = container_of(kobj, ocfs2_filecheck_attr_show() local
346 ocfs2_filecheck_is_dup_entry(struct ocfs2_filecheck_sysfs_entry *ent, unsigned long ino) ocfs2_filecheck_is_dup_entry() argument
362 ocfs2_filecheck_erase_entry(struct ocfs2_filecheck_sysfs_entry *ent) ocfs2_filecheck_erase_entry() argument
380 ocfs2_filecheck_erase_entries(struct ocfs2_filecheck_sysfs_entry *ent, unsigned int count) ocfs2_filecheck_erase_entries() argument
397 ocfs2_filecheck_done_entry(struct ocfs2_filecheck_sysfs_entry *ent, struct ocfs2_filecheck_entry *entry) ocfs2_filecheck_done_entry() argument
429 ocfs2_filecheck_handle_entry(struct ocfs2_filecheck_sysfs_entry *ent, struct ocfs2_filecheck_entry *entry) ocfs2_filecheck_handle_entry() argument
454 struct ocfs2_filecheck_sysfs_entry *ent = container_of(kobj, ocfs2_filecheck_attr_store() local
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dfilecheck.c208 ocfs2_filecheck_erase_entries(struct ocfs2_filecheck_sysfs_entry *ent,
211 ocfs2_filecheck_adjust_max(struct ocfs2_filecheck_sysfs_entry *ent, in ocfs2_filecheck_adjust_max() argument
219 spin_lock(&ent->fs_fcheck->fc_lock); in ocfs2_filecheck_adjust_max()
220 if (len < (ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done)) { in ocfs2_filecheck_adjust_max()
224 len, ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done); in ocfs2_filecheck_adjust_max()
227 if (len < ent->fs_fcheck->fc_size) in ocfs2_filecheck_adjust_max()
228 BUG_ON(!ocfs2_filecheck_erase_entries(ent, in ocfs2_filecheck_adjust_max()
229 ent in ocfs2_filecheck_adjust_max()
306 struct ocfs2_filecheck_sysfs_entry *ent = container_of(kobj, ocfs2_filecheck_attr_show() local
345 ocfs2_filecheck_is_dup_entry(struct ocfs2_filecheck_sysfs_entry *ent, unsigned long ino) ocfs2_filecheck_is_dup_entry() argument
361 ocfs2_filecheck_erase_entry(struct ocfs2_filecheck_sysfs_entry *ent) ocfs2_filecheck_erase_entry() argument
379 ocfs2_filecheck_erase_entries(struct ocfs2_filecheck_sysfs_entry *ent, unsigned int count) ocfs2_filecheck_erase_entries() argument
396 ocfs2_filecheck_done_entry(struct ocfs2_filecheck_sysfs_entry *ent, struct ocfs2_filecheck_entry *entry) ocfs2_filecheck_done_entry() argument
428 ocfs2_filecheck_handle_entry(struct ocfs2_filecheck_sysfs_entry *ent, struct ocfs2_filecheck_entry *entry) ocfs2_filecheck_handle_entry() argument
453 struct ocfs2_filecheck_sysfs_entry *ent = container_of(kobj, ocfs2_filecheck_attr_store() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Dmemtrace.c43 struct memtrace_entry *ent = filp->private_data; in memtrace_read() local
45 return simple_read_from_buffer(ubuf, count, ppos, ent->mem, ent->size); in memtrace_read()
50 struct memtrace_entry *ent = filp->private_data; in memtrace_mmap() local
52 if (ent->size < vma->vm_end - vma->vm_start) in memtrace_mmap()
55 if (vma->vm_pgoff << PAGE_SHIFT >= ent->size) in memtrace_mmap()
59 return remap_pfn_range(vma, vma->vm_start, PHYS_PFN(ent->start) + vma->vm_pgoff, in memtrace_mmap()
190 struct memtrace_entry *ent = &memtrace_array[i]; in memtrace_init_debugfs() local
192 ent->mem = ioremap(ent in memtrace_init_debugfs()
239 struct memtrace_entry *ent; memtrace_free_regions() local
[all...]
H A Dopal-xscom.c90 struct scom_debug_entry *ent = filp->private_data; in scom_debug_read() local
103 rc = opal_scom_read(ent->chip, reg_base, reg, &val); in scom_debug_read()
121 struct scom_debug_entry *ent = filp->private_data; in scom_debug_write() local
136 rc = opal_scom_write(ent->chip, reg_base, reg, val); in scom_debug_write()
158 struct scom_debug_entry *ent; in scom_debug_init_one() local
161 ent = kzalloc(sizeof(*ent), GFP_KERNEL); in scom_debug_init_one()
162 if (!ent) in scom_debug_init_one()
165 ent->chip = chip; in scom_debug_init_one()
166 snprintf(ent in scom_debug_init_one()
[all...]
/kernel/linux/linux-5.10/drivers/soc/qcom/
H A Dcmd-db.c113 rsc_offset(const struct rsc_hdr *hdr, const struct entry_header *ent) in rsc_offset() argument
116 u16 loffset = le16_to_cpu(ent->offset); in rsc_offset()
141 const struct entry_header *ent; in cmd_db_get_header() local
157 ent = rsc_to_entry_header(rsc_hdr); in cmd_db_get_header()
158 for (j = 0; j < le16_to_cpu(rsc_hdr->cnt); j++, ent++) { in cmd_db_get_header()
159 if (memcmp(ent->id, query, sizeof(ent->id)) == 0) { in cmd_db_get_header()
161 *eh = ent; in cmd_db_get_header()
185 const struct entry_header *ent; in cmd_db_read_addr() local
187 ret = cmd_db_get_header(id, &ent, NUL in cmd_db_read_addr()
204 const struct entry_header *ent; cmd_db_read_aux_data() local
228 const struct entry_header *ent; cmd_db_read_slave_id() local
245 const struct entry_header *ent; cmd_db_debugfs_dump() local
[all...]
/kernel/linux/linux-5.10/tools/iio/
H A Dlsiio.c43 const struct dirent *ent; in dump_channels() local
49 while (ent = readdir(dp), ent) in dump_channels()
50 if (check_prefix(ent->d_name, "in_") && in dump_channels()
51 (check_postfix(ent->d_name, "_raw") || in dump_channels()
52 check_postfix(ent->d_name, "_input"))) in dump_channels()
53 printf(" %-10s\n", ent->d_name); in dump_channels()
103 const struct dirent *ent; in dump_devices() local
113 while (ent = readdir(dp), ent) { in dump_devices()
[all...]
/kernel/linux/linux-6.6/tools/iio/
H A Dlsiio.c43 const struct dirent *ent; in dump_channels() local
49 while (ent = readdir(dp), ent) in dump_channels()
50 if (check_prefix(ent->d_name, "in_") && in dump_channels()
51 (check_postfix(ent->d_name, "_raw") || in dump_channels()
52 check_postfix(ent->d_name, "_input"))) in dump_channels()
53 printf(" %-10s\n", ent->d_name); in dump_channels()
103 const struct dirent *ent; in dump_devices() local
113 while (ent = readdir(dp), ent) { in dump_devices()
[all...]
/kernel/linux/linux-5.10/security/apparmor/
H A Dpolicy.c710 struct aa_load_ent *ent; in __list_lookup_parent() local
717 list_for_each_entry(ent, lh, list) { in __list_lookup_parent()
718 if (ent->new == profile) in __list_lookup_parent()
720 if (strncmp(ent->new->base.hname, profile->base.hname, len) == in __list_lookup_parent()
721 0 && ent->new->base.hname[len] == 0) in __list_lookup_parent()
722 return ent->new; in __list_lookup_parent()
862 struct aa_load_ent *ent, *tmp; in aa_replace_profiles() local
878 * fail. Sort ent list and take ns locks in hierarchy order in aa_replace_profiles()
881 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
883 if (ent in aa_replace_profiles()
[all...]

Completed in 22 milliseconds

12345678910>>...49