/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | swap.c | 16 struct ath10k_swap_code_seg_info *seg_info, in ath10k_swap_code_seg_fill() 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() 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 in ath10k_swap_code_seg_free() 15 ath10k_swap_code_seg_fill(struct ath10k *ar, struct ath10k_swap_code_seg_info *seg_info, const void *data, size_t data_len) ath10k_swap_code_seg_fill() argument 73 ath10k_swap_code_seg_free(struct ath10k *ar, struct ath10k_swap_code_seg_info *seg_info) ath10k_swap_code_seg_free() argument 92 struct ath10k_swap_code_seg_info *seg_info; ath10k_swap_code_seg_alloc() local 128 struct ath10k_swap_code_seg_info *seg_info = NULL; ath10k_swap_code_seg_configure() local 166 struct ath10k_swap_code_seg_info *seg_info; ath10k_swap_code_seg_init() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | swap.c | 16 struct ath10k_swap_code_seg_info *seg_info, in ath10k_swap_code_seg_fill() 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() 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 in ath10k_swap_code_seg_free() 15 ath10k_swap_code_seg_fill(struct ath10k *ar, struct ath10k_swap_code_seg_info *seg_info, const void *data, size_t data_len) ath10k_swap_code_seg_fill() argument 73 ath10k_swap_code_seg_free(struct ath10k *ar, struct ath10k_swap_code_seg_info *seg_info) ath10k_swap_code_seg_free() argument 92 struct ath10k_swap_code_seg_info *seg_info; ath10k_swap_code_seg_alloc() local 128 struct ath10k_swap_code_seg_info *seg_info = NULL; ath10k_swap_code_seg_configure() local 166 struct ath10k_swap_code_seg_info *seg_info; ath10k_swap_code_seg_init() local [all...] |
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dcssblk.c | 315 dcssblk_load_segment(char *name, struct segment_info **seg_info) in dcssblk_load_segment() argument 321 *seg_info = dcssblk_get_segment_by_name(name); in dcssblk_load_segment() 323 if (*seg_info != NULL) in dcssblk_load_segment() 327 *seg_info = kzalloc(sizeof(struct segment_info), GFP_KERNEL); in dcssblk_load_segment() 328 if (*seg_info == NULL) in dcssblk_load_segment() 331 strcpy((*seg_info)->segment_name, name); in dcssblk_load_segment() 335 &(*seg_info)->start, &(*seg_info)->end); in dcssblk_load_segment() 337 segment_warning(rc, (*seg_info)->segment_name); in dcssblk_load_segment() 338 kfree(*seg_info); in dcssblk_load_segment() 566 struct segment_info *seg_info, *temp; dcssblk_add_store() local [all...] |
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A D | dcssblk.c | 301 dcssblk_load_segment(char *name, struct segment_info **seg_info) in dcssblk_load_segment() argument 307 *seg_info = dcssblk_get_segment_by_name(name); in dcssblk_load_segment() 309 if (*seg_info != NULL) in dcssblk_load_segment() 313 *seg_info = kzalloc(sizeof(struct segment_info), GFP_KERNEL); in dcssblk_load_segment() 314 if (*seg_info == NULL) in dcssblk_load_segment() 317 strcpy((*seg_info)->segment_name, name); in dcssblk_load_segment() 321 &(*seg_info)->start, &(*seg_info)->end); in dcssblk_load_segment() 323 segment_warning(rc, (*seg_info)->segment_name); in dcssblk_load_segment() 324 kfree(*seg_info); in dcssblk_load_segment() 551 struct segment_info *seg_info, *temp; dcssblk_add_store() local [all...] |
/kernel/linux/common_modules/newip/src/common/ |
H A D | nip_hdr_encap.c | 21 struct nip_pkt_seg_info *seg_info) in nip_calc_pkt_frag_num() 36 seg_info->last_pkt_num = 1; in nip_calc_pkt_frag_num() 37 seg_info->mid_pkt_num = mid_pkt_num; in nip_calc_pkt_frag_num() 38 seg_info->mid_usr_pkt_len = mid_usr_pkt_len; in nip_calc_pkt_frag_num() 39 seg_info->last_usr_pkt_len = last_usr_pkt_len; in nip_calc_pkt_frag_num() 18 nip_calc_pkt_frag_num(unsigned int mtu, unsigned int nip_hdr_len, unsigned int usr_data_len, struct nip_pkt_seg_info *seg_info) nip_calc_pkt_frag_num() argument
|
H A D | nip_hdr.h | 200 struct nip_pkt_seg_info *seg_info);
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | nip_output.c | 148 struct nip_pkt_seg_info *seg_info, in _nip_alloc_skb() 156 len = NIP_ETH_HDR_LEN + nip_hdr_len + head->trans_hdr_len + seg_info->mid_usr_pkt_len; in _nip_alloc_skb() 178 struct nip_pkt_seg_info *seg_info, in _nip_udp_single_output() 184 struct sk_buff *skb = _nip_alloc_skb(sk, head, seg_info, dst); in _nip_udp_single_output() 256 struct nip_pkt_seg_info seg_info = {0}; in _nip_udp_output() local 270 nip_calc_pkt_frag_num(mtu, nip_hdr_len, datalen, &seg_info); in _nip_udp_output() 273 for (i = 0; i < seg_info.mid_pkt_num; i++) { in _nip_udp_output() 274 head.usr_data_len = seg_info.mid_usr_pkt_len; in _nip_udp_output() 275 ret = _nip_udp_single_output(sk, &head, &seg_info, dst); in _nip_udp_output() 281 if (seg_info in _nip_udp_output() 146 _nip_alloc_skb(struct sock *sk, struct nip_hdr_encap *head, struct nip_pkt_seg_info *seg_info, struct dst_entry *dst) _nip_alloc_skb() argument 176 _nip_udp_single_output(struct sock *sk, struct nip_hdr_encap *head, struct nip_pkt_seg_info *seg_info, struct dst_entry *dst) _nip_udp_single_output() argument [all...] |