/openbmc/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 665 #define list_prev_entry(pos, member) \ argument 686 #define list_for_each(pos, head) \ argument 694 #define list_for_each_rcu(pos, head) \ argument 706 #define list_for_each_continue(pos, head) \ argument 714 #define list_for_each_prev(pos, head) \ argument 723 #define list_for_each_safe(pos, n, head) \ argument 745 struct list_head *pos; in list_count_nodes() local 1116 #define hlist_for_each(pos, head) \ argument [all …]
|
H A D | plist.h | 152 #define plist_for_each(pos, head) \ argument 162 #define plist_for_each_continue(pos, head) \ argument 173 #define plist_for_each_safe(pos, n, head) \ argument 182 #define plist_for_each_entry(pos, head, mem) \ argument 194 #define plist_for_each_entry_continue(pos, head, m) \ argument 206 #define plist_for_each_entry_safe(pos, n, head, m) \ argument 267 #define plist_next(pos) \ argument 274 #define plist_prev(pos) \ argument
|
H A D | rculist.h | 389 #define list_for_each_entry_rcu(pos, head, member, cond...) \ argument 408 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument 443 #define list_for_each_entry_lockless(pos, head, member) \ argument 466 #define list_for_each_entry_continue_rcu(pos, head, member) \ argument 488 #define list_for_each_entry_from_rcu(pos, head, member) \ argument 688 #define __hlist_for_each_rcu(pos, head) \ argument 725 #define hlist_for_each_entry_srcu(pos, head, member, cond) \ argument 763 #define hlist_for_each_entry_rcu_bh(pos, head, member) \ argument 775 #define hlist_for_each_entry_continue_rcu(pos, member) \ argument 787 #define hlist_for_each_entry_continue_rcu_bh(pos, member) \ argument [all …]
|
/openbmc/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 481 #define list_prepare_entry(pos, head, member) \ argument 596 #define list_safe_reset_next(pos, n, member) \ argument 707 #define hlist_for_each(pos, head) \ argument 710 #define hlist_for_each_safe(pos, n, head) \ argument [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | list.h | 356 #define list_for_each(pos, head) \ argument 370 #define __list_for_each(pos, head) \ argument 378 #define list_for_each_prev(pos, head) \ argument 388 #define list_for_each_safe(pos, n, head) \ argument 398 #define list_for_each_prev_safe(pos, n, head) \ argument 409 #define list_for_each_entry(pos, head, member) \ argument 433 #define list_prepare_entry(pos, head, member) \ argument 472 #define list_for_each_entry_from(pos, head, member) \ argument 627 #define hlist_for_each(pos, head) \ argument 631 #define hlist_for_each_safe(pos, n, head) \ argument [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_debugfs.c | 394 int pos = 0; in hclge_dbg_dump_mac() local 470 int *pos) in hclge_dbg_dump_dcb_pg() 613 int pos = 0; in hclge_dbg_dump_dcb() local 668 int pos = 0; in hclge_dbg_dump_tc() local 743 int pos = 0; in __hclge_dbg_dump_tm_pg() local 820 int pos = 0; in hclge_dbg_dump_tm_port() local 844 int pos = 0; in hclge_dbg_dump_tm_bp_qset_map() local 890 int pos = 0; in hclge_dbg_dump_tm_map() local 934 int pos = 0; in hclge_dbg_dump_tm_nodes() local 1120 int pos = 0; in hclge_dbg_dump_qos_pause_cfg() local [all …]
|
/openbmc/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
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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
|
/openbmc/linux/fs/ |
H A D | read_write.c | 361 loff_t pos = *ppos; in rw_verify_area() local 549 loff_t *pos) in kernel_write() 653 loff_t pos) in ksys_pread64() 673 size_t, count, loff_t, pos) in SYSCALL_DEFINE4() argument 777 loff_t *pos, rwf_t flags) in do_iter_read() 842 loff_t *pos, rwf_t flags) in do_iter_write() 1186 loff_t pos; in do_sendfile() local 1291 loff_t pos; in SYSCALL_DEFINE4() local 1310 loff_t pos; in SYSCALL_DEFINE4() local 1329 loff_t pos; in COMPAT_SYSCALL_DEFINE4() local [all …]
|
/openbmc/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
|
/openbmc/linux/drivers/pci/ |
H A D | vc.c | 26 static void pci_vc_save_restore_dwords(struct pci_dev *dev, int pos, in pci_vc_save_restore_dwords() 48 static void pci_vc_load_arb_table(struct pci_dev *dev, int pos) in pci_vc_load_arb_table() 72 static void pci_vc_load_port_arb_table(struct pci_dev *dev, int pos, int res) in pci_vc_load_port_arb_table() 103 static void pci_vc_enable(struct pci_dev *dev, int pos, int res) in pci_vc_enable() 184 static int pci_vc_do_save_buffer(struct pci_dev *dev, int pos, in pci_vc_do_save_buffer() 357 int pos, ret; in pci_save_vc_state() local 394 int pos; in pci_restore_vc_state() local 418 int len, pos = pci_find_ext_capability(dev, vc_caps[i].id); in pci_allocate_vc_save_buffers() local
|
/openbmc/linux/net/core/ |
H A D | net-procfs.c | 15 static inline struct net_device *dev_from_same_bucket(struct seq_file *seq, loff_t *pos) in dev_from_same_bucket() 31 static inline struct net_device *dev_from_bucket(struct seq_file *seq, loff_t *pos) in dev_from_bucket() 52 static void *dev_seq_start(struct seq_file *seq, loff_t *pos) in dev_seq_start() 65 static void *dev_seq_next(struct seq_file *seq, void *v, loff_t *pos) in dev_seq_next() 128 static struct softnet_data *softnet_get_online(loff_t *pos) in softnet_get_online() 141 static void *softnet_seq_start(struct seq_file *seq, loff_t *pos) in softnet_seq_start() 146 static void *softnet_seq_next(struct seq_file *seq, void *v, loff_t *pos) in softnet_seq_next() 203 static void *ptype_get_idx(struct seq_file *seq, loff_t pos) in ptype_get_idx() 236 static void *ptype_seq_start(struct seq_file *seq, loff_t *pos) in ptype_seq_start() 243 static void *ptype_seq_next(struct seq_file *seq, void *v, loff_t *pos) in ptype_seq_next()
|
/openbmc/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
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_nameval.c | 35 int pos = 0; in nval_find() local 59 int pos = 0; in nval_used() local 75 int pos = nval_find(xb, xb_size, name, NULL); in nval_del() local 92 int pos; in nval_set() local 132 int pos = nval_find(xb, xb_size, name, NULL); in nval_get() local 169 int pos = 0; in nval_list() local
|
/openbmc/u-boot/drivers/mtd/nand/ |
H A D | core.c | 24 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isbad() 63 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_markbad() 104 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isreserved() 128 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
|
/openbmc/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()
|
/openbmc/linux/scripts/dtc/ |
H A D | srcpos.c | 232 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update() 254 srcpos_copy(struct srcpos *pos) in srcpos_copy() 274 struct srcpos *srcpos_extend(struct srcpos *pos, struct srcpos *newtail) in srcpos_extend() 287 srcpos_string(struct srcpos *pos) in srcpos_string() 312 srcpos_string_comment(struct srcpos *pos, bool first_line, int level) in srcpos_string_comment() 363 char *srcpos_string_first(struct srcpos *pos, int level) in srcpos_string_first() 368 char *srcpos_string_last(struct srcpos *pos, int level) in srcpos_string_last() 373 void srcpos_verror(struct srcpos *pos, const char *prefix, in srcpos_verror() 387 void srcpos_error(struct srcpos *pos, const char *prefix, in srcpos_error()
|
/openbmc/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
|
/openbmc/qemu/hw/xen/ |
H A D | xen-host-pci-device.c | 276 int pos, void *buf, int len) in xen_host_pci_config_read() 290 int pos, const void *buf, int len) in xen_host_pci_config_write() 304 int xen_host_pci_get_byte(XenHostPCIDevice *d, int pos, uint8_t *p) in xen_host_pci_get_byte() 314 int xen_host_pci_get_word(XenHostPCIDevice *d, int pos, uint16_t *p) in xen_host_pci_get_word() 324 int xen_host_pci_get_long(XenHostPCIDevice *d, int pos, uint32_t *p) in xen_host_pci_get_long() 334 int xen_host_pci_get_block(XenHostPCIDevice *d, int pos, uint8_t *buf, int len) in xen_host_pci_get_block() 339 int xen_host_pci_set_byte(XenHostPCIDevice *d, int pos, uint8_t data) in xen_host_pci_set_byte() 344 int xen_host_pci_set_word(XenHostPCIDevice *d, int pos, uint16_t data) in xen_host_pci_set_word() 350 int xen_host_pci_set_long(XenHostPCIDevice *d, int pos, uint32_t data) in xen_host_pci_set_long() 356 int xen_host_pci_set_block(XenHostPCIDevice *d, int pos, uint8_t *buf, int len) in xen_host_pci_set_block() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_debugfs.c | 193 size_t size, loff_t *pos) in amdgpu_debugfs_regs_read() 202 size_t size, loff_t *pos) in amdgpu_debugfs_regs_write() 519 size_t size, loff_t *pos) in amdgpu_debugfs_regs_pcie_read() 575 size_t size, loff_t *pos) in amdgpu_debugfs_regs_pcie_write() 632 size_t size, loff_t *pos) in amdgpu_debugfs_regs_didt_read() 691 size_t size, loff_t *pos) in amdgpu_debugfs_regs_didt_write() 751 size_t size, loff_t *pos) in amdgpu_debugfs_regs_smc_read() 872 size_t size, loff_t *pos) in amdgpu_debugfs_gca_config_read() 968 size_t size, loff_t *pos) in amdgpu_debugfs_sensor_read() 1049 size_t size, loff_t *pos) in amdgpu_debugfs_wave_read() [all …]
|
/openbmc/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
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_console.c | 27 u16 *pos = *buf; in mac() local 57 u16 *pos = *buf; in pointer() local 80 u16 *pos = *buf; in uint2dec() local 121 u16 *pos = *buf; in int2dec() local 145 u16 *pos = buf; in efi_st_printc() local
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_config.c | 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() 308 static int vfio_virt_config_read(struct vfio_pci_core_device *vdev, int pos, in vfio_virt_config_read() 545 int i = 0, pos = PCI_BASE_ADDRESS_0, ret; in vfio_need_bar_restore() local 715 static int vfio_pm_config_write(struct vfio_pci_core_device *vdev, int pos, in vfio_pm_config_write() 1113 static int vfio_find_cap_start(struct vfio_pci_core_device *vdev, int pos) in vfio_find_cap_start() 1230 static int vfio_msi_cap_len(struct vfio_pci_core_device *vdev, u8 pos) in vfio_msi_cap_len() 1263 static int vfio_vc_cap_len(struct vfio_pci_core_device *vdev, u16 pos) in vfio_vc_cap_len() 1521 u8 pos, *prev, cap; in vfio_cap_init() local 1851 loff_t pos) in vfio_pci_cap_remaining_dword() [all …]
|