Home
last modified time | relevance | path

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

/drivers/mtd/
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()
270 mtdblk->cache_data = NULL; in mtdblock_open()
295 vfree(mtdblk->cache_data); in mtdblock_release()
Dsm_ftl.c901 memcpy(ftl->cache_data + boffset, buffer, SM_SECTOR_SIZE); in sm_cache_put()
913 memcpy(buffer, ftl->cache_data + boffset, SM_SECTOR_SIZE); in sm_cache_get()
944 ftl->cache_data + sector_num * SM_SECTOR_SIZE, NULL)) in sm_cache_flush()
964 if (sm_write_block(ftl, ftl->cache_data, zone_num, write_sector, in sm_cache_flush()
1153 ftl->cache_data = kzalloc(ftl->block_size, GFP_KERNEL); in sm_add_mtd()
1155 if (!ftl->cache_data) in sm_add_mtd()
1205 kfree(ftl->cache_data); in sm_add_mtd()
1237 kfree(ftl->cache_data); in sm_remove_dev()
Dsm_ftl.h47 unsigned char *cache_data; /* cached block data */ member
/drivers/net/ethernet/intel/ice/
Dice_common.c2705 struct ice_phy_cache_mode_data cache_data, in ice_cache_phy_user_req() argument
2713 pi->phy.curr_user_fc_req = cache_data.data.curr_user_fc_req; in ice_cache_phy_user_req()
2717 cache_data.data.curr_user_speed_req; in ice_cache_phy_user_req()
2720 pi->phy.curr_user_fec_req = cache_data.data.curr_user_fec_req; in ice_cache_phy_user_req()
2784 struct ice_phy_cache_mode_data cache_data; in ice_cfg_phy_fc() local
2813 cache_data.data.curr_user_fc_req = req_mode; in ice_cfg_phy_fc()
2814 ice_cache_phy_user_req(pi, cache_data, ICE_FC_MODE); in ice_cfg_phy_fc()