/kernel/linux/linux-5.10/fs/proc/ |
H A D | Makefile | 3 # Makefile for the Linux proc filesystem routines. 6 obj-y += proc.o 9 proc-y := nommu.o task_nommu.o 10 proc-$(CONFIG_MMU) := task_mmu.o 12 proc-y += inode.o root.o base.o generic.o array.o \ 14 proc-$(CONFIG_TTY) += proc_tty.o 15 proc-y += cmdline.o 16 proc-y += consoles.o 17 proc-y += cpuinfo.o 18 proc [all...] |
/kernel/linux/linux-6.6/fs/proc/ |
H A D | Makefile | 3 # Makefile for the Linux proc filesystem routines. 6 obj-y += proc.o 9 proc-y := nommu.o task_nommu.o 10 proc-$(CONFIG_MMU) := task_mmu.o 12 proc-y += inode.o root.o base.o generic.o array.o \ 14 proc-$(CONFIG_TTY) += proc_tty.o 15 proc-y += cmdline.o 16 proc-y += consoles.o 17 proc-y += cpuinfo.o 18 proc [all...] |
/kernel/linux/linux-5.10/drivers/android/ |
H A D | binder.c | 15 * 1) proc->outer_lock : protects binder_ref 21 * 3) proc->inner_lock : protects the thread and node lists 22 * (proc->threads, proc->waiting_threads, proc->nodes) 24 * (proc->todo, thread->todo, proc->delivered_death and 37 * foo_ilocked() : requires proc->inner_lock 38 * foo_oilocked(): requires proc->outer_lock and proc 98 DEFINE_SHOW_ATTRIBUTE(proc); global() variable 336 struct binder_proc *proc; global() member 421 struct binder_proc *proc; global() member 564 struct binder_proc *proc; global() member 791 struct binder_proc *proc = node->proc; global() variable 796 binder_inner_proc_unlock(proc); global() variable 815 binder_worklist_empty(struct binder_proc *proc, struct list_head *list) binder_worklist_empty() argument 925 binder_dequeue_work(struct binder_proc *proc, struct binder_work *work) binder_dequeue_work() argument 987 binder_wakeup_poll_threads_ilocked(struct binder_proc *proc, bool sync) binder_wakeup_poll_threads_ilocked() argument 1018 binder_select_thread_ilocked(struct binder_proc *proc) binder_select_thread_ilocked() argument 1049 binder_wakeup_thread_ilocked(struct binder_proc *proc, struct binder_thread *thread, bool sync) binder_wakeup_thread_ilocked() argument 1079 binder_wakeup_proc_ilocked(struct binder_proc *proc) binder_wakeup_proc_ilocked() argument 1104 binder_get_node_ilocked(struct binder_proc *proc, binder_uintptr_t ptr) binder_get_node_ilocked() argument 1132 binder_get_node(struct binder_proc *proc, binder_uintptr_t ptr) binder_get_node() argument 1143 binder_init_node_ilocked( struct binder_proc *proc, struct binder_node *new_node, struct flat_binder_object *fp) binder_init_node_ilocked() argument 1200 binder_new_node(struct binder_proc *proc, struct flat_binder_object *fp) binder_new_node() argument 1230 struct binder_proc *proc = node->proc; binder_inc_node_nilocked() local 1290 struct binder_proc *proc = node->proc; binder_dec_node_nilocked() local 1434 binder_get_ref_olocked(struct binder_proc *proc, u32 desc, bool need_strong_ref) binder_get_ref_olocked() argument 1475 binder_get_ref_for_node_olocked( struct binder_proc *proc, struct binder_node *node, struct binder_ref *new_ref) binder_get_ref_for_node_olocked() argument 1666 binder_get_node_from_ref( struct binder_proc *proc, u32 desc, bool need_strong_ref, struct binder_ref_data *rdata) binder_get_node_from_ref() argument 1723 binder_update_ref_for_handle(struct binder_proc *proc, uint32_t desc, bool increment, bool strong, struct binder_ref_data *rdata) binder_update_ref_for_handle() argument 1766 binder_dec_ref_for_handle(struct binder_proc *proc, uint32_t desc, bool strong, struct binder_ref_data *rdata) binder_dec_ref_for_handle() argument 1786 binder_inc_ref_for_node(struct binder_proc *proc, struct binder_node *node, bool strong, struct list_head *target_list, struct binder_ref_data *rdata) binder_inc_ref_for_node() argument 1882 binder_proc_dec_tmpref(struct binder_proc *proc) binder_proc_dec_tmpref() argument 2085 binder_get_object(struct binder_proc *proc, const void __user *u, struct binder_buffer *buffer, unsigned long offset, struct binder_object *object) binder_get_object() argument 2159 binder_validate_ptr( struct binder_proc *proc, struct binder_buffer *b, struct binder_object *object, binder_size_t index, binder_size_t start_offset, binder_size_t *object_offsetp, binder_size_t num_valid) binder_validate_ptr() argument 2228 binder_validate_fixup(struct binder_proc *proc, struct binder_buffer *b, binder_size_t objects_start_offset, binder_size_t buffer_obj_offset, binder_size_t fixup_offset, binder_size_t last_obj_offset, binder_size_t last_min_offset) binder_validate_fixup() argument 2330 binder_transaction_buffer_release(struct binder_proc *proc, struct binder_thread *thread, struct binder_buffer *buffer, binder_size_t off_end_offset, bool is_failure) binder_transaction_buffer_release() argument 2510 binder_release_entire_buffer(struct binder_proc *proc, struct binder_thread *thread, struct binder_buffer *buffer, bool is_failure) binder_release_entire_buffer() argument 2529 struct binder_proc *proc = thread->proc; binder_translate_binder() local 2581 struct binder_proc *proc = thread->proc; binder_translate_handle() local 2655 struct binder_proc *proc = thread->proc; binder_translate_fd() local 2968 struct binder_proc *proc = thread->proc; binder_translate_fd_array() local 3035 struct binder_proc *proc = thread->proc; binder_fixup_parent() local 3091 binder_proc_transaction(struct binder_transaction *t, struct binder_proc *proc, struct binder_thread *thread) binder_proc_transaction() argument 3178 binder_transaction(struct binder_proc *proc, struct binder_thread *thread, struct binder_transaction_data *tr, int reply, binder_size_t extra_buffers_size) binder_transaction() argument 3999 binder_free_buf(struct binder_proc *proc, struct binder_thread *thread, struct binder_buffer *buffer, bool is_failure) binder_free_buf() argument 4033 binder_thread_write(struct binder_proc *proc, struct binder_thread *thread, binder_uintptr_t binder_buffer, size_t size, binder_size_t *consumed) binder_thread_write() argument 4479 binder_stat_br(struct binder_proc *proc, struct binder_thread *thread, uint32_t cmd) binder_stat_br() argument 4490 binder_put_node_cmd(struct binder_proc *proc, struct binder_thread *thread, void __user **ptrp, binder_uintptr_t node_ptr, binder_uintptr_t node_cookie, int node_debug_id, uint32_t cmd, const char *cmd_name) binder_put_node_cmd() argument 4525 struct binder_proc *proc = thread->proc; binder_wait_for_work() local 4567 binder_apply_fd_fixups(struct binder_proc *proc, struct binder_transaction *t) binder_apply_fd_fixups() argument 4618 binder_thread_read(struct binder_proc *proc, struct binder_thread *thread, binder_uintptr_t binder_buffer, size_t size, binder_size_t *consumed, int non_block) binder_thread_read() argument 5036 binder_release_work(struct binder_proc *proc, struct list_head *list) binder_release_work() argument 5095 binder_get_thread_ilocked( struct binder_proc *proc, struct binder_thread *new_thread) binder_get_thread_ilocked() argument 5133 binder_get_thread(struct binder_proc *proc) binder_get_thread() argument 5154 binder_free_proc(struct binder_proc *proc) binder_free_proc() argument 5180 binder_thread_release(struct binder_proc *proc, struct binder_thread *thread) binder_thread_release() argument 5276 struct binder_proc *proc = filp->private_data; binder_poll() local 5303 struct binder_proc *proc = filp->private_data; binder_ioctl_write_read() local 5368 struct binder_proc *proc = filp->private_data; binder_ioctl_set_ctx_mgr() local 5412 binder_ioctl_get_node_info_for_ref(struct binder_proc *proc, struct binder_node_info_for_ref *info) binder_ioctl_get_node_info_for_ref() argument 5448 binder_ioctl_get_node_debug_info(struct binder_proc *proc, struct binder_node_debug_info *info) binder_ioctl_get_node_debug_info() argument 5476 struct binder_proc *proc = filp->private_data; binder_ioctl() local 5679 struct binder_proc *proc = vma->vm_private_data; binder_vma_open() local 5690 struct binder_proc *proc = vma->vm_private_data; binder_vma_close() local 5713 struct binder_proc *proc = filp->private_data; binder_mmap() local 5740 struct binder_proc *proc, *itr; binder_open() local 5833 struct binder_proc *proc = filp->private_data; binder_flush() local 5840 binder_deferred_flush(struct binder_proc *proc) binder_deferred_flush() argument 5864 struct binder_proc *proc = filp->private_data; binder_release() local 5882 struct binder_proc *proc = node->proc; binder_node_release() local 5943 binder_deferred_release(struct binder_proc *proc) binder_deferred_release() argument 6029 struct binder_proc *proc; binder_deferred_func() local 6057 binder_defer_work(struct binder_proc *proc, enum binder_deferred_state defer) binder_defer_work() argument 6069 print_binder_transaction_ilocked(struct seq_file *m, struct binder_proc *proc, const char *prefix, struct binder_transaction *t) print_binder_transaction_ilocked() argument 6109 print_binder_work_ilocked(struct seq_file *m, struct binder_proc *proc, const char *prefix, const char *transaction_prefix, struct binder_work *w) print_binder_work_ilocked() argument 6234 print_binder_proc(struct seq_file *m, struct binder_proc *proc, int print_all) print_binder_proc() argument 6397 print_binder_proc_stats(struct seq_file *m, struct binder_proc *proc) print_binder_proc_stats() argument 6464 struct binder_proc *proc; binder_state_show() local 6503 struct binder_proc *proc; binder_stats_show() local 6519 struct binder_proc *proc; binder_transactions_show() local 6654 print_binder_transaction_brief(struct seq_file *m, struct binder_proc *proc, u64 timestamp) print_binder_transaction_brief() argument 6710 print_binder_proc_brief(struct seq_file *m, struct binder_proc *proc) print_binder_proc_brief() argument 6734 struct binder_proc *proc = NULL; binder_transaction_proc_show() local [all...] |
/kernel/linux/linux-6.6/drivers/android/ |
H A D | binder.c | 15 * 1) proc->outer_lock : protects binder_ref 21 * 3) proc->inner_lock : protects the thread and node lists 22 * (proc->threads, proc->waiting_threads, proc->nodes) 24 * (proc->todo, thread->todo, proc->delivered_death and 37 * foo_ilocked() : requires proc->inner_lock 38 * foo_oilocked(): requires proc->outer_lock and proc 97 DEFINE_SHOW_ATTRIBUTE(proc); global() variable 418 struct binder_proc *proc = node->proc; global() variable 423 binder_inner_proc_unlock(proc); global() variable 442 binder_worklist_empty(struct binder_proc *proc, struct list_head *list) binder_worklist_empty() argument 552 binder_dequeue_work(struct binder_proc *proc, struct binder_work *work) binder_dequeue_work() argument 614 binder_wakeup_poll_threads_ilocked(struct binder_proc *proc, bool sync) binder_wakeup_poll_threads_ilocked() argument 645 binder_select_thread_ilocked(struct binder_proc *proc) binder_select_thread_ilocked() argument 676 binder_wakeup_thread_ilocked(struct binder_proc *proc, struct binder_thread *thread, bool sync) binder_wakeup_thread_ilocked() argument 706 binder_wakeup_proc_ilocked(struct binder_proc *proc) binder_wakeup_proc_ilocked() argument 731 binder_get_node_ilocked(struct binder_proc *proc, binder_uintptr_t ptr) binder_get_node_ilocked() argument 759 binder_get_node(struct binder_proc *proc, binder_uintptr_t ptr) binder_get_node() argument 770 binder_init_node_ilocked( struct binder_proc *proc, struct binder_node *new_node, struct flat_binder_object *fp) binder_init_node_ilocked() argument 827 binder_new_node(struct binder_proc *proc, struct flat_binder_object *fp) binder_new_node() argument 857 struct binder_proc *proc = node->proc; binder_inc_node_nilocked() local 917 struct binder_proc *proc = node->proc; binder_dec_node_nilocked() local 1061 binder_get_ref_olocked(struct binder_proc *proc, u32 desc, bool need_strong_ref) binder_get_ref_olocked() argument 1102 binder_get_ref_for_node_olocked( struct binder_proc *proc, struct binder_node *node, struct binder_ref *new_ref) binder_get_ref_for_node_olocked() argument 1293 binder_get_node_from_ref( struct binder_proc *proc, u32 desc, bool need_strong_ref, struct binder_ref_data *rdata) binder_get_node_from_ref() argument 1350 binder_update_ref_for_handle(struct binder_proc *proc, uint32_t desc, bool increment, bool strong, struct binder_ref_data *rdata) binder_update_ref_for_handle() argument 1393 binder_dec_ref_for_handle(struct binder_proc *proc, uint32_t desc, bool strong, struct binder_ref_data *rdata) binder_dec_ref_for_handle() argument 1413 binder_inc_ref_for_node(struct binder_proc *proc, struct binder_node *node, bool strong, struct list_head *target_list, struct binder_ref_data *rdata) binder_inc_ref_for_node() argument 1509 binder_proc_dec_tmpref(struct binder_proc *proc) binder_proc_dec_tmpref() argument 1736 binder_get_object(struct binder_proc *proc, const void __user *u, struct binder_buffer *buffer, unsigned long offset, struct binder_object *object) binder_get_object() argument 1808 binder_validate_ptr( struct binder_proc *proc, struct binder_buffer *b, struct binder_object *object, binder_size_t index, binder_size_t start_offset, binder_size_t *object_offsetp, binder_size_t num_valid) binder_validate_ptr() argument 1877 binder_validate_fixup(struct binder_proc *proc, struct binder_buffer *b, binder_size_t objects_start_offset, binder_size_t buffer_obj_offset, binder_size_t fixup_offset, binder_size_t last_obj_offset, binder_size_t last_min_offset) binder_validate_fixup() argument 1981 binder_transaction_buffer_release(struct binder_proc *proc, struct binder_thread *thread, struct binder_buffer *buffer, binder_size_t off_end_offset, bool is_failure) binder_transaction_buffer_release() argument 2161 binder_release_entire_buffer(struct binder_proc *proc, struct binder_thread *thread, struct binder_buffer *buffer, bool is_failure) binder_release_entire_buffer() argument 2180 struct binder_proc *proc = thread->proc; binder_translate_binder() local 2232 struct binder_proc *proc = thread->proc; binder_translate_handle() local 2306 struct binder_proc *proc = thread->proc; binder_translate_fd() local 2620 struct binder_proc *proc = thread->proc; binder_translate_fd_array() local 2687 struct binder_proc *proc = thread->proc; binder_fixup_parent() local 2797 binder_proc_transaction(struct binder_transaction *t, struct binder_proc *proc, struct binder_thread *thread) binder_proc_transaction() argument 2942 binder_transaction(struct binder_proc *proc, struct binder_thread *thread, struct binder_transaction_data *tr, int reply, binder_size_t extra_buffers_size) binder_transaction() argument 3834 binder_free_buf(struct binder_proc *proc, struct binder_thread *thread, struct binder_buffer *buffer, bool is_failure) binder_free_buf() argument 3868 binder_thread_write(struct binder_proc *proc, struct binder_thread *thread, binder_uintptr_t binder_buffer, size_t size, binder_size_t *consumed) binder_thread_write() argument 4315 binder_stat_br(struct binder_proc *proc, struct binder_thread *thread, uint32_t cmd) binder_stat_br() argument 4326 binder_put_node_cmd(struct binder_proc *proc, struct binder_thread *thread, void __user **ptrp, binder_uintptr_t node_ptr, binder_uintptr_t node_cookie, int node_debug_id, uint32_t cmd, const char *cmd_name) binder_put_node_cmd() argument 4361 struct binder_proc *proc = thread->proc; binder_wait_for_work() local 4400 binder_apply_fd_fixups(struct binder_proc *proc, struct binder_transaction *t) binder_apply_fd_fixups() argument 4441 binder_thread_read(struct binder_proc *proc, struct binder_thread *thread, binder_uintptr_t binder_buffer, size_t size, binder_size_t *consumed, int non_block) binder_thread_read() argument 4867 binder_release_work(struct binder_proc *proc, struct list_head *list) binder_release_work() argument 4928 binder_get_thread_ilocked( struct binder_proc *proc, struct binder_thread *new_thread) binder_get_thread_ilocked() argument 4967 binder_get_thread(struct binder_proc *proc) binder_get_thread() argument 4988 binder_free_proc(struct binder_proc *proc) binder_free_proc() argument 5017 binder_thread_release(struct binder_proc *proc, struct binder_thread *thread) binder_thread_release() argument 5114 struct binder_proc *proc = filp->private_data; binder_poll() local 5141 struct binder_proc *proc = filp->private_data; binder_ioctl_write_read() local 5207 struct binder_proc *proc = filp->private_data; binder_ioctl_set_ctx_mgr() local 5251 binder_ioctl_get_node_info_for_ref(struct binder_proc *proc, struct binder_node_info_for_ref *info) binder_ioctl_get_node_info_for_ref() argument 5287 binder_ioctl_get_node_debug_info(struct binder_proc *proc, struct binder_node_debug_info *info) binder_ioctl_get_node_debug_info() argument 5312 binder_txns_pending_ilocked(struct binder_proc *proc) binder_txns_pending_ilocked() argument 5425 struct binder_proc *proc = filp->private_data; binder_ioctl() local 5723 struct binder_proc *proc = vma->vm_private_data; binder_vma_open() local 5734 struct binder_proc *proc = vma->vm_private_data; binder_vma_close() local 5757 struct binder_proc *proc = filp->private_data; binder_mmap() local 5783 struct binder_proc *proc, *itr; binder_open() local 5877 struct binder_proc *proc = filp->private_data; binder_flush() local 5884 binder_deferred_flush(struct binder_proc *proc) binder_deferred_flush() argument 5908 struct binder_proc *proc = filp->private_data; binder_release() local 5926 struct binder_proc *proc = node->proc; binder_node_release() local 5987 binder_deferred_release(struct binder_proc *proc) binder_deferred_release() argument 6076 struct binder_proc *proc; binder_deferred_func() local 6104 binder_defer_work(struct binder_proc *proc, enum binder_deferred_state defer) binder_defer_work() argument 6116 print_binder_transaction_ilocked(struct seq_file *m, struct binder_proc *proc, const char *prefix, struct binder_transaction *t) print_binder_transaction_ilocked() argument 6158 print_binder_work_ilocked(struct seq_file *m, struct binder_proc *proc, const char *prefix, const char *transaction_prefix, struct binder_work *w) print_binder_work_ilocked() argument 6283 print_binder_proc(struct seq_file *m, struct binder_proc *proc, int print_all) print_binder_proc() argument 6449 print_binder_proc_stats(struct seq_file *m, struct binder_proc *proc) print_binder_proc_stats() argument 6515 struct binder_proc *proc; state_show() local 6554 struct binder_proc *proc; stats_show() local 6570 struct binder_proc *proc; transactions_show() local 6743 print_binder_transaction_brief(struct seq_file *m, struct binder_proc *proc, u64 timestamp) print_binder_transaction_brief() argument 6799 print_binder_proc_brief(struct seq_file *m, struct binder_proc *proc) print_binder_proc_brief() argument 6823 struct binder_proc *proc = NULL; binder_transaction_proc_show() local [all...] |
/kernel/linux/linux-6.6/arch/arm/mm/ |
H A D | Makefile | 19 obj-$(CONFIG_MODULES) += proc-syms.o 66 obj-$(CONFIG_CPU_ARM7TDMI) += proc-arm7tdmi.o 67 obj-$(CONFIG_CPU_ARM720T) += proc-arm720.o 68 obj-$(CONFIG_CPU_ARM740T) += proc-arm740.o 69 obj-$(CONFIG_CPU_ARM9TDMI) += proc-arm9tdmi.o 70 obj-$(CONFIG_CPU_ARM920T) += proc-arm920.o 71 obj-$(CONFIG_CPU_ARM922T) += proc-arm922.o 72 obj-$(CONFIG_CPU_ARM925T) += proc-arm925.o 73 obj-$(CONFIG_CPU_ARM926T) += proc-arm926.o 74 obj-$(CONFIG_CPU_ARM940T) += proc [all...] |
/kernel/linux/linux-5.10/fs/dlm/ |
H A D | user.c | 180 struct dlm_user_proc *proc; in dlm_user_add_ast() local 200 proc = ua->proc; in dlm_user_add_ast() 208 spin_lock(&proc->asts_spin); in dlm_user_add_ast() 212 spin_unlock(&proc->asts_spin); in dlm_user_add_ast() 218 list_add_tail(&lkb->lkb_cb_list, &proc->asts); in dlm_user_add_ast() 219 wake_up_interruptible(&proc->wait); in dlm_user_add_ast() 221 spin_unlock(&proc->asts_spin); in dlm_user_add_ast() 225 spin_lock(&proc->locks_spin); in dlm_user_add_ast() 230 spin_unlock(&proc in dlm_user_add_ast() 236 device_user_lock(struct dlm_user_proc *proc, struct dlm_lock_params *params) device_user_lock() argument 290 device_user_unlock(struct dlm_user_proc *proc, struct dlm_lock_params *params) device_user_unlock() argument 319 device_user_deadlock(struct dlm_user_proc *proc, struct dlm_lock_params *params) device_user_deadlock() argument 380 device_user_purge(struct dlm_user_proc *proc, struct dlm_purge_params *params) device_user_purge() argument 504 struct dlm_user_proc *proc = file->private_data; device_write() local 632 struct dlm_user_proc *proc; device_open() local 659 struct dlm_user_proc *proc = file->private_data; device_close() local 779 struct dlm_user_proc *proc = file->private_data; device_read() local 890 struct dlm_user_proc *proc = file->private_data; device_poll() local [all...] |
/kernel/linux/linux-6.6/fs/dlm/ |
H A D | user.c | 148 /* should held proc->asts_spin lock */ 201 struct dlm_user_proc *proc; in dlm_user_add_ast() local 223 proc = ua->proc; in dlm_user_add_ast() 231 spin_lock(&proc->asts_spin); in dlm_user_add_ast() 236 spin_unlock(&proc->asts_spin); in dlm_user_add_ast() 241 list_add_tail(&lkb->lkb_cb_list, &proc->asts); in dlm_user_add_ast() 242 wake_up_interruptible(&proc->wait); in dlm_user_add_ast() 250 spin_unlock(&proc->asts_spin); in dlm_user_add_ast() 254 spin_lock(&proc in dlm_user_add_ast() 265 device_user_lock(struct dlm_user_proc *proc, struct dlm_lock_params *params) device_user_lock() argument 316 device_user_unlock(struct dlm_user_proc *proc, struct dlm_lock_params *params) device_user_unlock() argument 345 device_user_deadlock(struct dlm_user_proc *proc, struct dlm_lock_params *params) device_user_deadlock() argument 406 device_user_purge(struct dlm_user_proc *proc, struct dlm_purge_params *params) device_user_purge() argument 530 struct dlm_user_proc *proc = file->private_data; device_write() local 658 struct dlm_user_proc *proc; device_open() local 685 struct dlm_user_proc *proc = file->private_data; device_close() local 805 struct dlm_user_proc *proc = file->private_data; device_read() local 924 struct dlm_user_proc *proc = file->private_data; device_poll() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | Makefile | 10 TEST_GEN_PROGS += proc-loadavg-001 11 TEST_GEN_PROGS += proc-empty-vm 12 TEST_GEN_PROGS += proc-pid-vm 13 TEST_GEN_PROGS += proc-self-map-files-001 14 TEST_GEN_PROGS += proc-self-map-files-002 15 TEST_GEN_PROGS += proc-self-syscall 16 TEST_GEN_PROGS += proc-self-wchan 17 TEST_GEN_PROGS += proc-subset-pid 18 TEST_GEN_PROGS += proc-tid0 19 TEST_GEN_PROGS += proc [all...] |
/kernel/linux/linux-5.10/arch/arm/mm/ |
H A D | Makefile | 19 obj-$(CONFIG_MODULES) += proc-syms.o 79 obj-$(CONFIG_CPU_ARM7TDMI) += proc-arm7tdmi.o 80 obj-$(CONFIG_CPU_ARM720T) += proc-arm720.o 81 obj-$(CONFIG_CPU_ARM740T) += proc-arm740.o 82 obj-$(CONFIG_CPU_ARM9TDMI) += proc-arm9tdmi.o 83 obj-$(CONFIG_CPU_ARM920T) += proc-arm920.o 84 obj-$(CONFIG_CPU_ARM922T) += proc-arm922.o 85 obj-$(CONFIG_CPU_ARM925T) += proc-arm925.o 86 obj-$(CONFIG_CPU_ARM926T) += proc-arm926.o 87 obj-$(CONFIG_CPU_ARM940T) += proc [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | Makefile | 9 TEST_GEN_PROGS += proc-loadavg-001 10 TEST_GEN_PROGS += proc-pid-vm 11 TEST_GEN_PROGS += proc-self-map-files-001 12 TEST_GEN_PROGS += proc-self-map-files-002 13 TEST_GEN_PROGS += proc-self-syscall 14 TEST_GEN_PROGS += proc-self-wchan 15 TEST_GEN_PROGS += proc-uptime-001 16 TEST_GEN_PROGS += proc-uptime-002 22 TEST_GEN_PROGS += proc-multiple-procfs 23 TEST_GEN_PROGS += proc [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_proc.c | 24 *width = isp_dev->proc.mbus_format.width; in sun6i_isp_proc_dimensions() 26 *height = isp_dev->proc.mbus_format.height; in sun6i_isp_proc_dimensions() 112 struct sun6i_isp_proc *proc = &isp_dev->proc; in sun6i_isp_proc_enable() local 118 if (source == &proc->source_csi0) in sun6i_isp_proc_enable() 142 struct v4l2_mbus_framefmt *mbus_format = &isp_dev->proc.mbus_format; in sun6i_isp_proc_configure() 170 struct sun6i_isp_proc *proc = &isp_dev->proc; in sun6i_isp_proc_s_stream() local 171 struct media_pad *local_pad = &proc->pads[SUN6I_ISP_PROC_PAD_SINK_CSI]; in sun6i_isp_proc_s_stream() 189 if (source_subdev == proc in sun6i_isp_proc_s_stream() 405 struct sun6i_isp_proc *proc = &isp_dev->proc; sun6i_isp_proc_notifier_bound() local 492 struct sun6i_isp_proc *proc = &isp_dev->proc; sun6i_isp_proc_setup() local [all...] |
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | cper-arm.c | 239 const struct cper_sec_proc_arm *proc) in cper_print_proc_arm() 246 printk("%sMIDR: 0x%016llx\n", pfx, proc->midr); in cper_print_proc_arm() 248 len = proc->section_length - (sizeof(*proc) + in cper_print_proc_arm() 249 proc->err_info_num * (sizeof(*err_info))); in cper_print_proc_arm() 251 printk("%ssection length: %d\n", pfx, proc->section_length); in cper_print_proc_arm() 254 printk("%sERR_INFO_NUM is %d\n", pfx, proc->err_info_num); in cper_print_proc_arm() 258 if (proc->validation_bits & CPER_ARM_VALID_MPIDR) in cper_print_proc_arm() 260 pfx, proc->mpidr); in cper_print_proc_arm() 262 if (proc in cper_print_proc_arm() 238 cper_print_proc_arm(const char *pfx, const struct cper_sec_proc_arm *proc) cper_print_proc_arm() argument [all...] |
H A D | cper.c | 144 const struct cper_sec_proc_generic *proc) in cper_print_proc_generic() 146 if (proc->validation_bits & CPER_PROC_VALID_TYPE) in cper_print_proc_generic() 147 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic() 148 proc->proc_type < ARRAY_SIZE(proc_type_strs) ? in cper_print_proc_generic() 149 proc_type_strs[proc->proc_type] : "unknown"); in cper_print_proc_generic() 150 if (proc->validation_bits & CPER_PROC_VALID_ISA) in cper_print_proc_generic() 151 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic() 152 proc->proc_isa < ARRAY_SIZE(proc_isa_strs) ? in cper_print_proc_generic() 153 proc_isa_strs[proc->proc_isa] : "unknown"); in cper_print_proc_generic() 154 if (proc in cper_print_proc_generic() 143 cper_print_proc_generic(const char *pfx, const struct cper_sec_proc_generic *proc) cper_print_proc_generic() argument [all...] |
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | cper-arm.c | 238 const struct cper_sec_proc_arm *proc) in cper_print_proc_arm() 245 printk("%sMIDR: 0x%016llx\n", pfx, proc->midr); in cper_print_proc_arm() 247 len = proc->section_length - (sizeof(*proc) + in cper_print_proc_arm() 248 proc->err_info_num * (sizeof(*err_info))); in cper_print_proc_arm() 250 printk("%ssection length: %d\n", pfx, proc->section_length); in cper_print_proc_arm() 253 printk("%sERR_INFO_NUM is %d\n", pfx, proc->err_info_num); in cper_print_proc_arm() 257 if (proc->validation_bits & CPER_ARM_VALID_MPIDR) in cper_print_proc_arm() 259 pfx, proc->mpidr); in cper_print_proc_arm() 261 if (proc in cper_print_proc_arm() 237 cper_print_proc_arm(const char *pfx, const struct cper_sec_proc_arm *proc) cper_print_proc_arm() argument [all...] |
H A D | cper.c | 145 const struct cper_sec_proc_generic *proc) in cper_print_proc_generic() 147 if (proc->validation_bits & CPER_PROC_VALID_TYPE) in cper_print_proc_generic() 148 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic() 149 proc->proc_type < ARRAY_SIZE(proc_type_strs) ? in cper_print_proc_generic() 150 proc_type_strs[proc->proc_type] : "unknown"); in cper_print_proc_generic() 151 if (proc->validation_bits & CPER_PROC_VALID_ISA) in cper_print_proc_generic() 152 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic() 153 proc->proc_isa < ARRAY_SIZE(proc_isa_strs) ? in cper_print_proc_generic() 154 proc_isa_strs[proc->proc_isa] : "unknown"); in cper_print_proc_generic() 155 if (proc in cper_print_proc_generic() 144 cper_print_proc_generic(const char *pfx, const struct cper_sec_proc_generic *proc) cper_print_proc_generic() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/timens/ |
H A D | procfs.c | 39 char path[] = "/proc/self/ns/time_for_children"; in init_namespaces() 71 FILE *proc; in read_proc_uptime() local 73 proc = fopen("/proc/uptime", "r"); in read_proc_uptime() 74 if (proc == NULL) { in read_proc_uptime() 75 pr_perror("Unable to open /proc/uptime"); in read_proc_uptime() 79 if (fscanf(proc, "%lu.%02lu", &up_sec, &up_nsec) != 2) { in read_proc_uptime() 84 pr_err("failed to parse /proc/uptime"); in read_proc_uptime() 87 fclose(proc); in read_proc_uptime() 96 FILE *proc; in read_proc_stat_btime() local [all...] |
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | smb2ops.c | 172 [SMB2_NEGOTIATE_HE] = { .proc = smb2_negotiate_request, }, 173 [SMB2_SESSION_SETUP_HE] = { .proc = smb2_sess_setup, }, 174 [SMB2_TREE_CONNECT_HE] = { .proc = smb2_tree_connect,}, 175 [SMB2_TREE_DISCONNECT_HE] = { .proc = smb2_tree_disconnect,}, 176 [SMB2_LOGOFF_HE] = { .proc = smb2_session_logoff,}, 177 [SMB2_CREATE_HE] = { .proc = smb2_open}, 178 [SMB2_QUERY_INFO_HE] = { .proc = smb2_query_info}, 179 [SMB2_QUERY_DIRECTORY_HE] = { .proc = smb2_query_dir}, 180 [SMB2_CLOSE_HE] = { .proc = smb2_close}, 181 [SMB2_ECHO_HE] = { .proc [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/sched/ |
H A D | cs_prctl_test.c | 175 void create_processes(int num_processes, int num_threads, struct child_args proc[]) in create_processes() argument 181 proc[i].num_threads = num_threads; in create_processes() 183 if (pipe(proc[i].pfd) == -1) in create_processes() 187 SIGCHLD, &proc[i]); in create_processes() 188 proc[i].cpid = cpid; in create_processes() 189 close(proc[i].pfd[1]); in create_processes() 193 ret = read(proc[i].pfd[0], &proc[i].thr_tids, sizeof(int) * proc[i].num_threads); in create_processes() 195 printf("read failed on proc[ in create_processes() 201 disp_processes(int num_processes, struct child_args proc[]) disp_processes() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | run_vmtests.sh | 128 # get huge pagesize and freepages from /proc/meminfo 136 done < /proc/meminfo 150 nr_hugepgs=$(cat /proc/sys/vm/nr_hugepages) 155 echo 3 > /proc/sys/vm/drop_caches 156 if ! echo $((lackpgs + nr_hugepgs)) > /proc/sys/vm/nr_hugepages; then 164 done < /proc/meminfo 211 shmmax=$(cat /proc/sys/kernel/shmmax) 212 shmall=$(cat /proc/sys/kernel/shmall) 213 echo 268435456 > /proc/sys/kernel/shmmax 214 echo 4194304 > /proc/sy [all...] |
/kernel/linux/build/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/ |
H A D | mem_debug07.sh | 27 zcat /proc/config.gz | grep CONFIG_LOWMEM=y || tst_res TCONF "CONFIG_LOWMEM=y not satisfied!" 28 zcat /proc/config.gz | grep CONFIG_LMKD_DBG=y || tst_res TCONF "CONFIG_LMKD_DBG=y not satisfied!" 35 lmkd_oom_score_adj_def=$(cat /proc/lmkd_dbg_trigger | awk 'BEGIN{FS=":"} $1=="lmkd_oom_score_adj"{print $2}') 36 echo 1 > /proc/lmkd_dbg_trigger 38 local lmkd_oom_score_adj=$(cat /proc/lmkd_dbg_trigger | awk 'BEGIN{FS=":"} $1=="lmkd_oom_score_adj"{print $2}') 62 echo $lmkd_oom_score_adj_def > /proc/lmkd_dbg_trigger
|
H A D | mem_debug02.sh | 27 zcat /proc/config.gz | grep CONFIG_DEBUG_FS=y || tst_res TCONF "CONFIG_DEBUG_FS=y not satisfied!" 32 local code_low_add=$( cat /proc/iomem | grep Kernel | awk '$4=="code"{print $1}' | awk 'BEGIN{FS="-"}{print $1}') 33 local code_high_add=$( cat /proc/iomem | grep Kernel | awk '$4=="code"{print $1}' | awk 'BEGIN{FS="-"}{print $2}') 36 local data_low_add=$( cat /proc/iomem | grep Kernel | awk '$4=="data"{print $1}' | awk 'BEGIN{FS="-"}{print $1}') 37 local data_high_add=$( cat /proc/iomem | grep Kernel | awk '$4=="data"{print $1}' | awk 'BEGIN{FS="-"}{print $2}') 43 local memtotal=$(cat /proc/meminfo | awk '$1=="MemTotal:"{print $2}')
|
/kernel/linux/build/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/ |
H A D | sched_rtg06.sh | 91 echo $((RANDOM % 19 + 2)) > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id 93 echo 0 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id 106 echo ${i} > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id 108 echo 0 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id 113 echo 2 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id 115 echo 0 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id 129 echo $_rtg_id > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id 131 echo 0 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
|
H A D | sched_rtg03.sh | 16 # Description: sched RTG /proc/sched_rtg_debug interface test 36 local sched_group_id=/proc/$PID/sched_group_id 38 tst_res TINFO "Start sched RTG /proc/sched_rtg_debug interface test ..." 55 local _sched_group_id=/proc/$_pid/sched_group_id 56 local _sched_rtg_debug=/proc/sched_rtg_debug 61 if [ $(cat /proc/$_pid/sched_group_id) -eq $_expect_rtgid ]; then 70 local _rtg_id=$(cat /proc/sched_rtg_debug | grep RTG_ID | grep -v grep | awk '{print $3}' | head -n 1) 71 local _rtg_pid=$(cat /proc/sched_rtg_debug | grep $PID | grep -v grep | awk '{print $3}')
|
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | ide-proc.c | 10 * This is the /proc/ide/ filesystem implementation. 13 * "settings" files. e.g. "cat /proc/ide0/hda/settings" 15 * echo "name:val" >/proc/ide/ide0/hda/settings 226 printk_once(KERN_WARNING "Warning: /proc/ide/hd?/settings interface is " in proc_ide_settings_warn() 502 ide_add_proc_entries(drive->proc, driver->proc_entries(drive), drive); in ide_proc_register_driver() 512 * Clean up the driver specific /proc files and IDE settings 520 ide_remove_proc_entries(drive->proc, driver->proc_entries(drive)); in ide_proc_unregister_driver() 535 struct proc_dir_entry *parent = hwif->proc; in ide_proc_port_register_devices() 544 drive->proc = proc_mkdir(drive->name, parent); in ide_proc_port_register_devices() 545 if (drive->proc) { in ide_proc_port_register_devices() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/plugin-lib/ |
H A D | buildebpfPlugin.py | 53 proc = subprocess.Popen(command, 58 (rawout, serr) = proc.communicate() 60 if proc.returncode != 0 and len(serr) > 0: 65 proc.stdout.close() 66 proc.stderr.close() 67 return proc, foutput
|