/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | cb_refs.c | 18 static __noinline int cb1(void *map, void *key, void *value, void *ctx) in cb1() 20 void *p = *(void **)ctx; in cb1() local 29 struct prog_test_ref_kfunc *p; in underflow_prog() local 40 static __always_inline int cb2(void *map, void *key, void *value, void *ctx) in cb2() 52 struct prog_test_ref_kfunc *p; in leak_prog() local 67 static __always_inline int cb(void *map, void *key, void *value, void *ctx) in cb() 72 static __always_inline int cb3(void *map, void *key, void *value, void *ctx) in cb3() 75 void *p; in cb3() local 88 struct prog_test_ref_kfunc *p; in nested_cb() local 103 struct prog_test_ref_kfunc *p; in non_cb_transfer_ref() local
|
H A D | map_kptr.c | 122 struct prog_test_ref_kfunc *p; in test_kptr_unref() local 139 struct prog_test_ref_kfunc *p; in test_kptr_ref() local 197 #define TEST(map) \ in test_map_kptr() argument 269 void *map; in test_map_in_map_kptr() local 298 struct prog_test_ref_kfunc *p, *p_st; in test_map_kptr_ref_pre() local 352 struct prog_test_ref_kfunc *p, *p_st; in test_map_kptr_ref_post() local 377 #define TEST(map) \ argument 385 #define TEST_PCPU(map) \ argument 423 #define TEST(map) \ argument 431 #define TEST_PCPU(map) \ argument [all …]
|
/openbmc/linux/net/ceph/ |
H A D | osdmap.c | 952 static int decode_pool_names(void **p, void *end, struct ceph_osdmap *map) in decode_pool_names() 1339 static int __decode_pools(void **p, void *end, struct ceph_osdmap *map, in __decode_pools() 1378 static int decode_pools(void **p, void *end, struct ceph_osdmap *map) in decode_pools() 1383 static int decode_new_pools(void **p, void *end, struct ceph_osdmap *map) in decode_new_pools() 1459 static int decode_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_pg_temp() 1465 static int decode_new_pg_temp(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_temp() 1492 static int decode_primary_temp(void **p, void *end, struct ceph_osdmap *map) in decode_primary_temp() 1600 static int decode_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_pg_upmap() 1606 static int decode_new_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_new_pg_upmap() 1612 static int decode_old_pg_upmap(void **p, void *end, struct ceph_osdmap *map) in decode_old_pg_upmap() [all …]
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_bit.c | 20 xfs_bitmap_empty(uint *map, uint size) in xfs_bitmap_empty() 37 xfs_contig_bits(uint *map, uint size, uint start_bit) in xfs_contig_bits() 39 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT); in xfs_contig_bits() local 76 int xfs_next_bit(uint *map, uint size, uint start_bit) in xfs_next_bit() 78 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT); in xfs_next_bit() local
|
/openbmc/qemu/util/ |
H A D | qht.c | 354 struct qht_map *map; in qht_map_lock_buckets__no_stale() local 386 struct qht_map *map; in qht_bucket_lock__no_stale() local 442 struct qht_map *map; in qht_map_create() local 468 struct qht_map *map; in qht_init() local 519 struct qht_map *map; in qht_reset() local 569 void *p = qatomic_rcu_read(&b->pointers[i]); in qht_do_lookup() local 629 struct qht_bucket *head, void *p, uint32_t hash, in qht_insert__locked() 695 bool qht_insert(struct qht *ht, void *p, uint32_t hash, void **existing) in qht_insert() 782 bool qht_remove__locked(struct qht_bucket *head, const void *p, uint32_t hash) in qht_remove__locked() 807 bool qht_remove(struct qht *ht, const void *p, uint32_t hash) in qht_remove() [all …]
|
H A D | bitmap.c | 160 void bitmap_set(unsigned long *map, long start, long nr) in bitmap_set() 162 unsigned long *p = map + BIT_WORD(start); in bitmap_set() local 182 void bitmap_set_atomic(unsigned long *map, long start, long nr) in bitmap_set_atomic() 184 unsigned long *p = map + BIT_WORD(start); in bitmap_set_atomic() local 221 void bitmap_clear(unsigned long *map, long start, long nr) in bitmap_clear() 223 unsigned long *p = map + BIT_WORD(start); in bitmap_clear() local 243 bool bitmap_test_and_clear(unsigned long *map, long start, long nr) in bitmap_test_and_clear() 245 unsigned long *p = map + BIT_WORD(start); in bitmap_test_and_clear() local 288 bool bitmap_test_and_clear_atomic(unsigned long *map, long start, long nr) in bitmap_test_and_clear_atomic() 290 unsigned long *p = map + BIT_WORD(start); in bitmap_test_and_clear_atomic() local [all …]
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap-debugfs.c | 19 struct regmap *map; member 38 struct regmap *map = file->private_data; in regmap_name_read_file() local 101 loff_t p = 0; in regmap_debugfs_get_dump_start() local 220 loff_t p = *ppos; in regmap_read_debugfs() local 287 struct regmap *map = file->private_data; in regmap_map_read_file() local 309 struct regmap *map = file->private_data; in regmap_map_write_file() local 348 struct regmap *map = range->map; in regmap_range_read_file() local 364 struct regmap *map = file->private_data; in regmap_reg_ranges_read_file() local 366 loff_t p = 0; in regmap_reg_ranges_read_file() local 436 struct regmap *map = s->private; in regmap_access_show() local [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | devicetree.c | 26 struct pinctrl_map *map; member 31 struct pinctrl_map *map, unsigned num_maps) in dt_free_map() 50 void pinctrl_dt_free_maps(struct pinctrl *p) in pinctrl_dt_free_maps() 65 static int dt_remember_or_free_map(struct pinctrl *p, const char *statename, in dt_remember_or_free_map() 67 struct pinctrl_map *map, unsigned num_maps) in dt_remember_or_free_map() 109 static int dt_to_map_one_config(struct pinctrl *p, in dt_to_map_one_config() 118 struct pinctrl_map *map; in dt_to_map_one_config() local 182 static int dt_remember_dummy_state(struct pinctrl *p, const char *statename) in dt_remember_dummy_state() 184 struct pinctrl_map *map; in dt_remember_dummy_state() local 196 int pinctrl_dt_to_map(struct pinctrl *p, struct pinctrl_dev *pctldev) in pinctrl_dt_to_map()
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | bitmap.c | 3 void __bitmap_set(unsigned long *map, unsigned int start, int len) in __bitmap_set() 5 unsigned long *p = map + BIT_WORD(start); in __bitmap_set() local 23 void __bitmap_clear(unsigned long *map, unsigned int start, int len) in __bitmap_clear() 25 unsigned long *p = map + BIT_WORD(start); in __bitmap_clear() local
|
/openbmc/linux/arch/sh/kernel/cpu/sh4/ |
H A D | sq.c | 70 static inline void sq_mapping_list_add(struct sq_mapping *map) in sq_mapping_list_add() 72 struct sq_mapping **p, *tmp; in sq_mapping_list_add() local 86 static inline void sq_mapping_list_del(struct sq_mapping *map) in sq_mapping_list_del() 88 struct sq_mapping **p, *tmp; in sq_mapping_list_del() local 101 static int __sq_remap(struct sq_mapping *map, pgprot_t prot) in __sq_remap() 146 struct sq_mapping *map; in sq_remap() local 209 struct sq_mapping **p, *map; in sq_unmap() local 292 char *p = buf; in mapping_show() local
|
/openbmc/linux/tools/perf/util/ |
H A D | srccode.c | 30 char *map; member 40 static int countlines(char *map, int maplen) in countlines() 44 char *p = map; in countlines() local 58 static void fill_lines(char **lines, int maxline, char *map, int maplen) in fill_lines() 62 char *p = map; in fill_lines() local 158 char *l, *p; in find_sourceline() local
|
H A D | mem2node.c | 20 struct rb_node **p = &root->rb_node; in phys_entry__insert() local 47 int mem2node__init(struct mem2node *map, struct perf_env *env) in mem2node__init() 114 void mem2node__exit(struct mem2node *map) in mem2node__exit() 119 int mem2node__node(struct mem2node *map, u64 addr) in mem2node__node() 121 struct rb_node **p, *parent = NULL; in mem2node__node() local
|
H A D | maps.c | 36 static int __maps__insert(struct maps *maps, struct map *map) in __maps__insert() 38 struct rb_node **p = &maps__entries(maps)->rb_node; in __maps__insert() local 64 int maps__insert(struct maps *maps, struct map *map) in maps__insert() 120 void maps__remove(struct maps *maps, struct map *map) in maps__remove() 201 struct map *map = maps__find(maps, addr); in maps__find_symbol() local 277 int maps__fixup_overlappings(struct maps *maps, struct map *map, FILE *fp) in maps__fixup_overlappings() 419 struct map_rb_node *maps__find_node(struct maps *maps, struct map *map) in maps__find_node() 432 struct rb_node *p; in maps__find() local 557 struct map *map; in maps__find_by_name() local
|
/openbmc/linux/drivers/clk/meson/ |
H A D | parm.h | 22 #define MESON_PARM_APPLICABLE(p) (!!((p)->width)) argument 30 static inline unsigned int meson_parm_read(struct regmap *map, struct parm *p) in meson_parm_read() 38 static inline void meson_parm_write(struct regmap *map, struct parm *p, in meson_parm_write()
|
/openbmc/linux/drivers/nubus/ |
H A D | nubus.c | 67 static inline int not_useful(void *p, int map) in not_useful() 81 unsigned char *p = *ptr; in nubus_get_rom() local 94 static void nubus_rewind(unsigned char **ptr, int len, int map) in nubus_rewind() 96 unsigned char *p = *ptr; in nubus_rewind() local 107 static void nubus_advance(unsigned char **ptr, int len, int map) in nubus_advance() 109 unsigned char *p = *ptr; in nubus_advance() local 120 static void nubus_move(unsigned char **ptr, int len, int map) in nubus_move() 158 unsigned char *p = nd->base; in nubus_dirptr() local 174 unsigned char *p = nubus_dirptr(dirent); in nubus_get_rsrc_mem() local 187 unsigned char *p = nubus_dirptr(dirent); in nubus_get_rsrc_str() local [all …]
|
/openbmc/u-boot/scripts/basic/ |
H A D | fixdep.c | 220 static void parse_config_file(const char *map, size_t len) in parse_config_file() 225 const char *p, *q; in parse_config_file() local 298 void *map; in do_config_file() local 334 static void parse_dep_file(void *map, size_t len) in parse_dep_file() 338 char *p; in parse_dep_file() local 418 void *map; in print_deps() local 453 int *p = (int *)test; in traps() local
|
/openbmc/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_config.c | 83 struct map { struct 90 /* Hardware queue map for ICSSG */ argument 226 struct icssg_r30_cmd __iomem *p; in emac_r30_cmd_init() local 237 const struct icssg_r30_cmd __iomem *p; in emac_r30_is_done() local 406 struct icssg_r30_cmd __iomem *p; in emac_set_port_state() local
|
/openbmc/qemu/system/ |
H A D | memory_mapping.c | 27 MemoryMapping *p; in memory_mapping_list_add_mapping_sorted() local 54 static inline bool mapping_contiguous(MemoryMapping *map, in mapping_contiguous() 66 static inline bool mapping_have_same_region(MemoryMapping *map, in mapping_have_same_region() 79 static inline bool mapping_conflict(MemoryMapping *map, in mapping_conflict() 91 static inline void mapping_merge(MemoryMapping *map, in mapping_merge() 156 MemoryMapping *p, *q; in memory_mapping_list_free() local 176 GuestPhysBlock *p, *q; in guest_phys_blocks_free() local
|
/openbmc/linux/include/linux/ |
H A D | srcu.h | 114 static inline void srcu_lock_acquire(struct lockdep_map *map) in srcu_lock_acquire() 120 static inline void srcu_lock_release(struct lockdep_map *map) in srcu_lock_release() 126 static inline void srcu_lock_sync(struct lockdep_map *map) in srcu_lock_sync() 168 #define srcu_dereference_check(p, ssp, c) \ argument 182 #define srcu_dereference(p, ssp) srcu_dereference_check((p), (ssp), 0) argument 190 #define srcu_dereference_notrace(p, ssp) srcu_dereference_check((p), (ssp), 1) argument
|
/openbmc/linux/net/sunrpc/ |
H A D | rpcb_clnt.c | 156 struct rpcbind_args *map = data; in rpcb_map_release() local 456 struct rpcbind_args map = { in rpcb_register() local 591 struct rpcbind_args map = { in rpcb_v4_register() local 676 struct rpcbind_args *map; in rpcb_getport_async() local 797 struct rpcbind_args *map = data; in rpcb_getport_done() local 836 __be32 *p; in rpcb_enc_mapping() local 850 __be32 *p; in rpcb_dec_getport() local 870 __be32 *p; in rpcb_dec_set() local 885 __be32 *p; in encode_rpcb_string() local 901 __be32 *p; in rpcb_enc_getaddr() local [all …]
|
/openbmc/linux/net/rds/ |
H A D | cong.c | 107 struct rb_node **p = &rds_cong_tree.rb_node; in rds_cong_tree_walk() local 109 struct rds_cong_map *map; in rds_cong_tree_walk() local 140 struct rds_cong_map *map; in rds_cong_from_addr() local 217 void rds_cong_queue_updates(struct rds_cong_map *map) in rds_cong_queue_updates() 253 void rds_cong_map_updated(struct rds_cong_map *map, uint64_t portmask) in rds_cong_map_updated() 299 void rds_cong_set_bit(struct rds_cong_map *map, __be16 port) in rds_cong_set_bit() 313 void rds_cong_clear_bit(struct rds_cong_map *map, __be16 port) in rds_cong_clear_bit() 327 static int rds_cong_test_bit(struct rds_cong_map *map, __be16 port) in rds_cong_test_bit() 351 struct rds_cong_map *map; in rds_cong_remove_socket() local 402 struct rds_cong_map *map; in rds_cong_exit() local [all …]
|
/openbmc/linux/drivers/pnp/pnpbios/ |
H A D | rsparser.c | 218 unsigned char *p, int size, in pnpbios_parse_mem_option() 234 unsigned char *p, int size, in pnpbios_parse_mem32_option() 250 unsigned char *p, int size, in pnpbios_parse_fixed_mem32_option() 263 unsigned char *p, int size, in pnpbios_parse_irq_option() 267 pnp_irq_mask_t map; in pnpbios_parse_irq_option() local 282 unsigned char *p, int size, in pnpbios_parse_dma_option() 289 unsigned char *p, int size, in pnpbios_parse_port_option() 305 unsigned char *p, int size, in pnpbios_parse_fixed_port_option() 585 unsigned long map; in pnpbios_encode_irq() local 601 unsigned long map; in pnpbios_encode_dma() local [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 75 const char * const *p; in is_ignored_symbol() local 295 struct map *map = rb_node->map; in test__vmlinux_matches_kallsyms() local 320 struct map *pair, *map = rb_node->map; in test__vmlinux_matches_kallsyms() local 352 struct map *map = rb_node->map; in test__vmlinux_matches_kallsyms() local
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | physmap-gemini.c | 51 struct pinctrl *p; member 81 static map_word __xipram gemini_flash_map_read(struct map_info *map, in gemini_flash_map_read() 93 static void __xipram gemini_flash_map_write(struct map_info *map, in gemini_flash_map_write() 102 static void __xipram gemini_flash_map_copy_from(struct map_info *map, in gemini_flash_map_copy_from() 111 static void __xipram gemini_flash_map_copy_to(struct map_info *map, in gemini_flash_map_copy_to() 122 struct map_info *map) in of_flash_probe_gemini()
|
/openbmc/linux/lib/ |
H A D | genalloc.c | 85 bitmap_set_ll(unsigned long *map, unsigned long start, unsigned long nr) in bitmap_set_ll() 87 unsigned long *p = map + BIT_WORD(start); in bitmap_set_ll() local 121 bitmap_clear_ll(unsigned long *map, unsigned long start, unsigned long nr) in bitmap_clear_ll() 123 unsigned long *p = map + BIT_WORD(start); in bitmap_clear_ll() local 647 unsigned long gen_pool_first_fit(unsigned long *map, unsigned long size, in gen_pool_first_fit() 666 unsigned long gen_pool_first_fit_align(unsigned long *map, unsigned long size, in gen_pool_first_fit_align() 694 unsigned long gen_pool_fixed_alloc(unsigned long *map, unsigned long size, in gen_pool_fixed_alloc() 729 unsigned long gen_pool_first_fit_order_align(unsigned long *map, in gen_pool_first_fit_order_align() 754 unsigned long gen_pool_best_fit(unsigned long *map, unsigned long size, in gen_pool_best_fit() 787 struct gen_pool **p = res; in devm_gen_pool_match() local [all …]
|