Home
last modified time | relevance | path

Searched refs:ai (Results 1 – 25 of 124) sorted by relevance

12345

/openbmc/linux/drivers/mtd/ubi/
H A Dattach.c754 destroy_av(ai, av, &ai->erase); in ubi_remove_av()
1361 kfree(ai); in destroy_ai()
1385 if (!ai->ech) in scan_all()
1405 ai->mean_ec = div_u64(ai->ec_sum, ai->ec_count); in scan_all()
1455 if (!ai) in alloc_ai()
1456 return ai; in alloc_ai()
1468 kfree(ai); in alloc_ai()
1469 ai = NULL; in alloc_ai()
1472 return ai; in alloc_ai()
1561 if (!ai) in ubi_attach()
[all …]
H A Dvtbl.c331 ubi_free_aeb(ai, new_aeb); in create_vtbl()
344 ubi_free_aeb(ai, new_aeb); in create_vtbl()
362 struct ubi_attach_info *ai, in process_lvol() argument
485 struct ubi_attach_info *ai) in create_empty_lvol() argument
521 const struct ubi_attach_info *ai, in init_volumes() argument
594 av = ubi_find_av(ai, i); in init_volumes()
734 ai->highest_vol_id); in check_attaching_info()
741 av = ubi_find_av(ai, i); in check_attaching_info()
745 ubi_remove_av(ai, av); in check_attaching_info()
763 ubi_remove_av(ai, av); in check_attaching_info()
[all …]
H A Dfastmap.c149 ai->ec_sum += aeb->ec; in add_aeb()
150 ai->ec_count++; in add_aeb()
152 if (ai->max_ec < aeb->ec) in add_aeb()
153 ai->max_ec = aeb->ec; in add_aeb()
155 if (ai->min_ec > aeb->ec) in add_aeb()
156 ai->min_ec = aeb->ec; in add_aeb()
465 unmap_peb(ai, pnum); in scan_pool()
643 ret = add_aeb(ai, &ai->free, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
682 ret = add_aeb(ai, &ai->erase, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
688 ai->mean_ec = div_u64(ai->ec_sum, ai->ec_count); in ubi_attach_fastmap()
[all …]
/openbmc/linux/drivers/net/wireless/cisco/
H A Dairo.c1764 return PC4500_readrid(ai, first ? ai->bssListFirst : ai->bssListNext, in readBSSListRid()
2430 ai->shared, ai->shared_dma); in stop_airo_card()
2829 ai->wireless_data.spy_data = &ai->spy_data; in _init_airo_card()
2873 ai->wifidev = init_wifidev(ai, dev); in _init_airo_card()
3026 rc = PC4500_readrid(ai, ai->bssListFirst, &bss, ai->bssListRidLen, 0); in airo_process_scan_results()
3049 rc = PC4500_readrid(ai, ai->bssListNext, in airo_process_scan_results()
3056 writeAPListRid(ai, &ai->APList, 0); in airo_process_scan_results()
3100 if (ai->expires || ai->scan_timeout) { in airo_thread()
5641 readSsidRid(ai, ai->SSID); in airo_pci_suspend()
5680 writeSsidRid(ai, ai->SSID, 0); in airo_pci_resume()
[all …]
/openbmc/u-boot/drivers/mtd/ubi/
H A Dattach.c1209 kfree(ai); in destroy_ai()
1253 ai->mean_ec = div_u64(ai->ec_sum, ai->ec_count); in scan_all()
1303 if (!ai) in alloc_ai()
1304 return ai; in alloc_ai()
1315 kfree(ai); in alloc_ai()
1316 ai = NULL; in alloc_ai()
1319 return ai; in alloc_ai()
1373 if (!*ai) in scan_fast()
1402 if (!ai) in ubi_attach()
1420 if (!ai) in ubi_attach()
[all …]
H A Dvtbl.c309 new_aeb = ubi_early_get_peb(ubi, ai);
369 struct ubi_attach_info *ai, argument
492 struct ubi_attach_info *ai) argument
528 const struct ubi_attach_info *ai, argument
588 av = ubi_find_av(ai, i);
709 struct ubi_attach_info *ai) argument
724 ai->highest_vol_id);
731 av = ubi_find_av(ai, i);
735 ubi_remove_av(ai, av);
753 ubi_remove_av(ai, av);
[all …]
H A Dfastmap.c157 ai->ec_sum += aeb->ec; in add_aeb()
158 ai->ec_count++; in add_aeb()
160 if (ai->max_ec < aeb->ec) in add_aeb()
161 ai->max_ec = aeb->ec; in add_aeb()
163 if (ai->min_ec > aeb->ec) in add_aeb()
164 ai->min_ec = aeb->ec; in add_aeb()
521 unmap_peb(ai, pnum); in scan_pool()
699 add_aeb(ai, &ai->free, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
732 add_aeb(ai, &ai->erase, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
736 ai->mean_ec = div_u64(ai->ec_sum, ai->ec_count); in ubi_attach_fastmap()
[all …]
/openbmc/linux/kernel/kcsan/
H A Dreport.c43 struct access_info ai; member
433 get_bug_type(ai->access_type | other_info->ai.access_type), in print_report()
447 other_info->ai.size, get_thread_desc(other_info->ai.task_pid), in print_report()
459 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
460 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
463 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
464 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
565 } while (other_info->ai.size && other_info->ai.ptr == ai->ptr && in set_other_info_task_blocking()
593 other_info->ai = *ai; in prepare_report_producer()
617 (unsigned long)ai->ptr & WATCHPOINT_ADDR_MASK, ai->size))) in prepare_report_consumer()
[all …]
/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_debugfs.c66 mtk_print_addr(m, ai->src, ai->ipv6); in mtk_print_addr_info()
67 if (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()
84 struct mtk_flow_addr_info ai = {}; in mtk_ppe_debugfs_foe_show() local
122 ai.src = &entry->ipv6.src_ip; in mtk_ppe_debugfs_foe_show()
123 ai.dest = &entry->ipv6.dest_ip; in mtk_ppe_debugfs_foe_show()
124 ai.ipv6 = true; in mtk_ppe_debugfs_foe_show()
129 mtk_print_addr_info(m, &ai); in mtk_ppe_debugfs_foe_show()
138 ai.src = &entry->ipv4.new.src_ip; in mtk_ppe_debugfs_foe_show()
[all …]
/openbmc/linux/drivers/staging/media/av7110/
H A Ddvb_filter.c43 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()
63 ai->framesize = ai->framesize << 1; in dvb_filter_get_ac3info()
[all …]
/openbmc/linux/net/ipv4/
H A Dtcp_highspeed.c97 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 …]
/openbmc/linux/mm/
H A Dpercpu.c2467 memblock_free(ai, ai->__ai_size); in pcpu_free_alloc_info()
2495 upa = ai->alloc_size / ai->unit_size; in pcpu_dump_alloc_info()
2500 lvl, ai->static_size, ai->reserved_size, ai->dyn_size, in pcpu_dump_alloc_info()
2501 ai->unit_size, ai->alloc_size / ai->atom_size, ai->atom_size); in pcpu_dump_alloc_info()
2584 size_t size_sum = ai->static_size + ai->reserved_size + ai->dyn_size; in pcpu_setup_first_chunk()
2942 if (!ai) in pcpu_build_alloc_info()
3065 size_sum = ai->static_size + ai->reserved_size + ai->dyn_size; in pcpu_embed_first_chunk()
3141 ai->dyn_size, ai->unit_size); in pcpu_embed_first_chunk()
3150 ai->groups[group].nr_units * ai->unit_size); in pcpu_embed_first_chunk()
3255 upa = ai->alloc_size/ai->unit_size; in pcpu_page_first_chunk()
[all …]
H A Dpercpu-km.c107 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()
/openbmc/linux/arch/ia64/mm/
H A Dcontig.c103 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 …]
H A Ddiscontig.c182 struct pcpu_alloc_info *ai; in setup_per_cpu_areas() local
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()
223 ai->atom_size = PAGE_SIZE; in setup_per_cpu_areas()
231 ai->nr_groups = 0; in setup_per_cpu_areas()
242 gi = &ai->groups[ai->nr_groups++]; in setup_per_cpu_areas()
248 pcpu_setup_first_chunk(ai, base); in setup_per_cpu_areas()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ruli/files/
H A D0001-Fix-build-with-format-string-checks.patch33 for (ai = ai_res; ai; ai = ai->ai_next) {
38 switch (ai->ai_family) {
44 for (ai = ai_res; ai; ai = ai->ai_next) {
49 switch (ai->ai_family) {
/openbmc/linux/tools/testing/vsock/
H A Dcontrol.c42 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()
/openbmc/qemu/tests/unit/
H A Dsocket-helpers.c44 struct addrinfo ai, *res = NULL; in socket_can_bind_connect() local
53 memset(&ai, 0, sizeof(ai)); in socket_can_bind_connect()
54 ai.ai_flags = AI_CANONNAME | AI_ADDRCONFIG; in socket_can_bind_connect()
55 ai.ai_family = family; in socket_can_bind_connect()
56 ai.ai_socktype = SOCK_STREAM; in socket_can_bind_connect()
59 rc = getaddrinfo(hostname, NULL, &ai, &res); in socket_can_bind_connect()
/openbmc/linux/drivers/misc/cxl/
H A Dflash.c230 struct cxl_adapter_image *ai) in handle_image() argument
239 need_header = (ai->flags & CXL_AI_NEED_HEADER); 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
385 if (ai.reserved1 || ai.reserved2 || ai.reserved3 || ai.reserved4 || in ioctl_transfer_image()
386 (ai.flags & ~CXL_AI_ALL)) in ioctl_transfer_image()
[all …]
/openbmc/linux/tools/usb/usbip/src/
H A Dusbipd.c360 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()
/openbmc/qemu/util/
H A Dqemu-sockets.c214 struct addrinfo ai, *res, *e; in inet_listen_saddr() local
229 memset(&ai,0, sizeof(ai)); in inet_listen_saddr()
230 ai.ai_flags = AI_PASSIVE; in inet_listen_saddr()
234 ai.ai_socktype = SOCK_STREAM; in inet_listen_saddr()
394 struct addrinfo ai, *res; in inet_parse_connect_saddr() local
398 memset(&ai, 0, sizeof(ai)); in inet_parse_connect_saddr()
505 memset(&ai,0, sizeof(ai)); in inet_dgram_saddr()
507 ai.ai_socktype = SOCK_DGRAM; in inet_dgram_saddr()
530 memset(&ai,0, sizeof(ai)); in inet_dgram_saddr()
531 ai.ai_flags = AI_PASSIVE; in inet_dgram_saddr()
[all …]
/openbmc/qemu/io/
H A Ddns-resolver.c55 struct addrinfo ai, *res, *e; in qio_dns_resolver_lookup_sync_inet() local
67 memset(&ai, 0, sizeof(ai)); in qio_dns_resolver_lookup_sync_inet()
68 ai.ai_flags = AI_PASSIVE; in qio_dns_resolver_lookup_sync_inet()
70 ai.ai_flags |= AI_NUMERICHOST | AI_NUMERICSERV; in qio_dns_resolver_lookup_sync_inet()
72 ai.ai_family = inet_ai_family_from_address(iaddr, &err); in qio_dns_resolver_lookup_sync_inet()
73 ai.ai_socktype = SOCK_STREAM; in qio_dns_resolver_lookup_sync_inet()
91 strlen(port) ? port : NULL, &ai, &res); in qio_dns_resolver_lookup_sync_inet()
/openbmc/qemu/tcg/
H A Dtcg-op-vec.c234 TCGArg ai = tcgv_i64_arg(a); in tcg_gen_dup_i64_vec() local
241 TCGArg ai = tcgv_i32_arg(TCGV_LOW(a)); in tcg_gen_dup_i64_vec() local
249 TCGArg ai = tcgv_i32_arg(a); in tcg_gen_dup_i32_vec() local
373 TCGArg ai = temp_arg(at); in do_op2() local
381 vec_gen_2(opc, type, vece, ri, ai); in do_op2()
451 TCGArg ai = temp_arg(at); in do_shifti() local
513 TCGArg ai = temp_arg(at); in tcg_gen_cmp_vec() local
529 ai = ti; in tcg_gen_cmp_vec()
556 TCGArg ai = temp_arg(at); in do_op3() local
702 TCGArg ai = temp_arg(at); in do_shifts() local
[all …]
/openbmc/linux/arch/powerpc/platforms/cell/spufs/
H A Dspu_save_crt0.S46 ai $4, $4, 4
55 ai $3, $3, 64
71 ai $SP, $SP, -160
H A Dspu_restore_crt0.S37 ai $SP, $SP, -160
51 ai $4, $4, 4
60 ai $3, $3, 64

12345