/linux/include/linux/ |
H A D | list.h | 272 struct list_head *pos = entry2->prev; in list_swap() local 644 #define list_next_entry(pos, member) \ argument 656 #define list_next_entry_circular(pos, head, member) \ argument 665 #define list_prev_entry(pos, member) \ argument 677 #define list_prev_entry_circular(pos, head, member) \ argument 686 #define list_for_each(pos, head) \ argument 694 #define list_for_each_reverse(pos, head) \ argument 702 #define list_for_each_rcu(pos, head) \ argument 714 #define list_for_each_continue(pos, head) \ argument 722 #define list_for_each_prev(pos, head) \ argument [all …]
|
H A D | plist.h | 142 #define plist_for_each(pos, head) \ argument 152 #define plist_for_each_continue(pos, head) \ argument 163 #define plist_for_each_safe(pos, n, head) \ argument 172 #define plist_for_each_entry(pos, head, mem) \ argument 184 #define plist_for_each_entry_continue(pos, head, m) \ argument 196 #define plist_for_each_entry_safe(pos, n, head, m) \ argument 257 #define plist_next(pos) \ argument 264 #define plist_prev(pos) \ argument
|
H A D | rculist.h | 392 #define list_for_each_entry_rcu(pos, head, member, cond...) \ argument 411 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument 446 #define list_for_each_entry_lockless(pos, head, member) \ argument 469 #define list_for_each_entry_continue_rcu(pos, head, member) \ argument 491 #define list_for_each_entry_from_rcu(pos, head, member) \ argument 693 #define __hlist_for_each_rcu(pos, head) \ argument 709 #define hlist_for_each_entry_rcu(pos, head, member, cond...) \ argument 730 #define hlist_for_each_entry_srcu(pos, head, member, cond) \ argument 751 #define hlist_for_each_entry_rcu_notrace(pos, head, member) \ argument 768 #define hlist_for_each_entry_rcu_bh(pos, head, member) \ argument [all …]
|
/linux/tools/include/linux/ |
H A D | list.h | 403 #define list_next_entry(pos, member) \ argument 411 #define list_prev_entry(pos, member) \ argument 419 #define list_for_each(pos, head) \ argument 427 #define list_for_each_prev(pos, head) \ argument 436 #define list_for_each_safe(pos, n, head) \ argument 446 #define list_for_each_prev_safe(pos, n, head) \ argument 457 #define list_for_each_entry(pos, head, member) \ argument 468 #define list_for_each_entry_reverse(pos, head, member) \ argument 481 #define list_prepare_entry(pos, head, member) \ argument 493 #define list_for_each_entry_continue(pos, head, member) \ argument [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_debugfs.c | 733 char *pos = content; in hclge_dbg_fill_content() local 829 char *buf, int len, int *pos) in hclge_dbg_dump_reg_tqp() 883 char *buf, int len, int *pos) in hclge_dbg_dump_reg_common() 944 int len, int *pos) in hclge_dbg_dump_mac_enable_status() 974 int len, int *pos) in hclge_dbg_dump_mac_frame_size() 1000 int len, int *pos) in hclge_dbg_dump_mac_speed_duplex() 1032 int pos = 0; in hclge_dbg_dump_mac() local 1047 int *pos) in hclge_dbg_dump_dcb_qset() 1078 int *pos) in hclge_dbg_dump_dcb_pri() 1108 int *pos) in hclge_dbg_dump_dcb_pg() [all …]
|
/linux/fs/romfs/ |
H A D | storage.c | 23 static int romfs_mtd_read(struct super_block *sb, unsigned long pos, in romfs_mtd_read() 37 unsigned long pos, size_t maxlen) in romfs_mtd_strnlen() 66 static int romfs_mtd_strcmp(struct super_block *sb, unsigned long pos, in romfs_mtd_strcmp() 103 static int romfs_blk_read(struct super_block *sb, unsigned long pos, in romfs_blk_read() 131 unsigned long pos, size_t limit) in romfs_blk_strnlen() 163 static int romfs_blk_strcmp(struct super_block *sb, unsigned long pos, in romfs_blk_strcmp() 214 int romfs_dev_read(struct super_block *sb, unsigned long pos, in romfs_dev_read() 238 unsigned long pos, size_t maxlen) in romfs_dev_strnlen() 265 int romfs_dev_strcmp(struct super_block *sb, unsigned long pos, in romfs_dev_strcmp()
|
/linux/kernel/ |
H A D | sysctl-test.c | 39 loff_t pos; in sysctl_test_api_dointvec_null_tbl_data() local 85 loff_t pos; in sysctl_test_api_dointvec_table_maxlen_unset() local 131 loff_t pos; in sysctl_test_api_dointvec_table_len_is_zero() local 170 loff_t pos = 1; in sysctl_test_api_dointvec_table_read_but_position_set() local 195 loff_t pos = 0; in sysctl_test_dointvec_read_happy_single_positive() local 226 loff_t pos = 0; in sysctl_test_dointvec_read_happy_single_negative() local 256 loff_t pos = 0; in sysctl_test_dointvec_write_happy_single_positive() local 286 loff_t pos = 0; in sysctl_test_dointvec_write_happy_single_negative() local 317 loff_t pos = 0; in sysctl_test_api_dointvec_write_single_less_int_min() local 355 loff_t pos = 0; in sysctl_test_api_dointvec_write_single_greater_int_max() local
|
/linux/net/appletalk/ |
H A D | atalk_proc.c | 17 static __inline__ struct atalk_iface *atalk_get_interface_idx(loff_t pos) in atalk_get_interface_idx() 27 static void *atalk_seq_interface_start(struct seq_file *seq, loff_t *pos) in atalk_seq_interface_start() 36 static void *atalk_seq_interface_next(struct seq_file *seq, void *v, loff_t *pos) in atalk_seq_interface_next() 78 static __inline__ struct atalk_route *atalk_get_route_idx(loff_t pos) in atalk_get_route_idx() 88 static void *atalk_seq_route_start(struct seq_file *seq, loff_t *pos) in atalk_seq_route_start() 97 static void *atalk_seq_route_next(struct seq_file *seq, void *v, loff_t *pos) in atalk_seq_route_next() 145 static void *atalk_seq_socket_start(struct seq_file *seq, loff_t *pos) in atalk_seq_socket_start() 152 static void *atalk_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos) in atalk_seq_socket_next()
|
/linux/net/ieee802154/ |
H A D | header_ops.c | 18 int pos = 0; in ieee802154_hdr_push_addr() local 49 int pos = 5; in ieee802154_hdr_push_sechdr() local 81 int pos = 2; in ieee802154_hdr_push() local 174 int pos = 0; in ieee802154_hdr_get_addr() local 210 int pos = 5; in ieee802154_hdr_get_sechdr() local 267 int pos = 0; in ieee802154_hdr_get_addrs() local 283 int pos = 3, rc; in ieee802154_hdr_pull() local 327 int pos = 3, rc; in ieee802154_hdr_peek_addrs() local 347 int pos; in ieee802154_hdr_peek() local
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | sd.h | 22 #define mlx5_sd_for_each_dev_from_to(i, primary, ix_from, to, pos) \ argument 26 #define mlx5_sd_for_each_dev(i, primary, pos) \ argument 29 #define mlx5_sd_for_each_dev_to(i, primary, to, pos) \ argument 32 #define mlx5_sd_for_each_secondary(i, primary, pos) \ argument 35 #define mlx5_sd_for_each_secondary_to(i, primary, to, pos) \ argument
|
/linux/net/core/ |
H A D | net-procfs.c | 10 static void *dev_seq_from_index(struct seq_file *seq, loff_t *pos) in dev_seq_from_index() 22 static void *dev_seq_start(struct seq_file *seq, loff_t *pos) in dev_seq_start() 32 static void *dev_seq_next(struct seq_file *seq, void *v, loff_t *pos) in dev_seq_next() 95 static struct softnet_data *softnet_get_online(loff_t *pos) in softnet_get_online() 108 static void *softnet_seq_start(struct seq_file *seq, loff_t *pos) in softnet_seq_start() 113 static void *softnet_seq_next(struct seq_file *seq, void *v, loff_t *pos) in softnet_seq_next() 171 static void *ptype_get_idx(struct seq_file *seq, loff_t pos) in ptype_get_idx() 204 static void *ptype_seq_start(struct seq_file *seq, loff_t *pos) in ptype_seq_start() 211 static void *ptype_seq_next(struct seq_file *seq, void *v, loff_t *pos) in ptype_seq_next()
|
/linux/drivers/pci/ |
H A D | vc.c | 27 static void pci_vc_save_restore_dwords(struct pci_dev *dev, int pos, in pci_vc_save_restore_dwords() 49 static void pci_vc_load_arb_table(struct pci_dev *dev, int pos) in pci_vc_load_arb_table() 73 static void pci_vc_load_port_arb_table(struct pci_dev *dev, int pos, int res) in pci_vc_load_port_arb_table() 104 static void pci_vc_enable(struct pci_dev *dev, int pos, int res) in pci_vc_enable() 185 static int pci_vc_do_save_buffer(struct pci_dev *dev, int pos, in pci_vc_do_save_buffer() 358 int pos, ret; in pci_save_vc_state() local 395 int pos; in pci_restore_vc_state() local 419 int len, pos = pci_find_ext_capability(dev, vc_caps[i].id); in pci_allocate_vc_save_buffers() local
|
/linux/drivers/cpufreq/ |
H A D | freq_table.c | 19 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in policy_has_boost_freq() local 35 struct cpufreq_frequency_table *pos; in cpufreq_frequency_table_cpuinfo() local 72 struct cpufreq_frequency_table *pos; in cpufreq_frequency_table_verify() local 130 struct cpufreq_frequency_table *pos; in cpufreq_table_index_unsorted() local 214 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in cpufreq_frequency_table_get_index() local 237 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in show_available_freqs() local 301 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in set_freq_table_sorted() local
|
/linux/fs/ |
H A D | read_write.c | 457 loff_t pos = *ppos; in rw_verify_area() local 503 ssize_t __kernel_read(struct file *file, void *buf, size_t count, loff_t *pos) in __kernel_read() 538 ssize_t kernel_read(struct file *file, void *buf, size_t count, loff_t *pos) in kernel_read() 549 ssize_t vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos) in vfs_read() 598 ssize_t __kernel_write_iter(struct file *file, struct iov_iter *from, loff_t *pos) in __kernel_write_iter() 628 ssize_t __kernel_write(struct file *file, const void *buf, size_t count, loff_t *pos) in __kernel_write() 648 loff_t *pos) in kernel_write() 663 ssize_t vfs_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) in vfs_write() 707 loff_t pos, *ppos = file_ppos(fd_file(f)); in ksys_read() local 731 loff_t pos, *ppos = file_ppos(fd_file(f)); in ksys_write() local [all …]
|
/linux/net/mptcp/ |
H A D | token.c | 58 struct hlist_nulls_node *pos; in __token_lookup_req() local 70 struct hlist_nulls_node *pos; in __token_lookup_msk() local 194 struct mptcp_subflow_request_sock *pos; in mptcp_token_accept() local 212 struct hlist_nulls_node *pos; in mptcp_token_exists() local 248 struct hlist_nulls_node *pos; in mptcp_token_get_sock() local 301 struct hlist_nulls_node *pos; in mptcp_token_iter_next() local 353 struct mptcp_subflow_request_sock *pos; in mptcp_token_destroy_request() local 379 struct mptcp_sock *pos; in mptcp_token_destroy() local
|
/linux/scripts/dtc/ |
H A D | srcpos.c | 234 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update() 256 srcpos_copy(struct srcpos *pos) in srcpos_copy() 276 struct srcpos *srcpos_extend(struct srcpos *pos, struct srcpos *newtail) in srcpos_extend() 289 srcpos_string(struct srcpos *pos) in srcpos_string() 314 srcpos_string_comment(struct srcpos *pos, bool first_line, int level) in srcpos_string_comment() 365 char *srcpos_string_first(struct srcpos *pos, int level) in srcpos_string_first() 370 char *srcpos_string_last(struct srcpos *pos, int level) in srcpos_string_last() 375 void srcpos_verror(struct srcpos *pos, const char *prefix, in srcpos_verror() 389 void srcpos_error(struct srcpos *pos, const char *prefix, in srcpos_error()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_debugfs.c | 73 char __user *buf, size_t size, loff_t *pos) in amdgpu_debugfs_process_reg_op() 193 size_t size, loff_t *pos) in amdgpu_debugfs_regs_read() 202 size_t size, loff_t *pos) in amdgpu_debugfs_regs_write() 364 static ssize_t amdgpu_debugfs_regs2_read(struct file *f, char __user *buf, size_t size, loff_t *pos) in amdgpu_debugfs_regs2_read() 369 …size_t amdgpu_debugfs_regs2_write(struct file *f, const char __user *buf, size_t size, loff_t *pos) in amdgpu_debugfs_regs2_write() 397 …tic ssize_t amdgpu_debugfs_gprwave_read(struct file *f, char __user *buf, size_t size, loff_t *pos) in amdgpu_debugfs_gprwave_read() 519 size_t size, loff_t *pos) in amdgpu_debugfs_regs_pcie_read() 579 size_t size, loff_t *pos) in amdgpu_debugfs_regs_pcie_write() 639 size_t size, loff_t *pos) in amdgpu_debugfs_regs_didt_read() 698 size_t size, loff_t *pos) in amdgpu_debugfs_regs_didt_write() [all …]
|
/linux/net/x25/ |
H A D | x25_proc.c | 25 static void *x25_seq_route_start(struct seq_file *seq, loff_t *pos) in x25_seq_route_start() 32 static void *x25_seq_route_next(struct seq_file *seq, void *v, loff_t *pos) in x25_seq_route_next() 60 static void *x25_seq_socket_start(struct seq_file *seq, loff_t *pos) in x25_seq_socket_start() 67 static void *x25_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos) in x25_seq_socket_next() 112 static void *x25_seq_forward_start(struct seq_file *seq, loff_t *pos) in x25_seq_forward_start() 119 static void *x25_seq_forward_next(struct seq_file *seq, void *v, loff_t *pos) in x25_seq_forward_next()
|
/linux/drivers/vfio/pci/ |
H A D | vfio_pci_config.c | 175 static int vfio_default_config_read(struct vfio_pci_core_device *vdev, int pos, in vfio_default_config_read() 201 static int vfio_default_config_write(struct vfio_pci_core_device *vdev, int pos, in vfio_default_config_write() 248 static int vfio_direct_config_read(struct vfio_pci_core_device *vdev, int pos, in vfio_direct_config_read() 273 static int vfio_raw_config_write(struct vfio_pci_core_device *vdev, int pos, in vfio_raw_config_write() 286 static int vfio_raw_config_read(struct vfio_pci_core_device *vdev, int pos, in vfio_raw_config_read() 300 static int vfio_virt_config_write(struct vfio_pci_core_device *vdev, int pos, in vfio_virt_config_write() 308 static int vfio_virt_config_read(struct vfio_pci_core_device *vdev, int pos, in vfio_virt_config_read() 521 static int vfio_basic_config_read(struct vfio_pci_core_device *vdev, int pos, in vfio_basic_config_read() 545 int i = 0, pos = PCI_BASE_ADDRESS_0, ret; in vfio_need_bar_restore() local 559 static int vfio_basic_config_write(struct vfio_pci_core_device *vdev, int pos, in vfio_basic_config_write() [all …]
|
/linux/drivers/mtd/nand/ |
H A D | core.c | 22 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isbad() 64 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_markbad() 105 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isreserved() 129 static int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos) in nanddev_erase() 158 struct nand_pos pos, last; in nanddev_mtd_erase() local 194 struct nand_pos pos, end; in nanddev_mtd_max_bad_blocks() local
|
/linux/security/apparmor/ |
H A D | policy_unpack.c | 178 void *pos = e->pos; in aa_unpack_u16_chunk() local 229 void *pos = e->pos; in aa_unpack_nameX() local 257 void *pos = e->pos; in unpack_u8() local 275 void *pos = e->pos; in aa_unpack_u32() local 294 void *pos = e->pos; in aa_unpack_u64() local 333 void *pos = e->pos; in aa_unpack_array() local 351 void *pos = e->pos; in aa_unpack_blob() local 376 void *pos = e->pos; in aa_unpack_str() local 399 void *pos = e->pos; in aa_unpack_strdup() local 485 int c, j, pos, size2 = aa_unpack_strdup(e, &str, NULL); in unpack_trans_table() local [all …]
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | tcm-sita.c | 28 static void free_slots(unsigned long pos, u16 w, u16 h, in free_slots() 43 static int r2l_b2t_1d(u16 w, unsigned long *pos, unsigned long *map, in r2l_b2t_1d() 80 unsigned long *pos, unsigned long slot_bytes, in l2r_t2b() 157 unsigned long pos; in sita_reserve_1d() local 177 unsigned long pos; in sita_reserve_2d() local 202 unsigned long pos; in sita_free() local
|
/linux/drivers/misc/ocxl/ |
H A D | config.c | 80 int pos; in read_pasid() local 102 int pos; in read_dvsec_tl() local 119 int pos, afu_present; in read_dvsec_function() local 146 int pos; in read_dvsec_afu_info() local 164 int pos; in read_dvsec_vendor() local 211 int pos; in get_dvsec_vendor0() local 234 int pos; in ocxl_config_get_reset_reload() local 250 int pos; in ocxl_config_set_reset_reload() local 329 int pos = fn->dvsec_afu_info_pos; in read_afu_info() local 489 int pos; in read_afu_control() local [all …]
|
/linux/drivers/accel/ivpu/ |
H A D | ivpu_debugfs.c | 131 dvfs_mode_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) in dvfs_mode_fops_write() 158 fw_dyndbg_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) in fw_dyndbg_fops_write() 196 fw_log_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) in fw_log_fops_write() 219 size_t size, loff_t *pos) in fw_profiling_freq_fops_write() 246 size_t size, loff_t *pos) in fw_trace_destination_mask_fops_write() 273 size_t size, loff_t *pos) in fw_trace_hw_comp_mask_fops_write() 299 fw_trace_level_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) in fw_trace_level_fops_write() 325 ivpu_force_recovery_fn(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) in ivpu_force_recovery_fn() 350 ivpu_reset_engine_fn(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) in ivpu_reset_engine_fn() 372 ivpu_resume_engine_fn(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) in ivpu_resume_engine_fn()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | iters_task_failure.c | 21 struct task_struct *pos; in BPF_PROG() local 35 struct cgroup_subsys_state *root_css, *pos; in BPF_PROG() local 52 struct task_struct *pos; in BPF_PROG() local 70 struct cgroup_subsys_state *root_css, *pos; in BPF_PROG() local
|