Searched refs:cache_data (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/mtd/ |
D | mtdblock.c | 28 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()
|
D | sm_ftl.c | 913 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()
|
D | sm_ftl.h | 47 unsigned char *cache_data; /* cached block data */ member
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_common.c | 3477 struct ice_phy_cache_mode_data cache_data, in ice_cache_phy_user_req() argument 3485 pi->phy.curr_user_fc_req = cache_data.data.curr_user_fc_req; in ice_cache_phy_user_req() 3489 cache_data.data.curr_user_speed_req; in ice_cache_phy_user_req() 3492 pi->phy.curr_user_fec_req = cache_data.data.curr_user_fec_req; in ice_cache_phy_user_req() 3556 struct ice_phy_cache_mode_data cache_data; in ice_cfg_phy_fc() local 3585 cache_data.data.curr_user_fc_req = req_mode; in ice_cfg_phy_fc() 3586 ice_cache_phy_user_req(pi, cache_data, ICE_FC_MODE); in ice_cfg_phy_fc()
|