Home
last modified time | relevance | path

Searched refs:im (Results 1 – 25 of 49) sorted by relevance

12

/kernel/linux/linux-5.10/net/sched/
Dem_ipt.c42 static int check_match(struct net *net, struct em_ipt_match *im, int mdata_len) in check_match() argument
52 mtpar.hook_mask = 1 << im->hook; in check_match()
53 mtpar.family = im->match->family; in check_match()
54 mtpar.match = im->match; in check_match()
56 mtpar.matchinfo = (void *)im->match_data; in check_match()
130 struct em_ipt_match *im = NULL; in em_ipt_change() local
160 im = kzalloc(sizeof(*im) + mdata_len, GFP_KERNEL); in em_ipt_change()
161 if (!im) { in em_ipt_change()
166 im->match = match; in em_ipt_change()
167 im->hook = nla_get_u32(tb[TCA_EM_IPT_HOOK]); in em_ipt_change()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dtrampoline.c170 struct bpf_tramp_image *im; in __bpf_tramp_image_put_deferred() local
172 im = container_of(work, struct bpf_tramp_image, work); in __bpf_tramp_image_put_deferred()
173 bpf_image_ksym_del(&im->ksym); in __bpf_tramp_image_put_deferred()
174 bpf_jit_free_exec(im->image); in __bpf_tramp_image_put_deferred()
176 percpu_ref_exit(&im->pcref); in __bpf_tramp_image_put_deferred()
177 kfree_rcu(im, rcu); in __bpf_tramp_image_put_deferred()
183 struct bpf_tramp_image *im; in __bpf_tramp_image_put_rcu() local
185 im = container_of(rcu, struct bpf_tramp_image, rcu); in __bpf_tramp_image_put_rcu()
186 INIT_WORK(&im->work, __bpf_tramp_image_put_deferred); in __bpf_tramp_image_put_rcu()
187 schedule_work(&im->work); in __bpf_tramp_image_put_rcu()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Digmp.c156 static void igmpv3_add_delrec(struct in_device *in_dev, struct ip_mc_list *im,
158 static void igmpv3_del_delrec(struct in_device *in_dev, struct ip_mc_list *im);
167 static void ip_ma_put(struct ip_mc_list *im) in ip_ma_put() argument
169 if (refcount_dec_and_test(&im->refcnt)) { in ip_ma_put()
170 in_dev_put(im->interface); in ip_ma_put()
171 kfree_rcu(im, rcu); in ip_ma_put()
202 static void igmp_stop_timer(struct ip_mc_list *im) in igmp_stop_timer() argument
204 spin_lock_bh(&im->lock); in igmp_stop_timer()
205 if (del_timer(&im->timer)) in igmp_stop_timer()
206 refcount_dec(&im->refcnt); in igmp_stop_timer()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/
Dmpc837x_rdb.c23 void __iomem *im; in mpc837x_rdb_sd_cfg() local
25 im = ioremap(get_immrbase(), 0x1000); in mpc837x_rdb_sd_cfg()
26 if (!im) { in mpc837x_rdb_sd_cfg()
35 clrsetbits_be32(im + MPC83XX_SICRL_OFFS, MPC837X_SICRL_USBB_MASK, in mpc837x_rdb_sd_cfg()
37 clrsetbits_be32(im + MPC83XX_SICRH_OFFS, MPC837X_SICRH_SPI_MASK, in mpc837x_rdb_sd_cfg()
39 iounmap(im); in mpc837x_rdb_sd_cfg()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4idmap.c512 struct idmap_msg *im, in nfs_idmap_prepare_message() argument
518 im->im_type = IDMAP_TYPE_GROUP; in nfs_idmap_prepare_message()
523 im->im_type = IDMAP_TYPE_USER; in nfs_idmap_prepare_message()
526 im->im_conv = IDMAP_CONV_NAMETOID; in nfs_idmap_prepare_message()
527 ret = match_strlcpy(im->im_name, &substr, IDMAP_NAMESZ); in nfs_idmap_prepare_message()
531 im->im_type = IDMAP_TYPE_USER; in nfs_idmap_prepare_message()
534 im->im_conv = IDMAP_CONV_IDTONAME; in nfs_idmap_prepare_message()
535 ret = match_int(&substr, &im->im_id); in nfs_idmap_prepare_message()
545 msg->data = im; in nfs_idmap_prepare_message()
587 struct idmap_msg *im; in nfs_idmap_legacy_upcall() local
[all …]
/kernel/linux/linux-5.10/fs/f2fs/
Dcheckpoint.c466 struct inode_management *im = &sbi->im[type]; in __add_ino_entry() local
473 spin_lock(&im->ino_lock); in __add_ino_entry()
474 e = radix_tree_lookup(&im->ino_root, ino); in __add_ino_entry()
477 if (unlikely(radix_tree_insert(&im->ino_root, ino, e))) in __add_ino_entry()
483 list_add_tail(&e->list, &im->ino_list); in __add_ino_entry()
485 im->ino_num++; in __add_ino_entry()
491 spin_unlock(&im->ino_lock); in __add_ino_entry()
500 struct inode_management *im = &sbi->im[type]; in __remove_ino_entry() local
503 spin_lock(&im->ino_lock); in __remove_ino_entry()
504 e = radix_tree_lookup(&im->ino_root, ino); in __remove_ino_entry()
[all …]
Ddebug.c135 si->append = sbi->im[APPEND_INO].ino_num; in update_general_status()
136 si->update = sbi->im[UPDATE_INO].ino_num; in update_general_status()
137 si->orphans = sbi->im[ORPHAN_INO].ino_num; in update_general_status()
287 si->cache_mem += sbi->im[i].ino_num * sizeof(struct ino_entry); in update_mem_info()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar9003_calib.c892 int i, im, nmeasurement; in ar9003_hw_tx_iq_cal_outlier_detection() local
941 for (im = 0; im < nmeasurement; im++) { in ar9003_hw_tx_iq_cal_outlier_detection()
942 magnitude = coeff->mag_coeff[i][im][0]; in ar9003_hw_tx_iq_cal_outlier_detection()
943 phase = coeff->phs_coeff[i][im][0]; in ar9003_hw_tx_iq_cal_outlier_detection()
948 if ((im % 2) == 0) in ar9003_hw_tx_iq_cal_outlier_detection()
949 REG_RMW_FIELD(ah, tx_corr_coeff[im][i], in ar9003_hw_tx_iq_cal_outlier_detection()
953 REG_RMW_FIELD(ah, tx_corr_coeff[im][i], in ar9003_hw_tx_iq_cal_outlier_detection()
958 caldata->tx_corr_coeff[im][i] = in ar9003_hw_tx_iq_cal_outlier_detection()
1008 int im, ix, iy, temp; in __ar955x_tx_iq_cal_sort() local
1010 for (im = 0; im < nmeasurement; im++) { in __ar955x_tx_iq_cal_sort()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfad_im.c433 (*itnim_drv)->im = bfad->im; in bfa_fcb_itnim_alloc()
456 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_free() local
480 queue_work(im->drv_workq, &itnim_drv->itnim_work); in bfa_fcb_itnim_free()
491 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_online() local
501 queue_work(im->drv_workq, &itnim_drv->itnim_work); in bfa_fcb_itnim_online()
513 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_offline() local
528 queue_work(im->drv_workq, &itnim_drv->itnim_work); in bfa_fcb_itnim_offline()
647 queue_work(bfad->im->drv_workq, in bfad_im_port_delete()
673 struct bfad_im_s *im = in bfad_aen_im_notify_handler() local
676 struct bfad_s *bfad = im->bfad; in bfad_aen_im_notify_handler()
[all …]
Dbfad_im.h91 struct bfad_im_s *im; member
155 queue_work(drv->im->drv_workq, &drv->im->aen_im_notify_work); in bfad_im_post_vendor_event()
161 void bfad_destroy_workq(struct bfad_im_s *im);
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-tb10x.c45 uint32_t im, mod, pol; in tb10x_irq_set_type() local
47 im = data->mask; in tb10x_irq_set_type()
51 mod = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_MODE) | im; in tb10x_irq_set_type()
52 pol = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_POLARITY) | im; in tb10x_irq_set_type()
56 pol ^= im; in tb10x_irq_set_type()
59 mod ^= im; in tb10x_irq_set_type()
64 mod ^= im; in tb10x_irq_set_type()
65 pol ^= im; in tb10x_irq_set_type()
81 ab_irqctl_writereg(gc, AB_IRQCTL_INT_STATUS, im); in tb10x_irq_set_type()
/kernel/linux/linux-5.10/net/ipv6/
Danycast.c487 struct ifacaddr6 *im = NULL; in ac6_get_first() local
498 im = idev->ac_list; in ac6_get_first()
499 if (im) { in ac6_get_first()
505 return im; in ac6_get_first()
508 static struct ifacaddr6 *ac6_get_next(struct seq_file *seq, struct ifacaddr6 *im) in ac6_get_next() argument
512 im = im->aca_next; in ac6_get_next()
513 while (!im) { in ac6_get_next()
526 im = state->idev->ac_list; in ac6_get_next()
528 return im; in ac6_get_next()
533 struct ifacaddr6 *im = ac6_get_first(seq); in ac6_get_idx() local
[all …]
Dmcast.c724 static void mld_add_delrec(struct inet6_dev *idev, struct ifmcaddr6 *im) in mld_add_delrec() argument
738 spin_lock_bh(&im->mca_lock); in mld_add_delrec()
740 pmc->idev = im->idev; in mld_add_delrec()
742 pmc->mca_addr = im->mca_addr; in mld_add_delrec()
744 pmc->mca_sfmode = im->mca_sfmode; in mld_add_delrec()
748 pmc->mca_tomb = im->mca_tomb; in mld_add_delrec()
749 pmc->mca_sources = im->mca_sources; in mld_add_delrec()
750 im->mca_tomb = im->mca_sources = NULL; in mld_add_delrec()
754 spin_unlock_bh(&im->mca_lock); in mld_add_delrec()
762 static void mld_del_delrec(struct inet6_dev *idev, struct ifmcaddr6 *im) in mld_del_delrec() argument
[all …]
/kernel/linux/linux-5.10/arch/mips/lantiq/
Dirq.c80 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_disable_irq() local
88 ltq_icu_w32(vpe, im, in ltq_disable_irq()
89 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_disable_irq()
98 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_mask_and_ack_irq() local
106 ltq_icu_w32(vpe, im, in ltq_mask_and_ack_irq()
107 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_mask_and_ack_irq()
109 ltq_icu_w32(vpe, im, BIT(offset), LTQ_ICU_ISR); in ltq_mask_and_ack_irq()
117 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_ack_irq() local
125 ltq_icu_w32(vpe, im, BIT(offset), LTQ_ICU_ISR); in ltq_ack_irq()
133 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_enable_irq() local
[all …]
/kernel/linux/linux-5.10/net/sunrpc/
Dsvcauth_unix.c107 struct ip_map *im = container_of(item, struct ip_map,h); in ip_map_put() local
111 auth_domain_put(&im->m_client->h); in ip_map_put()
112 kfree_rcu(im, m_rcu); in ip_map_put()
161 struct ip_map *im = container_of(h, struct ip_map, h); in ip_map_request() local
163 if (ipv6_addr_v4mapped(&(im->m_addr))) { in ip_map_request()
164 snprintf(text_addr, 20, "%pI4", &im->m_addr.s6_addr32[3]); in ip_map_request()
166 snprintf(text_addr, 40, "%pI6", &im->m_addr); in ip_map_request()
168 qword_add(bpp, blen, im->m_class); in ip_map_request()
262 struct ip_map *im; in ip_map_show() local
270 im = container_of(h, struct ip_map, h); in ip_map_show()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-ux500/
Dpm.c113 u32 it, im; in prcmu_pending_irq() local
118 im = readl(PRCM_ARMITMSK31TO0 + i * 4); in prcmu_pending_irq()
119 if (it & im) in prcmu_pending_irq()
/kernel/linux/linux-5.10/drivers/tty/serial/
Damba-pl011.c262 unsigned int im; /* interrupt mask */ member
711 uap->im &= ~UART011_TXIM; in pl011_dma_tx_irq()
712 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_tx_irq()
721 uap->im &= ~UART011_TXIM; in pl011_dma_tx_irq()
722 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_tx_irq()
761 uap->im &= ~UART011_TXIM; in pl011_dma_tx_start()
762 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_tx_start()
864 uap->im &= ~UART011_RXIM; in pl011_dma_rx_trigger_dma()
865 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_rx_trigger_dma()
991 uap->im |= UART011_RXIM; in pl011_dma_rx_irq()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-iop3xx.c358 int im = 0; in iop3xx_i2c_master_xfer() local
366 for (im = 0; ret == 0 && im != num; im++) { in iop3xx_i2c_master_xfer()
367 ret = iop3xx_i2c_handle_msg(i2c_adap, &msgs[im]); in iop3xx_i2c_master_xfer()
375 return im; in iop3xx_i2c_master_xfer()
Di2c-sprd.c291 int im, ret; in sprd_i2c_master_xfer() local
297 for (im = 0; im < num - 1; im++) { in sprd_i2c_master_xfer()
298 ret = sprd_i2c_handle_msg(i2c_adap, &msgs[im], 0); in sprd_i2c_master_xfer()
303 ret = sprd_i2c_handle_msg(i2c_adap, &msgs[im++], 1); in sprd_i2c_master_xfer()
309 return ret < 0 ? ret : im; in sprd_i2c_master_xfer()
/kernel/linux/linux-5.10/drivers/input/serio/
Dhp_sdc.c404 hp_sdc_status_out8(hp_sdc.im | HP_SDC_CMD_SET_IM); in hp_sdc_put()
675 hp_sdc.im &= ~HP_SDC_IM_FH; in hp_sdc_request_timer_irq()
676 hp_sdc.im &= ~HP_SDC_IM_PT; in hp_sdc_request_timer_irq()
677 hp_sdc.im &= ~HP_SDC_IM_TIMERS; in hp_sdc_request_timer_irq()
698 hp_sdc.im &= ~(HP_SDC_IM_HIL | HP_SDC_IM_RESET); in hp_sdc_request_hil_irq()
720 hp_sdc.im &= ~(HP_SDC_IM_HIL | HP_SDC_IM_RESET); in hp_sdc_request_cooked_irq()
740 hp_sdc.im |= HP_SDC_IM_TIMERS; in hp_sdc_release_timer_irq()
741 hp_sdc.im |= HP_SDC_IM_FH; in hp_sdc_release_timer_irq()
742 hp_sdc.im |= HP_SDC_IM_PT; in hp_sdc_release_timer_irq()
762 hp_sdc.im |= (HP_SDC_IM_HIL | HP_SDC_IM_RESET); in hp_sdc_release_hil_irq()
[all …]
/kernel/linux/linux-5.10/sound/pci/ali5451/
Dali5451.c1833 struct snd_ali_image *im; in ali_suspend() local
1836 im = chip->image; in ali_suspend()
1837 if (!im) in ali_suspend()
1846 im->regs[ALI_MISCINT >> 2] = inl(ALI_REG(chip, ALI_MISCINT)); in ali_suspend()
1848 im->regs[ALI_STOP >> 2] = inl(ALI_REG(chip, ALI_STOP)); in ali_suspend()
1856 im->regs[i] = inl(ALI_REG(chip, i*4)); in ali_suspend()
1862 im->channel_regs[i][j] = inl(ALI_REG(chip, j*4 + 0xe0)); in ali_suspend()
1876 struct snd_ali_image *im; in ali_resume() local
1879 im = chip->image; in ali_resume()
1880 if (!im) in ali_resume()
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-pch.c227 u32 im, im_pos, val; in pch_irq_type() local
265 im = ioread32(im_reg) & ~(PCH_IM_MASK << (im_pos * 4)); in pch_irq_type()
266 iowrite32(im | (val << (im_pos * 4)), im_reg); in pch_irq_type()
Dgpio-ml-ioh.c237 u32 im; in ioh_irq_type() local
286 im = ioread32(im_reg) & ~(IOH_IM_MASK << (im_pos * 4)); in ioh_irq_type()
287 iowrite32(im | (val << (im_pos * 4)), im_reg); in ioh_irq_type()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dmaxim,ds2760.txt20 - maxim,cache-time-ms: Time im milliseconds to cache the data for. When
/kernel/linux/linux-5.10/drivers/staging/media/imx/
Dimx-media-csc-scaler.c488 static void ipu_image_from_q_data(struct ipu_image *im, in ipu_image_from_q_data() argument
493 im->pix = *fmt; in ipu_image_from_q_data()
495 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data()
497 im->pix.ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace); in ipu_image_from_q_data()
498 im->rect = q_data->rect; in ipu_image_from_q_data()

12