Home
last modified time | relevance | path

Searched refs:seg_info (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/wireless/ath/ath10k/
H A Dswap.c16 struct ath10k_swap_code_seg_info *seg_info, in ath10k_swap_code_seg_fill() argument
19 u8 *virt_addr = seg_info->virt_address[0]; in ath10k_swap_code_seg_fill()
32 seg_info->target_addr = -1; in ath10k_swap_code_seg_fill()
50 seg_info->target_addr = in ath10k_swap_code_seg_fill()
63 if (seg_info->target_addr == -1) { in ath10k_swap_code_seg_fill()
67 seg_info->seg_hw_info.swap_size = __cpu_to_le32(total_payload_len); in ath10k_swap_code_seg_fill()
74 struct ath10k_swap_code_seg_info *seg_info) in ath10k_swap_code_seg_free() argument
78 if (!seg_info) in ath10k_swap_code_seg_free()
81 if (!seg_info->virt_address[0]) in ath10k_swap_code_seg_free()
84 seg_size = __le32_to_cpu(seg_info->seg_hw_info.size); in ath10k_swap_code_seg_free()
[all …]
/linux/drivers/s390/block/
H A Ddcssblk.c299 dcssblk_load_segment(char *name, struct segment_info **seg_info) in dcssblk_load_segment() argument
305 *seg_info = dcssblk_get_segment_by_name(name); in dcssblk_load_segment()
307 if (*seg_info != NULL) in dcssblk_load_segment()
311 *seg_info = kzalloc_obj(struct segment_info); in dcssblk_load_segment()
312 if (*seg_info == NULL) in dcssblk_load_segment()
315 strscpy((*seg_info)->segment_name, name); in dcssblk_load_segment()
319 &(*seg_info)->start, &(*seg_info)->end); in dcssblk_load_segment()
321 segment_warning(rc, (*seg_info)->segment_name); in dcssblk_load_segment()
322 kfree(*seg_info); in dcssblk_load_segment()
324 INIT_LIST_HEAD(&(*seg_info)->lh); in dcssblk_load_segment()
[all …]
/linux/drivers/md/dm-pcache/
H A Dcache_segment.c23 struct pcache_segment_info *seg_info = &cache_seg->cache_seg_info; in cache_seg_info_write() local
26 seg_info->header.seq++; in cache_seg_info_write()
27 seg_info->header.crc = pcache_meta_crc(&seg_info->header, sizeof(struct pcache_segment_info)); in cache_seg_info_write()
32 memcpy_flushcache(seg_info_addr, seg_info, sizeof(struct pcache_segment_info)); in cache_seg_info_write()
201 seg_options.seg_info = &cache_seg->cache_seg_info; in cache_seg_init()