/linux-6.6.21/drivers/net/wireless/cisco/ |
D | airo.c | 1113 static int enable_MAC(struct airo_info *ai, int lock); 1114 static void disable_MAC(struct airo_info *ai, int lock); 1140 static void mpi_receive_802_3(struct airo_info *ai); 1141 static void mpi_receive_802_11(struct airo_info *ai); 1142 static int waitbusy(struct airo_info *ai); 1154 static void micinit(struct airo_info *ai); 1155 static int micsetup(struct airo_info *ai); 1156 static int encapsulate(struct airo_info *ai, etherHead *pPacket, MICBuffer *buffer, int len); 1157 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *pPacket, u16 payLen); 1162 static void airo_networks_free(struct airo_info *ai); [all …]
|
/linux-6.6.21/drivers/mtd/ubi/ |
D | attach.c | 79 static int self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *ai); 103 static struct ubi_ainf_volume *find_or_add_av(struct ubi_attach_info *ai, in find_or_add_av() argument 108 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; in find_or_add_av() 140 if (vol_id > ai->highest_vol_id) in find_or_add_av() 141 ai->highest_vol_id = vol_id; in find_or_add_av() 144 rb_insert_color(&av->rb, &ai->volumes); in find_or_add_av() 145 ai->vols_found += 1; in find_or_add_av() 161 static struct ubi_ainf_volume *ubi_find_or_add_av(struct ubi_attach_info *ai, in ubi_find_or_add_av() argument 164 return find_or_add_av(ai, vol_id, AV_FIND_OR_ADD, created); in ubi_find_or_add_av() 178 struct ubi_ainf_peb *ubi_alloc_aeb(struct ubi_attach_info *ai, int pnum, in ubi_alloc_aeb() argument [all …]
|
D | vtbl.c | 285 static int create_vtbl(struct ubi_device *ubi, struct ubi_attach_info *ai, in create_vtbl() argument 302 new_aeb = ubi_early_get_peb(ubi, ai); in create_vtbl() 314 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum); in create_vtbl() 330 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0); in create_vtbl() 331 ubi_free_aeb(ai, new_aeb); in create_vtbl() 341 list_add(&new_aeb->u.list, &ai->erase); in create_vtbl() 344 ubi_free_aeb(ai, new_aeb); in create_vtbl() 362 struct ubi_attach_info *ai, in process_lvol() argument 438 err = create_vtbl(ubi, ai, 1, leb[0]); in process_lvol() 461 err = create_vtbl(ubi, ai, 0, leb[1]); in process_lvol() [all …]
|
D | fastmap.c | 135 static int add_aeb(struct ubi_attach_info *ai, struct list_head *list, in add_aeb() argument 140 aeb = ubi_alloc_aeb(ai, pnum, ec); in add_aeb() 148 ai->ec_sum += aeb->ec; in add_aeb() 149 ai->ec_count++; in add_aeb() 151 if (ai->max_ec < aeb->ec) in add_aeb() 152 ai->max_ec = aeb->ec; in add_aeb() 154 if (ai->min_ec > aeb->ec) in add_aeb() 155 ai->min_ec = aeb->ec; in add_aeb() 174 static struct ubi_ainf_volume *add_vol(struct ubi_attach_info *ai, int vol_id, in add_vol() argument 180 av = ubi_add_av(ai, vol_id); in add_vol() [all …]
|
D | ubi.h | 822 struct ubi_ainf_peb *ubi_alloc_aeb(struct ubi_attach_info *ai, int pnum, 824 void ubi_free_aeb(struct ubi_attach_info *ai, struct ubi_ainf_peb *aeb); 825 int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, 827 struct ubi_ainf_volume *ubi_add_av(struct ubi_attach_info *ai, int vol_id); 828 struct ubi_ainf_volume *ubi_find_av(const struct ubi_attach_info *ai, 830 void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av); 832 struct ubi_attach_info *ai); 834 void ubi_destroy_ai(struct ubi_attach_info *ai); 841 int ubi_read_volume_table(struct ubi_device *ubi, struct ubi_attach_info *ai); 899 int ubi_eba_init(struct ubi_device *ubi, struct ubi_attach_info *ai); [all …]
|
/linux-6.6.21/kernel/kcsan/ |
D | report.c | 43 struct access_info ai; member 389 const struct access_info *ai, in print_report() argument 396 int skipnr = sanitize_stack_entries(stack_entries, num_stack_entries, ai->ip, &reordered_to); in print_report() 411 other_info->ai.ip, &other_reordered_to); in print_report() 433 get_bug_type(ai->access_type | other_info->ai.access_type), in print_report() 437 pr_err("BUG: KCSAN: %s in %pS\n", get_bug_type(ai->access_type), in print_report() 446 get_access_type(other_info->ai.access_type), other_info->ai.ptr, in print_report() 447 other_info->ai.size, get_thread_desc(other_info->ai.task_pid), in print_report() 448 other_info->ai.cpu_id); in print_report() 459 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mediatek/ |
D | mtk_ppe_debugfs.c | 64 mtk_print_addr_info(struct seq_file *m, struct mtk_flow_addr_info *ai) in mtk_print_addr_info() argument 66 mtk_print_addr(m, ai->src, ai->ipv6); in mtk_print_addr_info() 67 if (ai->src_port) in mtk_print_addr_info() 68 seq_printf(m, ":%d", *ai->src_port); in mtk_print_addr_info() 70 mtk_print_addr(m, ai->dest, ai->ipv6); in mtk_print_addr_info() 71 if (ai->dest_port) in mtk_print_addr_info() 72 seq_printf(m, ":%d", *ai->dest_port); in mtk_print_addr_info() 84 struct mtk_flow_addr_info ai = {}; in mtk_ppe_debugfs_foe_show() local 109 ai.src_port = &entry->ipv4.orig.src_port; in mtk_ppe_debugfs_foe_show() 110 ai.dest_port = &entry->ipv4.orig.dest_port; in mtk_ppe_debugfs_foe_show() [all …]
|
/linux-6.6.21/net/ipv4/ |
D | tcp_highspeed.c | 97 u32 ai; member 105 ca->ai = 0; in hstcp_init() 130 if (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd) { in hstcp_cong_avoid() 131 while (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd && in hstcp_cong_avoid() 132 ca->ai < HSTCP_AIMD_MAX - 1) in hstcp_cong_avoid() 133 ca->ai++; in hstcp_cong_avoid() 134 } else if (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) { in hstcp_cong_avoid() 135 while (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) in hstcp_cong_avoid() 136 ca->ai--; in hstcp_cong_avoid() 142 tp->snd_cwnd_cnt += ca->ai + 1; in hstcp_cong_avoid() [all …]
|
/linux-6.6.21/drivers/staging/media/av7110/ |
D | dvb_filter.c | 21 int dvb_filter_get_ac3info(u8 *mbuf, int count, struct dvb_audio_info *ai, int pr) in dvb_filter_get_ac3info() argument 43 ai->off = c; in dvb_filter_get_ac3info() 46 ai->layer = 0; // 0 for AC3 in dvb_filter_get_ac3info() 50 ai->bit_rate = ac3_bitrates[frame >> 1]*1000; in dvb_filter_get_ac3info() 53 printk(KERN_CONT " BRate: %d kb/s", (int) ai->bit_rate/1000); in dvb_filter_get_ac3info() 55 ai->frequency = (headr[2] & 0xc0 ) >> 6; in dvb_filter_get_ac3info() 57 ai->frequency = freq[fr]*100; in dvb_filter_get_ac3info() 59 printk(KERN_CONT " Freq: %d Hz\n", (int) ai->frequency); in dvb_filter_get_ac3info() 61 ai->framesize = ac3_frames[fr][frame >> 1]; in dvb_filter_get_ac3info() 62 if ((frame & 1) && (fr == 1)) ai->framesize++; in dvb_filter_get_ac3info() [all …]
|
/linux-6.6.21/mm/ |
D | percpu.c | 1583 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai); 2433 struct pcpu_alloc_info *ai; in pcpu_alloc_alloc_info() local 2438 base_size = ALIGN(struct_size(ai, groups, nr_groups), in pcpu_alloc_alloc_info() 2439 __alignof__(ai->groups[0].cpu_map[0])); in pcpu_alloc_alloc_info() 2440 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); in pcpu_alloc_alloc_info() 2445 ai = ptr; in pcpu_alloc_alloc_info() 2448 ai->groups[0].cpu_map = ptr; in pcpu_alloc_alloc_info() 2451 ai->groups[0].cpu_map[unit] = NR_CPUS; in pcpu_alloc_alloc_info() 2453 ai->nr_groups = nr_groups; in pcpu_alloc_alloc_info() 2454 ai->__ai_size = PFN_ALIGN(ai_size); in pcpu_alloc_alloc_info() [all …]
|
D | percpu-km.c | 107 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai) in pcpu_verify_alloc_info() argument 112 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info() 117 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; in pcpu_verify_alloc_info()
|
D | percpu-internal.h | 164 static inline void pcpu_stats_save_ai(const struct pcpu_alloc_info *ai) in pcpu_stats_save_ai() argument 166 memcpy(&pcpu_stats_ai, ai, sizeof(struct pcpu_alloc_info)); in pcpu_stats_save_ai() 244 static inline void pcpu_stats_save_ai(const struct pcpu_alloc_info *ai) in pcpu_stats_save_ai() argument
|
/linux-6.6.21/arch/ia64/mm/ |
D | contig.c | 103 struct pcpu_alloc_info *ai; in setup_per_cpu_areas() local 108 ai = pcpu_alloc_alloc_info(1, num_possible_cpus()); in setup_per_cpu_areas() 109 if (!ai) in setup_per_cpu_areas() 111 gi = &ai->groups[0]; in setup_per_cpu_areas() 125 ai->static_size = static_size; in setup_per_cpu_areas() 126 ai->reserved_size = reserved_size; in setup_per_cpu_areas() 127 ai->dyn_size = dyn_size; in setup_per_cpu_areas() 128 ai->unit_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas() 129 ai->atom_size = PAGE_SIZE; in setup_per_cpu_areas() 130 ai->alloc_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas() [all …]
|
D | discontig.c | 182 struct pcpu_alloc_info *ai; in setup_per_cpu_areas() local 191 ai = pcpu_alloc_alloc_info(MAX_NUMNODES, nr_cpu_ids); in setup_per_cpu_areas() 192 if (!ai) in setup_per_cpu_areas() 194 cpu_map = ai->groups[0].cpu_map; in setup_per_cpu_areas() 219 ai->static_size = static_size; in setup_per_cpu_areas() 220 ai->reserved_size = reserved_size; in setup_per_cpu_areas() 221 ai->dyn_size = dyn_size; in setup_per_cpu_areas() 222 ai->unit_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas() 223 ai->atom_size = PAGE_SIZE; in setup_per_cpu_areas() 224 ai->alloc_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas() [all …]
|
/linux-6.6.21/tools/testing/vsock/ |
D | control.c | 42 struct addrinfo *ai; in control_init() local 51 for (ai = result; ai; ai = ai->ai_next) { in control_init() 55 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in control_init() 60 if (connect(fd, ai->ai_addr, ai->ai_addrlen) < 0) in control_init() 74 if (bind(fd, ai->ai_addr, ai->ai_addrlen) < 0) in control_init()
|
/linux-6.6.21/drivers/misc/cxl/ |
D | flash.c | 230 struct cxl_adapter_image *ai) in handle_image() argument 239 need_header = (ai->flags & CXL_AI_NEED_HEADER); in handle_image() 250 header->image_length = cpu_to_be64(ai->len_image); in handle_image() 254 len_chunk = ai->len_data; in handle_image() 280 from = (void *) ai->data; in handle_image() 324 struct cxl_adapter_image *ai) in transfer_image() argument 332 &cxl_h_download_adapter_image, ai); in transfer_image() 341 &cxl_h_validate_adapter_image, ai); in transfer_image() 375 struct cxl_adapter_image ai; in ioctl_transfer_image() local 379 if (copy_from_user(&ai, uai, sizeof(struct cxl_adapter_image))) in ioctl_transfer_image() [all …]
|
/linux-6.6.21/tools/usb/usbip/src/ |
D | usbipd.c | 360 static void addrinfo_to_text(struct addrinfo *ai, char buf[], in addrinfo_to_text() argument 369 rc = getnameinfo(ai->ai_addr, ai->ai_addrlen, hbuf, sizeof(hbuf), in addrinfo_to_text() 380 struct addrinfo *ai; in listen_all_addrinfo() local 385 for (ai = ai_head; ai && nsockfd < maxsockfd; ai = ai->ai_next) { in listen_all_addrinfo() 388 addrinfo_to_text(ai, ai_buf, ai_buf_size); in listen_all_addrinfo() 390 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in listen_all_addrinfo() 403 ret = bind(sock, ai->ai_addr, ai->ai_addrlen); in listen_all_addrinfo()
|
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/ |
D | spu_save_crt0.S | 46 ai $4, $4, 4 55 ai $3, $3, 64 71 ai $SP, $SP, -160
|
D | spu_restore_crt0.S | 37 ai $SP, $SP, -160 51 ai $4, $4, 4 60 ai $3, $3, 64
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | cmsg_sender.c | 417 struct addrinfo hints, *ai; in main() local 433 ai = NULL; in main() 434 err = getaddrinfo(opt.host, opt.service, &hints, &ai); in main() 441 if (ai->ai_family == AF_INET6 && opt.sock.proto == IPPROTO_ICMP) in main() 444 fd = socket(ai->ai_family, opt.sock.type, opt.sock.proto); in main() 447 freeaddrinfo(ai); in main() 459 struct sockaddr_in6 *sin6 = (void *)ai->ai_addr; in main() 476 msg.msg_name = ai->ai_addr; in main() 477 msg.msg_namelen = ai->ai_addrlen; in main() 504 freeaddrinfo(ai); in main()
|
/linux-6.6.21/drivers/clk/ti/ |
D | dpll3xxx.c | 141 u8 ai; in _omap3_noncore_dpll_lock() local 155 ai = omap3_dpll_autoidle_read(clk); in _omap3_noncore_dpll_lock() 157 if (ai) in _omap3_noncore_dpll_lock() 164 if (ai) in _omap3_noncore_dpll_lock() 187 u8 ai; in _omap3_noncore_dpll_bypass() local 195 ai = omap3_dpll_autoidle_read(clk); in _omap3_noncore_dpll_bypass() 201 if (ai) in _omap3_noncore_dpll_bypass() 218 u8 ai; in _omap3_noncore_dpll_stop() local 225 ai = omap3_dpll_autoidle_read(clk); in _omap3_noncore_dpll_stop() 229 if (ai) in _omap3_noncore_dpll_stop() [all …]
|
/linux-6.6.21/arch/s390/pci/ |
D | pci_irq.c | 238 unsigned long si, ai; in zpci_floating_irq_handler() local 259 for (ai = 0;;) { in zpci_floating_irq_handler() 260 ai = airq_iv_scan(aibv, ai, airq_iv_end(aibv)); in zpci_floating_irq_handler() 261 if (ai == -1UL) in zpci_floating_irq_handler() 264 airq_iv_lock(aibv, ai); in zpci_floating_irq_handler() 265 generic_handle_irq(airq_iv_get_data(aibv, ai)); in zpci_floating_irq_handler() 266 airq_iv_unlock(aibv, ai); in zpci_floating_irq_handler()
|
/linux-6.6.21/drivers/cdrom/ |
D | cdrom.c | 1615 static int dvd_do_auth(struct cdrom_device_info *cdi, dvd_authinfo *ai) in dvd_do_auth() argument 1626 switch (ai->type) { in dvd_do_auth() 1631 setup_report_key(&cgc, ai->lsa.agid, 0); in dvd_do_auth() 1636 ai->lsa.agid = buf[7] >> 6; in dvd_do_auth() 1642 setup_report_key(&cgc, ai->lsk.agid, 2); in dvd_do_auth() 1647 copy_key(ai->lsk.key, &buf[4]); in dvd_do_auth() 1653 setup_report_key(&cgc, ai->lsc.agid, 1); in dvd_do_auth() 1658 copy_chal(ai->lsc.chal, &buf[4]); in dvd_do_auth() 1666 setup_report_key(&cgc, ai->lstk.agid, 4); in dvd_do_auth() 1667 cgc.cmd[5] = ai->lstk.lba; in dvd_do_auth() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs.c | 75 struct mlx5e_l2_rule *ai, int type); 77 struct mlx5e_l2_rule *ai); 100 struct mlx5e_l2_rule ai; member 121 if (ether_addr_equal_64bits(hn->ai.addr, addr)) { in mlx5e_add_l2_to_hash() 135 ether_addr_copy(hn->ai.addr, addr); in mlx5e_add_l2_to_hash() 582 ether_addr_copy(mac_addr, hn->ai.addr); in mlx5e_execute_l2_action() 586 mlx5e_add_l2_flow_rule(fs, &hn->ai, MLX5E_FULLMATCH); in mlx5e_execute_l2_action() 597 mlx5e_del_l2_flow_rule(fs, &hn->ai); in mlx5e_execute_l2_action() 644 if (ether_addr_equal(ndev->dev_addr, hn->ai.addr)) in mlx5e_fill_addr_array() 648 ether_addr_copy(addr_array[i++], hn->ai.addr); in mlx5e_fill_addr_array() [all …]
|
/linux-6.6.21/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_prs.h | 62 #define MVPP2_PRS_TCAM_AI(ai) (ai) argument 63 #define MVPP2_PRS_TCAM_AI_EN(ai) MVPP2_PRS_TCAM_EN(MVPP2_PRS_TCAM_AI(ai)) argument
|