/Linux-v4.19/drivers/uwb/ |
D | allocator.c | 24 static void uwb_rsv_fill_column_alloc(struct uwb_rsv_alloc_info *ai) in uwb_rsv_fill_column_alloc() argument 27 unsigned char *bm = ai->bm; in uwb_rsv_fill_column_alloc() 28 struct uwb_rsv_col_info *ci = ai->ci; in uwb_rsv_fill_column_alloc() 54 static void uwb_rsv_fill_row_alloc(struct uwb_rsv_alloc_info *ai) in uwb_rsv_fill_row_alloc() argument 57 unsigned char *bm = ai->bm; in uwb_rsv_fill_row_alloc() 58 struct uwb_rsv_row_info *ri = &ai->ri; in uwb_rsv_fill_row_alloc() 76 ai->safe_allocated_mases++; in uwb_rsv_fill_row_alloc() 78 ai->unsafe_allocated_mases++; in uwb_rsv_fill_row_alloc() 84 ai->total_allocated_mases = ai->safe_allocated_mases + ai->unsafe_allocated_mases; in uwb_rsv_fill_row_alloc() 137 static int uwb_rsv_find_best_column_set(struct uwb_rsv_alloc_info *ai, int interval, in uwb_rsv_find_best_column_set() argument [all …]
|
/Linux-v4.19/drivers/mtd/ubi/ |
D | attach.c | 92 static int self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *ai); 116 static struct ubi_ainf_volume *find_or_add_av(struct ubi_attach_info *ai, in find_or_add_av() argument 121 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; in find_or_add_av() 153 if (vol_id > ai->highest_vol_id) in find_or_add_av() 154 ai->highest_vol_id = vol_id; in find_or_add_av() 157 rb_insert_color(&av->rb, &ai->volumes); in find_or_add_av() 158 ai->vols_found += 1; in find_or_add_av() 174 static struct ubi_ainf_volume *ubi_find_or_add_av(struct ubi_attach_info *ai, in ubi_find_or_add_av() argument 177 return find_or_add_av(ai, vol_id, AV_FIND_OR_ADD, created); in ubi_find_or_add_av() 191 struct ubi_ainf_peb *ubi_alloc_aeb(struct ubi_attach_info *ai, int pnum, in ubi_alloc_aeb() argument [all …]
|
D | vtbl.c | 298 static int create_vtbl(struct ubi_device *ubi, struct ubi_attach_info *ai, in create_vtbl() argument 315 new_aeb = ubi_early_get_peb(ubi, ai); in create_vtbl() 327 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum); in create_vtbl() 343 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0); in create_vtbl() 344 ubi_free_aeb(ai, new_aeb); in create_vtbl() 354 list_add(&new_aeb->u.list, &ai->erase); in create_vtbl() 357 ubi_free_aeb(ai, new_aeb); in create_vtbl() 375 struct ubi_attach_info *ai, in process_lvol() argument 451 err = create_vtbl(ubi, ai, 1, leb[0]); in process_lvol() 474 err = create_vtbl(ubi, ai, 0, leb[1]); in process_lvol() [all …]
|
D | fastmap.c | 145 static int add_aeb(struct ubi_attach_info *ai, struct list_head *list, in add_aeb() argument 150 aeb = ubi_alloc_aeb(ai, pnum, ec); in add_aeb() 158 ai->ec_sum += aeb->ec; in add_aeb() 159 ai->ec_count++; in add_aeb() 161 if (ai->max_ec < aeb->ec) in add_aeb() 162 ai->max_ec = aeb->ec; in add_aeb() 164 if (ai->min_ec > aeb->ec) in add_aeb() 165 ai->min_ec = aeb->ec; in add_aeb() 184 static struct ubi_ainf_volume *add_vol(struct ubi_attach_info *ai, int vol_id, in add_vol() argument 190 av = ubi_add_av(ai, vol_id); in add_vol() [all …]
|
D | ubi.h | 835 struct ubi_ainf_peb *ubi_alloc_aeb(struct ubi_attach_info *ai, int pnum, 837 void ubi_free_aeb(struct ubi_attach_info *ai, struct ubi_ainf_peb *aeb); 838 int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, 840 struct ubi_ainf_volume *ubi_add_av(struct ubi_attach_info *ai, int vol_id); 841 struct ubi_ainf_volume *ubi_find_av(const struct ubi_attach_info *ai, 843 void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av); 845 struct ubi_attach_info *ai); 847 void ubi_destroy_ai(struct ubi_attach_info *ai); 854 int ubi_read_volume_table(struct ubi_device *ubi, struct ubi_attach_info *ai); 912 int ubi_eba_init(struct ubi_device *ubi, struct ubi_attach_info *ai); [all …]
|
/Linux-v4.19/drivers/net/wireless/cisco/ |
D | airo.c | 1108 static int enable_MAC(struct airo_info *ai, int lock); 1109 static void disable_MAC(struct airo_info *ai, int lock); 1132 static void mpi_receive_802_3(struct airo_info *ai); 1133 static void mpi_receive_802_11(struct airo_info *ai); 1134 static int waitbusy (struct airo_info *ai); 1147 static void micinit(struct airo_info *ai); 1148 static int micsetup(struct airo_info *ai); 1149 static int encapsulate(struct airo_info *ai, etherHead *pPacket, MICBuffer *buffer, int len); 1150 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *pPacket, u16 payLen); 1155 static void airo_networks_free(struct airo_info *ai); [all …]
|
/Linux-v4.19/mm/ |
D | percpu.c | 1298 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai); 1882 struct pcpu_alloc_info *ai; in pcpu_alloc_alloc_info() local 1887 base_size = ALIGN(sizeof(*ai) + nr_groups * sizeof(ai->groups[0]), in pcpu_alloc_alloc_info() 1888 __alignof__(ai->groups[0].cpu_map[0])); in pcpu_alloc_alloc_info() 1889 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); in pcpu_alloc_alloc_info() 1894 ai = ptr; in pcpu_alloc_alloc_info() 1897 ai->groups[0].cpu_map = ptr; in pcpu_alloc_alloc_info() 1900 ai->groups[0].cpu_map[unit] = NR_CPUS; in pcpu_alloc_alloc_info() 1902 ai->nr_groups = nr_groups; in pcpu_alloc_alloc_info() 1903 ai->__ai_size = PFN_ALIGN(ai_size); in pcpu_alloc_alloc_info() [all …]
|
D | percpu-km.c | 101 static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai) in pcpu_verify_alloc_info() argument 106 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info() 111 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; in pcpu_verify_alloc_info()
|
D | percpu-internal.h | 123 static inline void pcpu_stats_save_ai(const struct pcpu_alloc_info *ai) in pcpu_stats_save_ai() argument 125 memcpy(&pcpu_stats_ai, ai, sizeof(struct pcpu_alloc_info)); in pcpu_stats_save_ai() 203 static inline void pcpu_stats_save_ai(const struct pcpu_alloc_info *ai) in pcpu_stats_save_ai() argument
|
/Linux-v4.19/drivers/media/pci/ttpci/ |
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 …]
|
D | av7110_ipack.c | 48 struct dvb_audio_info ai; in send_ipack() local 65 ai.off = 0; in send_ipack() 70 p->count - ac3_off, &ai, 0); in send_ipack() 73 ai.framesize + 1; in send_ipack() 77 ac3_off += nframes * ai.framesize - p->count; in send_ipack()
|
/Linux-v4.19/net/ipv4/ |
D | tcp_highspeed.c | 96 u32 ai; member 104 ca->ai = 0; in hstcp_init() 129 if (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd) { in hstcp_cong_avoid() 130 while (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd && in hstcp_cong_avoid() 131 ca->ai < HSTCP_AIMD_MAX - 1) in hstcp_cong_avoid() 132 ca->ai++; in hstcp_cong_avoid() 133 } else if (ca->ai && tp->snd_cwnd <= hstcp_aimd_vals[ca->ai-1].cwnd) { in hstcp_cong_avoid() 134 while (ca->ai && tp->snd_cwnd <= hstcp_aimd_vals[ca->ai-1].cwnd) in hstcp_cong_avoid() 135 ca->ai--; in hstcp_cong_avoid() 141 tp->snd_cwnd_cnt += ca->ai + 1; in hstcp_cong_avoid() [all …]
|
/Linux-v4.19/arch/ia64/mm/ |
D | contig.c | 103 struct pcpu_alloc_info *ai; in setup_per_cpu_areas() local 109 ai = pcpu_alloc_alloc_info(1, num_possible_cpus()); in setup_per_cpu_areas() 110 if (!ai) in setup_per_cpu_areas() 112 gi = &ai->groups[0]; in setup_per_cpu_areas() 126 ai->static_size = static_size; in setup_per_cpu_areas() 127 ai->reserved_size = reserved_size; in setup_per_cpu_areas() 128 ai->dyn_size = dyn_size; in setup_per_cpu_areas() 129 ai->unit_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas() 130 ai->atom_size = PAGE_SIZE; in setup_per_cpu_areas() 131 ai->alloc_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas() [all …]
|
D | discontig.c | 183 struct pcpu_alloc_info *ai; in setup_per_cpu_areas() local 192 ai = pcpu_alloc_alloc_info(MAX_NUMNODES, nr_cpu_ids); in setup_per_cpu_areas() 193 if (!ai) in setup_per_cpu_areas() 195 cpu_map = ai->groups[0].cpu_map; in setup_per_cpu_areas() 220 ai->static_size = static_size; in setup_per_cpu_areas() 221 ai->reserved_size = reserved_size; in setup_per_cpu_areas() 222 ai->dyn_size = dyn_size; in setup_per_cpu_areas() 223 ai->unit_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas() 224 ai->atom_size = PAGE_SIZE; in setup_per_cpu_areas() 225 ai->alloc_size = PERCPU_PAGE_SIZE; in setup_per_cpu_areas() [all …]
|
/Linux-v4.19/tools/testing/vsock/ |
D | control.c | 46 struct addrinfo *ai; in control_init() local 55 for (ai = result; ai; ai = ai->ai_next) { in control_init() 59 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in control_init() 64 if (connect(fd, ai->ai_addr, ai->ai_addrlen) < 0) in control_init() 78 if (bind(fd, ai->ai_addr, ai->ai_addrlen) < 0) in control_init()
|
/Linux-v4.19/drivers/misc/cxl/ |
D | flash.c | 229 struct cxl_adapter_image *ai) in handle_image() argument 238 need_header = (ai->flags & CXL_AI_NEED_HEADER); in handle_image() 249 header->image_length = cpu_to_be64(ai->len_image); in handle_image() 253 len_chunk = ai->len_data; in handle_image() 279 from = (void *) ai->data; in handle_image() 323 struct cxl_adapter_image *ai) in transfer_image() argument 331 &cxl_h_download_adapter_image, ai); in transfer_image() 340 &cxl_h_validate_adapter_image, ai); in transfer_image() 374 struct cxl_adapter_image ai; in ioctl_transfer_image() local 378 if (copy_from_user(&ai, uai, sizeof(struct cxl_adapter_image))) in ioctl_transfer_image() [all …]
|
/Linux-v4.19/tools/usb/usbip/src/ |
D | usbipd.c | 372 static void addrinfo_to_text(struct addrinfo *ai, char buf[], in addrinfo_to_text() argument 381 rc = getnameinfo(ai->ai_addr, ai->ai_addrlen, hbuf, sizeof(hbuf), in addrinfo_to_text() 392 struct addrinfo *ai; in listen_all_addrinfo() local 397 for (ai = ai_head; ai && nsockfd < maxsockfd; ai = ai->ai_next) { in listen_all_addrinfo() 400 addrinfo_to_text(ai, ai_buf, ai_buf_size); in listen_all_addrinfo() 402 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in listen_all_addrinfo() 415 ret = bind(sock, ai->ai_addr, ai->ai_addrlen); in listen_all_addrinfo()
|
/Linux-v4.19/drivers/clk/ti/ |
D | dpll3xxx.c | 144 u8 ai; in _omap3_noncore_dpll_lock() local 158 ai = omap3_dpll_autoidle_read(clk); in _omap3_noncore_dpll_lock() 160 if (ai) in _omap3_noncore_dpll_lock() 167 if (ai) in _omap3_noncore_dpll_lock() 190 u8 ai; in _omap3_noncore_dpll_bypass() local 198 ai = omap3_dpll_autoidle_read(clk); in _omap3_noncore_dpll_bypass() 204 if (ai) in _omap3_noncore_dpll_bypass() 221 u8 ai; in _omap3_noncore_dpll_stop() local 228 ai = omap3_dpll_autoidle_read(clk); in _omap3_noncore_dpll_stop() 232 if (ai) in _omap3_noncore_dpll_stop() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/ |
D | spu_save_crt0.S | 60 ai $4, $4, 4 69 ai $3, $3, 64 85 ai $SP, $SP, -160
|
D | spu_restore_crt0.S | 51 ai $SP, $SP, -160 65 ai $4, $4, 4 74 ai $3, $3, 64
|
/Linux-v4.19/drivers/cdrom/ |
D | cdrom.c | 1637 static int dvd_do_auth(struct cdrom_device_info *cdi, dvd_authinfo *ai) in dvd_do_auth() argument 1648 switch (ai->type) { in dvd_do_auth() 1653 setup_report_key(&cgc, ai->lsa.agid, 0); in dvd_do_auth() 1658 ai->lsa.agid = buf[7] >> 6; in dvd_do_auth() 1664 setup_report_key(&cgc, ai->lsk.agid, 2); in dvd_do_auth() 1669 copy_key(ai->lsk.key, &buf[4]); in dvd_do_auth() 1675 setup_report_key(&cgc, ai->lsc.agid, 1); in dvd_do_auth() 1680 copy_chal(ai->lsc.chal, &buf[4]); in dvd_do_auth() 1688 setup_report_key(&cgc, ai->lstk.agid, 4); in dvd_do_auth() 1689 cgc.cmd[5] = ai->lstk.lba; in dvd_do_auth() [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs.c | 42 struct mlx5e_l2_rule *ai, int type); 44 struct mlx5e_l2_rule *ai); 68 struct mlx5e_l2_rule ai; member 84 if (ether_addr_equal_64bits(hn->ai.addr, addr)) { in mlx5e_add_l2_to_hash() 98 ether_addr_copy(hn->ai.addr, addr); in mlx5e_add_l2_to_hash() 434 ether_addr_copy(mac_addr, hn->ai.addr); in mlx5e_execute_l2_action() 438 mlx5e_add_l2_flow_rule(priv, &hn->ai, MLX5E_FULLMATCH); in mlx5e_execute_l2_action() 449 mlx5e_del_l2_flow_rule(priv, &hn->ai); in mlx5e_execute_l2_action() 497 if (ether_addr_equal(ndev->dev_addr, hn->ai.addr)) in mlx5e_fill_addr_array() 501 ether_addr_copy(addr_array[i++], hn->ai.addr); in mlx5e_fill_addr_array() [all …]
|
/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_prs.h | 61 #define MVPP2_PRS_TCAM_AI(ai) (ai) argument 62 #define MVPP2_PRS_TCAM_AI_EN(ai) MVPP2_PRS_TCAM_EN(MVPP2_PRS_TCAM_AI(ai)) argument
|
/Linux-v4.19/Documentation/translations/it_IT/doc-guide/ |
D | parse-headers.rst | 12 fra il codice e la documentazione. Aggiungere i riferimenti ai file dell'API 128 La dichiarazione ignore o replace verrà applicata ai nomi di strutture 135 La dichiarazione ignore o replace verrà applicata ai nomi di enumerati 142 La dichiarazione ignore o replace verrà applicata ai nomi di valori di 178 Genererà un riferimento ai valori BAR1 e BAR2 dal simbolo foo nel dominio C.
|
/Linux-v4.19/include/linux/ |
D | percpu.h | 112 extern void __init pcpu_free_alloc_info(struct pcpu_alloc_info *ai); 114 extern int __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai,
|