Home
last modified time | relevance | path

Searched refs:cache_data (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/mtd/
H A Dmtdblock.c28 unsigned char *cache_data; member
91 mtdblk->cache_size, mtdblk->cache_data); in write_cached_data()
155 &retlen, mtdblk->cache_data); in do_cached_write()
167 memcpy (mtdblk->cache_data + offset, buf, size); in do_cached_write()
213 memcpy (buf, mtdblk->cache_data + offset, size); in do_cached_read()
241 if (unlikely(!mtdblk->cache_data && mtdblk->cache_size)) { in mtdblock_writesect()
242 mtdblk->cache_data = vmalloc(mtdblk->mbd.mtd->erasesize); in mtdblock_writesect()
243 if (!mtdblk->cache_data) in mtdblock_writesect()
274 mtdblk->cache_data = NULL; in mtdblock_open()
299 vfree(mtdblk->cache_data); in mtdblock_release()
H A Dsm_ftl.c913 memcpy(ftl->cache_data + boffset, buffer, SM_SECTOR_SIZE); in sm_cache_put()
925 memcpy(buffer, ftl->cache_data + boffset, SM_SECTOR_SIZE); in sm_cache_get()
956 ftl->cache_data + sector_num * SM_SECTOR_SIZE, NULL)) in sm_cache_flush()
977 if (sm_write_block(ftl, ftl->cache_data, zone_num, write_sector, in sm_cache_flush()
1166 ftl->cache_data = kzalloc(ftl->block_size, GFP_KERNEL); in sm_add_mtd()
1168 if (!ftl->cache_data) in sm_add_mtd()
1218 kfree(ftl->cache_data); in sm_add_mtd()
1250 kfree(ftl->cache_data); in sm_remove_dev()
H A Dsm_ftl.h47 unsigned char *cache_data; /* cached block data */ member
/openbmc/qemu/hw/misc/
H A Darm_l2x0.c67 uint32_t cache_data; in l2x0_priv_read() local
78 cache_data = (s->aux_ctrl & (7 << 17)) >> 15; in l2x0_priv_read()
79 cache_data |= (s->aux_ctrl & (1 << 16)) >> 16; in l2x0_priv_read()
80 return s->cache_type |= (cache_data << 18) | (cache_data << 6); in l2x0_priv_read()
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/
H A Dldconfig.patch87 /* 1 if cache_data + PTR points into the cache. */
117 - cmpres = _dl_cache_libcmp (name, cache_data + key); \
135 - || _dl_cache_libcmp (name, cache_data + key) != 0) \
151 - || (_dl_cache_libcmp (name, cache_data + lib->key) \
162 - best = cache_data + lib->value; \
205 - const char *cache_data;
269 - cache_data = (const char *) cache_new;
272 - cache_data_size = (const char *) cache + cachesize - cache_data;
297 - cache_data = (const char *) &cache->libs[cache->nlibs];
300 - cache_data_size = (const char *) cache + cachesize - cache_data;
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.c3294 struct ice_phy_cache_mode_data cache_data, in ice_cache_phy_user_req() argument
3302 pi->phy.curr_user_fc_req = cache_data.data.curr_user_fc_req; in ice_cache_phy_user_req()
3306 cache_data.data.curr_user_speed_req; in ice_cache_phy_user_req()
3309 pi->phy.curr_user_fec_req = cache_data.data.curr_user_fec_req; in ice_cache_phy_user_req()
3373 struct ice_phy_cache_mode_data cache_data; in ice_cfg_phy_fc() local
3402 cache_data.data.curr_user_fc_req = req_mode; in ice_cfg_phy_fc()
3403 ice_cache_phy_user_req(pi, cache_data, ICE_FC_MODE); in ice_cfg_phy_fc()