| /OK3568_Linux_fs/kernel/net/rds/ |
| H A D | cong.c | 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() 402 struct rds_cong_map *map; in rds_cong_exit() local [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | mmap.c | 39 size_t mmap__mmap_len(struct mmap *map) in mmap__mmap_len() 71 static int perf_mmap__aio_enabled(struct mmap *map) in perf_mmap__aio_enabled() 77 static int perf_mmap__aio_alloc(struct mmap *map, int idx) in perf_mmap__aio_alloc() 89 static void perf_mmap__aio_free(struct mmap *map, int idx) in perf_mmap__aio_free() 97 static int perf_mmap__aio_bind(struct mmap *map, int idx, int cpu, int affinity) in perf_mmap__aio_bind() 126 static int perf_mmap__aio_alloc(struct mmap *map, int idx) in perf_mmap__aio_alloc() 135 static void perf_mmap__aio_free(struct mmap *map, int idx) in perf_mmap__aio_free() 147 static int perf_mmap__aio_mmap(struct mmap *map, struct mmap_params *mp) in perf_mmap__aio_mmap() 201 static void perf_mmap__aio_munmap(struct mmap *map) in perf_mmap__aio_munmap() 229 void mmap__munmap(struct mmap *map) in mmap__munmap() [all …]
|
| /OK3568_Linux_fs/kernel/net/xdp/ |
| H A D | xskmap.c | 14 int xsk_map_inc(struct xsk_map *map) in xsk_map_inc() 20 void xsk_map_put(struct xsk_map *map) in xsk_map_put() 25 static struct xsk_map_node *xsk_map_node_alloc(struct xsk_map *map, in xsk_map_node_alloc() 109 static void xsk_map_free(struct bpf_map *map) in xsk_map_free() 118 static int xsk_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in xsk_map_get_next_key() 135 static int xsk_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in xsk_map_gen_lookup() 151 static void *xsk_map_lookup_elem(struct bpf_map *map, void *key) in xsk_map_lookup_elem() 157 static void *xsk_map_lookup_elem_sys_only(struct bpf_map *map, void *key) in xsk_map_lookup_elem_sys_only() 162 static int xsk_map_update_elem(struct bpf_map *map, void *key, void *value, in xsk_map_update_elem() 222 static int xsk_map_delete_elem(struct bpf_map *map, void *key) in xsk_map_delete_elem() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/chips/ |
| H A D | cfi_cmdset_0001.c | 172 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() local 212 struct map_info *map = mtd->priv; in fixup_at49bv640dx_lock() local 224 struct map_info *map = mtd->priv; in fixup_intel_strataflash() local 237 struct map_info *map = mtd->priv; in fixup_no_write_suspend() local 250 struct map_info *map = mtd->priv; in fixup_st_m28w320ct() local 259 struct map_info *map = mtd->priv; in fixup_st_m28w320cb() local 279 struct map_info *map = mtd->priv; in fixup_LH28F640BF() local 299 struct map_info *map = mtd->priv; in fixup_use_point() local 308 struct map_info *map = mtd->priv; in fixup_use_write_buffers() local 322 struct map_info *map = mtd->priv; in fixup_unlock_powerup_lock() local [all …]
|
| H A D | cfi_probe.c | 38 #define xip_allowed(base, map) \ argument 45 #define xip_enable(base, map, cfi) \ argument 51 #define xip_disable_qry(base, map, cfi) \ argument 60 #define xip_allowed(base, map) do { } while (0) argument 61 #define xip_enable(base, map, cfi) do { } while (0) argument 62 #define xip_disable_qry(base, map, cfi) do { } while (0) argument 95 static int __xipram cfi_probe_chip(struct map_info *map, __u32 base, in cfi_probe_chip() 194 static int __xipram cfi_chip_setup(struct map_info *map, in cfi_chip_setup() 431 struct mtd_info *cfi_probe(struct map_info *map) in cfi_probe()
|
| H A D | cfi_cmdset_0020.c | 113 struct mtd_info *cfi_cmdset_0020(struct map_info *map, int primary) in cfi_cmdset_0020() 166 static struct mtd_info *cfi_staa_setup(struct map_info *map) in cfi_staa_setup() 248 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip() 385 struct map_info *map = mtd->priv; in cfi_staa_read() local 420 static int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer() 609 struct map_info *map = mtd->priv; in cfi_staa_write_buffers() local 732 static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_erase_oneblock() 892 { struct map_info *map = mtd->priv; in cfi_staa_erase_varsize() local 974 struct map_info *map = mtd->priv; in cfi_staa_sync() local 1031 static inline int do_lock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_lock_oneblock() [all …]
|
| H A D | cfi_util.c | 41 struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd_addr() 67 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd() 133 unsigned long cfi_merge_status(map_word val, struct map_info *map, in cfi_merge_status() 204 struct map_info *map, struct cfi_private *cfi, in cfi_send_gen_cmd() 220 int __xipram cfi_qry_present(struct map_info *map, __u32 base, in cfi_qry_present() 248 int __xipram cfi_qry_mode_on(uint32_t base, struct map_info *map, in cfi_qry_mode_on() 286 void __xipram cfi_qry_mode_off(uint32_t base, struct map_info *map, in cfi_qry_mode_off() 299 __xipram cfi_read_pri(struct map_info *map, __u16 adr, __u16 size, const char* name) in cfi_read_pri() 344 struct map_info *map = mtd->priv; in cfi_fixup() local 361 struct map_info *map = mtd->priv; in cfi_varsize_frob() local
|
| /OK3568_Linux_fs/kernel/net/netfilter/ipset/ |
| H A D | ip_set_bitmap_gen.h | 33 #define get_ext(set, map, id) ((map)->extensions + ((set)->dsize * (id))) argument 38 struct mtype *map = set->data; in mtype_gc_init() local 47 struct mtype *map = set->data; in mtype_ext_cleanup() local 58 struct mtype *map = set->data; in mtype_destroy() local 74 struct mtype *map = set->data; in mtype_flush() local 85 mtype_memsize(const struct mtype *map, size_t dsize) in mtype_memsize() 94 const struct mtype *map = set->data; in mtype_head() local 119 struct mtype *map = set->data; in mtype_test() local 133 struct mtype *map = set->data; in mtype_add() local 178 struct mtype *map = set->data; in mtype_del() local [all …]
|
| H A D | ip_set_list_set.c | 53 struct list_set *map = set->data; in list_set_ktest() local 78 struct list_set *map = set->data; in list_set_kadd() local 98 struct list_set *map = set->data; in list_set_kdel() local 155 struct list_set *map = set->data; in list_set_del() local 166 struct list_set *map = set->data; in list_set_replace() local 176 struct list_set *map = set->data; in set_cleanup_entries() local 188 struct list_set *map = set->data; in list_set_utest() local 235 struct list_set *map = set->data; in list_set_uadd() local 317 struct list_set *map = set->data; in list_set_udel() local 349 struct list_set *map = set->data; in list_set_uadt() local [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/core/ |
| H A D | regmap.c | 23 struct regmap *map; in regmap_alloc_count() local 47 struct regmap *map; in regmap_init_mem_platdata() local 67 struct regmap *map; in regmap_init_mem() local 111 void *regmap_get_range(struct regmap *map, unsigned int range_num) in regmap_get_range() 122 int regmap_uninit(struct regmap *map) in regmap_uninit() 131 int regmap_read(struct regmap *map, uint offset, uint *valp) in regmap_read() 140 int regmap_write(struct regmap *map, uint offset, uint val) in regmap_write() 149 int regmap_update_bits(struct regmap *map, uint offset, uint mask, uint val) in regmap_update_bits()
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | mpspec.h | 89 #define physid_set(physid, map) set_bit(physid, (map).mask) argument 90 #define physid_clear(physid, map) clear_bit(physid, (map).mask) argument 91 #define physid_isset(physid, map) test_bit(physid, (map).mask) argument 92 #define physid_test_and_set(physid, map) \ argument 101 #define physids_clear(map) \ argument 107 #define physids_empty(map) \ argument 113 #define physids_weight(map) \ argument 122 static inline unsigned long physids_coerce(physid_mask_t *map) in physids_coerce() 127 static inline void physids_promote(unsigned long physids, physid_mask_t *map) in physids_promote() 133 static inline void physid_set_mask_of_physid(int physid, physid_mask_t *map) in physid_set_mask_of_physid()
|
| /OK3568_Linux_fs/kernel/tools/lib/perf/ |
| H A D | threadmap.c | 10 static void perf_thread_map__reset(struct perf_thread_map *map, int start, int nr) in perf_thread_map__reset() 18 struct perf_thread_map *perf_thread_map__realloc(struct perf_thread_map *map, int nr) in perf_thread_map__realloc() 35 void perf_thread_map__set_pid(struct perf_thread_map *map, int thread, pid_t pid) in perf_thread_map__set_pid() 40 char *perf_thread_map__comm(struct perf_thread_map *map, int thread) in perf_thread_map__comm() 70 struct perf_thread_map *perf_thread_map__get(struct perf_thread_map *map) in perf_thread_map__get() 77 void perf_thread_map__put(struct perf_thread_map *map) in perf_thread_map__put() 88 pid_t perf_thread_map__pid(struct perf_thread_map *map, int thread) in perf_thread_map__pid()
|
| /OK3568_Linux_fs/kernel/drivers/base/regmap/ |
| H A D | regcache-rbtree.c | 40 struct regmap *map, in regcache_rbtree_get_base_top_reg() 48 static unsigned int regcache_rbtree_get_register(struct regmap *map, in regcache_rbtree_get_register() 54 static void regcache_rbtree_set_register(struct regmap *map, in regcache_rbtree_set_register() 62 static struct regcache_rbtree_node *regcache_rbtree_lookup(struct regmap *map, in regcache_rbtree_lookup() 96 static int regcache_rbtree_insert(struct regmap *map, struct rb_root *root, in regcache_rbtree_insert() 134 struct regmap *map = s->private; in rbtree_show() local 178 static void rbtree_debugfs_init(struct regmap *map) in rbtree_debugfs_init() 184 static int regcache_rbtree_init(struct regmap *map) in regcache_rbtree_init() 213 static int regcache_rbtree_exit(struct regmap *map) in regcache_rbtree_exit() 242 static int regcache_rbtree_read(struct regmap *map, in regcache_rbtree_read() [all …]
|
| H A D | regcache-lzo.c | 29 static int regcache_lzo_block_count(struct regmap *map) in regcache_lzo_block_count() 68 static int regcache_lzo_compress_cache_block(struct regmap *map, in regcache_lzo_compress_cache_block() 86 static int regcache_lzo_decompress_cache_block(struct regmap *map, in regcache_lzo_decompress_cache_block() 104 static inline int regcache_lzo_get_blkindex(struct regmap *map, in regcache_lzo_get_blkindex() 112 static inline int regcache_lzo_get_blkpos(struct regmap *map, in regcache_lzo_get_blkpos() 121 static inline int regcache_lzo_get_blksize(struct regmap *map) in regcache_lzo_get_blksize() 127 static int regcache_lzo_init(struct regmap *map) in regcache_lzo_init() 198 static int regcache_lzo_exit(struct regmap *map) in regcache_lzo_exit() 228 static int regcache_lzo_read(struct regmap *map, in regcache_lzo_read() 265 static int regcache_lzo_write(struct regmap *map, in regcache_lzo_write() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/xen/ |
| H A D | gntdev.c | 83 struct gntdev_grant_map *map; in gntdev_print_maps() local 93 static void gntdev_free_map(struct gntdev_grant_map *map) in gntdev_free_map() 211 struct gntdev_grant_map *map; in gntdev_add_map() local 229 struct gntdev_grant_map *map; in gntdev_find_map_index() local 241 void gntdev_put_map(struct gntdev_priv *priv, struct gntdev_grant_map *map) in gntdev_put_map() 293 struct gntdev_grant_map *map = data; in find_grant_ptes() local 310 int gntdev_map_grant_pages(struct gntdev_grant_map *map) in gntdev_map_grant_pages() 386 struct gntdev_grant_map *map = data->data; in __unmap_grant_pages_done() local 429 static void __unmap_grant_pages(struct gntdev_grant_map *map, int offset, in __unmap_grant_pages() 455 static void unmap_grant_pages(struct gntdev_grant_map *map, int offset, in unmap_grant_pages() [all …]
|
| H A D | pvcalls-front.c | 101 struct sock_mapping *map; in pvcalls_enter_sock() local 118 struct sock_mapping *map; in pvcalls_exit_sock() local 134 static bool pvcalls_front_write_todo(struct sock_mapping *map) in pvcalls_front_write_todo() 151 static bool pvcalls_front_read_todo(struct sock_mapping *map) in pvcalls_front_read_todo() 189 struct sock_mapping *map = (struct sock_mapping *)(uintptr_t) in pvcalls_front_event_handler() local 229 struct sock_mapping *map) in pvcalls_front_free_map() 250 struct sock_mapping *map = sock_map; in pvcalls_front_conn_handler() local 263 struct sock_mapping *map = NULL; in pvcalls_front_socket() local 335 static void free_active_ring(struct sock_mapping *map) in free_active_ring() 345 static int alloc_active_ring(struct sock_mapping *map) in alloc_active_ring() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | hashtab.c | 90 struct bpf_map map; member 195 static void *fd_htab_map_get_ptr(const struct bpf_map *map, struct htab_elem *l) in fd_htab_map_get_ptr() 574 static void *__htab_map_lookup_elem(struct bpf_map *map, void *key) in __htab_map_lookup_elem() 594 static void *htab_map_lookup_elem(struct bpf_map *map, void *key) in htab_map_lookup_elem() 615 static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in htab_map_gen_lookup() 630 static __always_inline void *__htab_lru_map_lookup_elem(struct bpf_map *map, in __htab_lru_map_lookup_elem() 644 static void *htab_lru_map_lookup_elem(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem() 649 static void *htab_lru_map_lookup_elem_sys(struct bpf_map *map, void *key) in htab_lru_map_lookup_elem_sys() 654 static int htab_lru_map_gen_lookup(struct bpf_map *map, in htab_lru_map_gen_lookup() 709 static int htab_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in htab_map_get_next_key() [all …]
|
| H A D | bpf_inode_storage.c | 36 struct bpf_map *map, in inode_storage_lookup() 103 static void *bpf_fd_inode_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_fd_inode_storage_lookup_elem() 119 static int bpf_fd_inode_storage_update_elem(struct bpf_map *map, void *key, in bpf_fd_inode_storage_update_elem() 142 static int inode_storage_delete(struct inode *inode, struct bpf_map *map) in inode_storage_delete() 155 static int bpf_fd_inode_storage_delete_elem(struct bpf_map *map, void *key) in bpf_fd_inode_storage_delete_elem() 170 BPF_CALL_4(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_4() argument 205 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2() argument 216 static int notsupp_get_next_key(struct bpf_map *map, void *key, in notsupp_get_next_key() 234 static void inode_storage_map_free(struct bpf_map *map) in inode_storage_map_free()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | sock_map.c | 18 struct bpf_map map; member 70 struct bpf_map *map; in sock_map_get_from_fd() local 90 struct bpf_map *map; in sock_map_prog_detach() local 139 struct bpf_map *map, void *link_raw) in sock_map_add_link() 157 struct bpf_map *map = link->map; in sock_map_del_link() local 233 static int sock_map_link(struct bpf_map *map, struct sk_psock_progs *progs, in sock_map_link() 324 static int sock_map_link_no_progs(struct bpf_map *map, struct sock *sk) in sock_map_link_no_progs() 345 static void sock_map_free(struct bpf_map *map) in sock_map_free() 376 static void sock_map_release_progs(struct bpf_map *map) in sock_map_release_progs() 381 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A D | tracing_map.c | 202 static int tracing_map_add_field(struct tracing_map *map, in tracing_map_add_field() 227 int tracing_map_add_sum_field(struct tracing_map *map) in tracing_map_add_sum_field() 244 int tracing_map_add_var(struct tracing_map *map) in tracing_map_add_var() 270 int tracing_map_add_key_field(struct tracing_map *map, in tracing_map_add_key_field() 403 static struct tracing_map_elt *tracing_map_elt_alloc(struct tracing_map *map) in tracing_map_elt_alloc() 452 static struct tracing_map_elt *get_free_elt(struct tracing_map *map) in get_free_elt() 467 static void tracing_map_free_elts(struct tracing_map *map) in tracing_map_free_elts() 483 static int tracing_map_alloc_elts(struct tracing_map *map) in tracing_map_alloc_elts() 516 __tracing_map_insert(struct tracing_map *map, void *key, bool lookup_only) in __tracing_map_insert() 634 struct tracing_map_elt *tracing_map_insert(struct tracing_map *map, void *key) in tracing_map_insert() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/mtd/ |
| H A D | cfi_endian.h | 27 #define cpu_to_cfi8(map, x) (x) argument 28 #define cfi8_to_cpu(map, x) (x) argument 29 #define cpu_to_cfi16(map, x) _cpu_to_cfi(16, (map)->swap, (x)) argument 30 #define cpu_to_cfi32(map, x) _cpu_to_cfi(32, (map)->swap, (x)) argument 31 #define cpu_to_cfi64(map, x) _cpu_to_cfi(64, (map)->swap, (x)) argument 32 #define cfi16_to_cpu(map, x) _cfi_to_cpu(16, (map)->swap, (x)) argument 33 #define cfi32_to_cpu(map, x) _cfi_to_cpu(32, (map)->swap, (x)) argument 34 #define cfi64_to_cpu(map, x) _cfi_to_cpu(64, (map)->swap, (x)) argument
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/ |
| H A D | heartbeat.c | 36 static void ocfs2_node_map_init(struct ocfs2_node_map *map) in ocfs2_node_map_init() 70 static inline void __ocfs2_node_map_set_bit(struct ocfs2_node_map *map, in __ocfs2_node_map_set_bit() 77 struct ocfs2_node_map *map, in ocfs2_node_map_set_bit() 88 static inline void __ocfs2_node_map_clear_bit(struct ocfs2_node_map *map, in __ocfs2_node_map_clear_bit() 95 struct ocfs2_node_map *map, in ocfs2_node_map_clear_bit() 107 struct ocfs2_node_map *map, in ocfs2_node_map_test_bit()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/cell/ |
| H A D | cbe_regs.c | 84 struct cbe_regs_map *map = cbe_find_map(np); in cbe_get_pmd_regs() local 93 struct cbe_regs_map *map = cbe_thread_map[cpu].regs; in cbe_get_cpu_pmd_regs() local 102 struct cbe_regs_map *map = cbe_find_map(np); in cbe_get_pmd_shadow_regs() local 110 struct cbe_regs_map *map = cbe_thread_map[cpu].regs; in cbe_get_cpu_pmd_shadow_regs() local 118 struct cbe_regs_map *map = cbe_find_map(np); in cbe_get_iic_regs() local 126 struct cbe_regs_map *map = cbe_thread_map[cpu].regs; in cbe_get_cpu_iic_regs() local 134 struct cbe_regs_map *map = cbe_find_map(np); in cbe_get_mic_tm_regs() local 142 struct cbe_regs_map *map = cbe_thread_map[cpu].regs; in cbe_get_cpu_mic_tm_regs() local 193 static void __init cbe_fill_regs_map(struct cbe_regs_map *map) in cbe_fill_regs_map() 251 struct cbe_regs_map *map; in cbe_regs_init() local
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/ |
| H A D | json.c | 48 char *map = NULL; in mapfile() local 73 static void unmapfile(char *map, size_t size) in unmapfile() 83 jsmntok_t *parse_json(const char *fn, char **map, size_t *size, int *len) in parse_json() 115 void free_json(char *map, size_t size, jsmntok_t *tokens) in free_json() 121 static int countchar(char *map, char c, int end) in countchar() 132 int json_line(char *map, jsmntok_t *t) in json_line() 158 int json_streq(char *map, jsmntok_t *t, const char *s) in json_streq()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/common/ |
| H A D | ump_kernel_descriptor_mapping.c | 34 ump_descriptor_mapping *map = _mali_osk_calloc(1, sizeof(ump_descriptor_mapping)); in ump_descriptor_mapping_create() local 56 void ump_descriptor_mapping_destroy(ump_descriptor_mapping *map) in ump_descriptor_mapping_destroy() 63 int ump_descriptor_mapping_allocate_mapping(ump_descriptor_mapping *map, void *target) in ump_descriptor_mapping_allocate_mapping() 102 int ump_descriptor_mapping_get(ump_descriptor_mapping *map, int descriptor, void **target) in ump_descriptor_mapping_get() 115 int ump_descriptor_mapping_set(ump_descriptor_mapping *map, int descriptor, void *target) in ump_descriptor_mapping_set() 127 void ump_descriptor_mapping_free(ump_descriptor_mapping *map, int descriptor) in ump_descriptor_mapping_free()
|