/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 | 15 void osdmap_info(const struct ceph_osdmap *map, const char *fmt, ...) in osdmap_info() 71 static int crush_decode_uniform_bucket(void **p, void *end, in crush_decode_uniform_bucket() 82 static int crush_decode_list_bucket(void **p, void *end, in crush_decode_list_bucket() 103 static int crush_decode_tree_bucket(void **p, void *end, in crush_decode_tree_bucket() 120 static int crush_decode_straw_bucket(void **p, void *end, in crush_decode_straw_bucket() 141 static int crush_decode_straw2_bucket(void **p, void *end, in crush_decode_straw2_bucket() 277 static u32 *decode_array_32_alloc(void **p, void *end, u32 *plen) in decode_array_32_alloc() 311 static int decode_choose_arg(void **p, void *end, struct crush_choose_arg *arg) in decode_choose_arg() 350 static int decode_choose_args(void **p, void *end, struct crush_map *c) in decode_choose_args() 436 void **p = &pbyval; in crush_decode() local [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 | 228 static void qht_map_debug__all_locked(struct qht_map *map) in qht_map_debug__all_locked() 243 static inline void qht_map_debug__all_locked(struct qht_map *map) in qht_map_debug__all_locked() 257 static inline void qht_do_if_first_in_stripe(struct qht_map *map, in qht_do_if_first_in_stripe() 273 static inline void qht_bucket_lock_do(struct qht_map *map, in qht_bucket_lock_do() 286 static inline void qht_bucket_lock(struct qht_map *map, in qht_bucket_lock() 292 static inline void qht_bucket_unlock(struct qht_map *map, in qht_bucket_unlock() 298 static inline void qht_head_init(struct qht_map *map, struct qht_bucket *b) in qht_head_init() 306 struct qht_bucket *qht_map_to_bucket(const struct qht_map *map, uint32_t hash) in qht_map_to_bucket() 312 static void qht_map_lock_buckets(struct qht_map *map) in qht_map_lock_buckets() 323 static void qht_map_unlock_buckets(struct qht_map *map) in qht_map_unlock_buckets() [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 67 static void regmap_debugfs_free_dump_cache(struct regmap *map) in regmap_debugfs_free_dump_cache() 80 static bool regmap_printable(struct regmap *map, unsigned int reg) in regmap_printable() 95 static unsigned int regmap_debugfs_get_dump_start(struct regmap *map, in regmap_debugfs_get_dump_start() 101 loff_t p = 0; in regmap_debugfs_get_dump_start() local 181 static inline void regmap_calc_tot_len(struct regmap *map, in regmap_calc_tot_len() 193 static int regmap_next_readable_reg(struct regmap *map, int reg) in regmap_next_readable_reg() 215 static ssize_t regmap_read_debugfs(struct regmap *map, unsigned int from, in regmap_read_debugfs() 220 loff_t p = *ppos; in regmap_read_debugfs() 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() 77 static unsigned long nubus_get_rom(unsigned char **ptr, int len, int map) in nubus_get_rom() 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 [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 | 28 MemoryMapping *p; in memory_mapping_list_add_mapping_sorted() local 55 static inline bool mapping_contiguous(MemoryMapping *map, in mapping_contiguous() 67 static inline bool mapping_have_same_region(MemoryMapping *map, in mapping_have_same_region() 80 static inline bool mapping_conflict(MemoryMapping *map, in mapping_conflict() 92 static inline void mapping_merge(MemoryMapping *map, in mapping_merge() 157 MemoryMapping *p, *q; in memory_mapping_list_free() local 177 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 487 struct rpcbind_args *map = msg->rpc_argp; in rpcb_register_inet4() local 513 struct rpcbind_args *map = msg->rpc_argp; in rpcb_register_inet6() local 534 struct rpcbind_args *map = msg->rpc_argp; in rpcb_unregister_all_protofamilies() local 591 struct rpcbind_args map = { in rpcb_v4_register() local 621 struct rpcbind_args *map, const struct rpc_procinfo *proc) in rpcb_call_async() 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 [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 368 int rds_cong_wait(struct rds_cong_map *map, __be16 port, int nonblock, in rds_cong_wait() [all …]
|
/openbmc/linux/drivers/pnp/pnpbios/ |
H A D | rsparser.c | 80 static unsigned char *pnpbios_parse_allocated_resource_data(struct pnp_dev *dev, in pnpbios_parse_allocated_resource_data() 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() 317 pnpbios_parse_resource_option_data(unsigned char *p, unsigned char *end, in pnpbios_parse_resource_option_data() [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 …]
|