/linux-master/net/ipv4/ |
H A D | tcp_highspeed.c | 97 u32 ai; member in struct:hstcp 105 ca->ai = 0; 126 * hstcp_aimd_vals[ca->ai-1].cwnd < 128 * hstcp_aimd_vals[ca->ai].cwnd 130 if (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd) { 131 while (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd && 132 ca->ai < HSTCP_AIMD_MAX - 1) 133 ca->ai++; 134 } else if (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai [all...] |
/linux-master/drivers/mtd/ubi/ |
H A D | attach.c | 79 static int self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *ai); 88 * @ai: attaching information 103 static struct ubi_ainf_volume *find_or_add_av(struct ubi_attach_info *ai, argument 108 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; 140 if (vol_id > ai->highest_vol_id) 141 ai->highest_vol_id = vol_id; 144 rb_insert_color(&av->rb, &ai->volumes); 145 ai->vols_found += 1; 154 * @ai: attaching information 161 static struct ubi_ainf_volume *ubi_find_or_add_av(struct ubi_attach_info *ai, argument 178 ubi_alloc_aeb(struct ubi_attach_info *ai, int pnum, int ec) argument 203 ubi_free_aeb(struct ubi_attach_info *ai, struct ubi_ainf_peb *aeb) argument 229 add_to_list(struct ubi_attach_info *ai, int pnum, int vol_id, int lnum, int ec, int to_head, struct list_head *list) argument 268 add_corrupted(struct ubi_attach_info *ai, int pnum, int ec) argument 296 add_fastmap(struct ubi_attach_info *ai, int pnum, struct ubi_vid_hdr *vid_hdr, int ec) argument 396 add_volume(struct ubi_attach_info *ai, int vol_id, int pnum, const struct ubi_vid_hdr *vid_hdr) argument 563 ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips) argument 717 ubi_add_av(struct ubi_attach_info *ai, int vol_id) argument 732 ubi_find_av(const struct ubi_attach_info *ai, int vol_id) argument 749 ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av) argument 771 early_erase_peb(struct ubi_device *ubi, const struct ubi_attach_info *ai, int pnum, int ec) argument 818 ubi_early_get_peb(struct ubi_device *ubi, struct ubi_attach_info *ai) argument 941 scan_peb(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, bool fast) argument 1207 late_analysis(struct ubi_device *ubi, struct ubi_attach_info *ai) argument 1277 destroy_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av, struct list_head *list) argument 1311 destroy_ai(struct ubi_attach_info *ai) argument 1374 scan_all(struct ubi_device *ubi, struct ubi_attach_info *ai, int start) argument 1452 struct ubi_attach_info *ai; local 1487 scan_fast(struct ubi_device *ubi, struct ubi_attach_info **ai) argument 1558 struct ubi_attach_info *ai; local 1658 self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *ai) argument [all...] |
H A D | vtbl.c | 278 * @ai: attaching information 285 static int create_vtbl(struct ubi_device *ubi, struct ubi_attach_info *ai, argument 302 new_aeb = ubi_early_get_peb(ubi, ai); 314 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum); 330 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0); 331 ubi_free_aeb(ai, new_aeb); 341 list_add(&new_aeb->u.list, &ai->erase); 344 ubi_free_aeb(ai, new_aeb); 354 * @ai: attaching information 362 struct ubi_attach_info *ai, 361 process_lvol(struct ubi_device *ubi, struct ubi_attach_info *ai, struct ubi_ainf_volume *av) argument 484 create_empty_lvol(struct ubi_device *ubi, struct ubi_attach_info *ai) argument 520 init_volumes(struct ubi_device *ubi, const struct ubi_attach_info *ai, const struct ubi_vtbl_record *vtbl) argument 718 check_attaching_info(const struct ubi_device *ubi, struct ubi_attach_info *ai) argument 783 ubi_read_volume_table(struct ubi_device *ubi, struct ubi_attach_info *ai) argument [all...] |
H A D | fastmap.c | 128 * @ai: UBI attach info object 136 static int add_aeb(struct ubi_attach_info *ai, struct list_head *list, argument 141 aeb = ubi_alloc_aeb(ai, pnum, ec); 149 ai->ec_sum += aeb->ec; 150 ai->ec_count++; 152 if (ai->max_ec < aeb->ec) 153 ai->max_ec = aeb->ec; 155 if (ai->min_ec > aeb->ec) 156 ai->min_ec = aeb->ec; 165 * @ai 175 add_vol(struct ubi_attach_info *ai, int vol_id, int used_ebs, int data_pad, u8 vol_type, int last_eb_bytes) argument 203 assign_aeb_to_av(struct ubi_attach_info *ai, struct ubi_ainf_peb *aeb, struct ubi_ainf_volume *av) argument 242 update_vol(struct ubi_device *ubi, struct ubi_attach_info *ai, struct ubi_ainf_volume *av, struct ubi_vid_hdr *new_vh, struct ubi_ainf_peb *new_aeb) argument 336 process_pool_aeb(struct ubi_device *ubi, struct ubi_attach_info *ai, struct ubi_vid_hdr *new_vh, struct ubi_ainf_peb *new_aeb) argument 370 unmap_peb(struct ubi_attach_info *ai, int pnum) argument 400 scan_pool(struct ubi_device *ubi, struct ubi_attach_info *ai, __be32 *pebs, int pool_size, unsigned long long *max_sqnum, struct list_head *free) argument 519 count_fastmap_pebs(struct ubi_attach_info *ai) argument 548 ubi_attach_fastmap(struct ubi_device *ubi, struct ubi_attach_info *ai, struct ubi_fastmap_layout *fm) argument 815 find_fm_anchor(struct ubi_attach_info *ai) argument 831 clone_aeb(struct ubi_attach_info *ai, struct ubi_ainf_peb *old) argument 860 ubi_scan_fastmap(struct ubi_device *ubi, struct ubi_attach_info *ai, struct ubi_attach_info *scan_ai) argument [all...] |
H A 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-master/drivers/staging/media/av7110/ |
H A D | dvb_filter.c | 21 int dvb_filter_get_ac3info(u8 *mbuf, int count, struct dvb_audio_info *ai, int pr) argument 43 ai->off = c; 46 ai->layer = 0; // 0 for AC3 50 ai->bit_rate = ac3_bitrates[frame >> 1]*1000; 53 printk(KERN_CONT " BRate: %d kb/s", (int) ai->bit_rate/1000); 55 ai->frequency = (headr[2] & 0xc0 ) >> 6; 57 ai->frequency = freq[fr]*100; 59 printk(KERN_CONT " Freq: %d Hz\n", (int) ai->frequency); 61 ai->framesize = ac3_frames[fr][frame >> 1]; 62 if ((frame & 1) && (fr == 1)) ai [all...] |
H A D | av7110_ipack.c | 48 struct dvb_audio_info ai; local 65 ai.off = 0; 70 p->count - ac3_off, &ai, 0); 73 ai.framesize + 1; 77 ac3_off += nframes * ai.framesize - p->count;
|
/linux-master/kernel/kcsan/ |
H A D | report.c | 43 struct access_info ai; member in struct:other_info 389 const struct access_info *ai, 396 int skipnr = sanitize_stack_entries(stack_entries, num_stack_entries, ai->ip, &reordered_to); 411 other_info->ai.ip, &other_reordered_to); 433 get_bug_type(ai->access_type | other_info->ai.access_type), 437 pr_err("BUG: KCSAN: %s in %pS\n", get_bug_type(ai->access_type), 446 get_access_type(other_info->ai.access_type), other_info->ai.ptr, 447 other_info->ai 388 print_report(enum kcsan_value_change value_change, const struct access_info *ai, struct other_info *other_info, u64 old, u64 new, u64 mask) argument 514 set_other_info_task_blocking(unsigned long *flags, const struct access_info *ai, struct other_info *other_info) argument 572 prepare_report_producer(unsigned long *flags, const struct access_info *ai, struct other_info *other_info) argument 603 prepare_report_consumer(unsigned long *flags, const struct access_info *ai, struct other_info *other_info) argument 654 const struct access_info ai = prepare_access_info(ptr, size, access_type, ip); local 670 const struct access_info ai = prepare_access_info(ptr, size, access_type, ip); local 703 const struct access_info ai = prepare_access_info(ptr, size, access_type, ip); local [all...] |
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_debugfs.c | 64 mtk_print_addr_info(struct seq_file *m, struct mtk_flow_addr_info *ai) argument 66 mtk_print_addr(m, ai->src, ai->ipv6); 67 if (ai->src_port) 68 seq_printf(m, ":%d", *ai->src_port); 70 mtk_print_addr(m, ai->dest, ai->ipv6); 71 if (ai->dest_port) 72 seq_printf(m, ":%d", *ai->dest_port); 84 struct mtk_flow_addr_info ai local [all...] |
/linux-master/tools/testing/vsock/ |
H A D | control.c | 42 struct addrinfo *ai; local 51 for (ai = result; ai; ai = ai->ai_next) { 55 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); 60 if (connect(fd, ai->ai_addr, ai [all...] |
/linux-master/mm/ |
H A D | percpu.c | 1583 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai); 2447 * Allocate ai which is large enough for @nr_groups groups containing 2448 * @nr_units units. The returned ai's groups[0].cpu_map points to the 2460 struct pcpu_alloc_info *ai; local 2465 base_size = ALIGN(struct_size(ai, groups, nr_groups), 2466 __alignof__(ai->groups[0].cpu_map[0])); 2467 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); 2472 ai = ptr; 2475 ai->groups[0].cpu_map = ptr; 2478 ai 2492 pcpu_free_alloc_info(struct pcpu_alloc_info *ai) argument 2504 pcpu_dump_alloc_info(const char *lvl, const struct pcpu_alloc_info *ai) argument 2608 pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai, void *base_addr) argument 2878 struct pcpu_alloc_info *ai; local 3082 struct pcpu_alloc_info *ai; local 3267 struct pcpu_alloc_info *ai; local 3412 struct pcpu_alloc_info *ai; local [all...] |
H A D | percpu-km.c | 107 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai) argument 112 if (ai->nr_groups != 1) { 117 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT;
|
H A D | percpu-internal.h | 164 static inline void pcpu_stats_save_ai(const struct pcpu_alloc_info *ai) argument 166 memcpy(&pcpu_stats_ai, ai, sizeof(struct pcpu_alloc_info)); 244 static inline void pcpu_stats_save_ai(const struct pcpu_alloc_info *ai) argument
|
/linux-master/arch/powerpc/platforms/cell/spufs/ |
H A D | spu_restore_crt0.S | 37 ai $SP, $SP, -160 51 ai $4, $4, 4 60 ai $3, $3, 64
|
H A D | spu_save_crt0.S | 46 ai $4, $4, 4 55 ai $3, $3, 64 71 ai $SP, $SP, -160
|
/linux-master/drivers/misc/cxl/ |
H A D | flash.c | 230 struct cxl_adapter_image *ai) 239 need_header = (ai->flags & CXL_AI_NEED_HEADER); 250 header->image_length = cpu_to_be64(ai->len_image); 254 len_chunk = ai->len_data; 280 from = (void *) ai->data; 324 struct cxl_adapter_image *ai) 332 &cxl_h_download_adapter_image, ai); 341 &cxl_h_validate_adapter_image, ai); 375 struct cxl_adapter_image ai; local 379 if (copy_from_user(&ai, ua 228 handle_image(struct cxl *adapter, int operation, long (*fct)(u64, u64, u64, u64 *), struct cxl_adapter_image *ai) argument 323 transfer_image(struct cxl *adapter, int operation, struct cxl_adapter_image *ai) argument [all...] |
/linux-master/tools/usb/usbip/src/ |
H A D | usbipd.c | 360 static void addrinfo_to_text(struct addrinfo *ai, char buf[], argument 369 rc = getnameinfo(ai->ai_addr, ai->ai_addrlen, hbuf, sizeof(hbuf), 380 struct addrinfo *ai; local 385 for (ai = ai_head; ai && nsockfd < maxsockfd; ai = ai->ai_next) { 388 addrinfo_to_text(ai, ai_buf, ai_buf_size); 390 sock = socket(ai [all...] |
/linux-master/arch/s390/pci/ |
H A D | pci_irq.c | 238 unsigned long si, ai; local 259 for (ai = 0;;) { 260 ai = airq_iv_scan(aibv, ai, airq_iv_end(aibv)); 261 if (ai == -1UL) 264 airq_iv_lock(aibv, ai); 265 generic_handle_irq(airq_iv_get_data(aibv, ai)); 266 airq_iv_unlock(aibv, ai);
|
/linux-master/include/linux/ |
H A D | percpu.h | 108 extern void __init pcpu_free_alloc_info(struct pcpu_alloc_info *ai); 110 extern void __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai,
|
/linux-master/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_prs.h | 62 #define MVPP2_PRS_TCAM_AI(ai) (ai) 63 #define MVPP2_PRS_TCAM_AI_EN(ai) MVPP2_PRS_TCAM_EN(MVPP2_PRS_TCAM_AI(ai))
|
/linux-master/tools/testing/selftests/net/ |
H A D | cmsg_sender.c | 429 struct addrinfo hints, *ai; local 446 ai = NULL; 447 err = getaddrinfo(opt.host, opt.service, &hints, &ai); 454 if (ai->ai_family == AF_INET6 && opt.sock.proto == IPPROTO_ICMP) 457 fd = socket(ai->ai_family, opt.sock.type, opt.sock.proto); 460 freeaddrinfo(ai); 472 struct sockaddr_in6 *sin6 = (void *)ai->ai_addr; 489 msg.msg_name = ai->ai_addr; 490 msg.msg_namelen = ai->ai_addrlen; 520 freeaddrinfo(ai); [all...] |
/linux-master/drivers/clk/ti/ |
H A D | dpll3xxx.c | 141 u8 ai; local 155 ai = omap3_dpll_autoidle_read(clk); 157 if (ai) 164 if (ai) 187 u8 ai; local 195 ai = omap3_dpll_autoidle_read(clk); 201 if (ai) 218 u8 ai; local 225 ai = omap3_dpll_autoidle_read(clk); 229 if (ai) 387 u8 dco, sd_div, ai = 0; local [all...] |
/linux-master/arch/s390/kernel/ |
H A D | cache.c | 98 static inline unsigned long ecag(int ai, int li, int ti) argument 100 return __ecag(ECAG_CACHE_ATTRIBUTE, ai << 4 | li << 1 | ti);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A 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 in struct:mlx5e_l2_hash_node 121 if (ether_addr_equal_64bits(hn->ai.addr, addr)) { 135 ether_addr_copy(hn->ai.addr, addr); 582 ether_addr_copy(mac_addr, hn->ai.addr); 586 mlx5e_add_l2_flow_rule(fs, &hn->ai, MLX5E_FULLMATCH); 597 mlx5e_del_l2_flow_rule(fs, &hn->ai); 644 if (ether_addr_equal(ndev->dev_addr, hn->ai.addr)) 648 ether_addr_copy(addr_array[i++], hn->ai 948 mlx5e_del_l2_flow_rule(struct mlx5e_flow_steering *fs, struct mlx5e_l2_rule *ai) argument 957 mlx5e_add_l2_flow_rule(struct mlx5e_flow_steering *fs, struct mlx5e_l2_rule *ai, int type) argument [all...] |
/linux-master/drivers/cdrom/ |
H A D | cdrom.c | 1615 static int dvd_do_auth(struct cdrom_device_info *cdi, dvd_authinfo *ai) argument 1626 switch (ai->type) { 1631 setup_report_key(&cgc, ai->lsa.agid, 0); 1636 ai->lsa.agid = buf[7] >> 6; 1642 setup_report_key(&cgc, ai->lsk.agid, 2); 1647 copy_key(ai->lsk.key, &buf[4]); 1653 setup_report_key(&cgc, ai->lsc.agid, 1); 1658 copy_chal(ai->lsc.chal, &buf[4]); 1666 setup_report_key(&cgc, ai->lstk.agid, 4); 1667 cgc.cmd[5] = ai 3232 dvd_authinfo ai; local [all...] |