Home
last modified time | relevance | path

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

12

/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/kernel/bpf/
Dtrampoline.c284 struct bpf_tramp_image *im; in __bpf_tramp_image_put_deferred() local
286 im = container_of(work, struct bpf_tramp_image, work); in __bpf_tramp_image_put_deferred()
287 bpf_image_ksym_del(&im->ksym); in __bpf_tramp_image_put_deferred()
288 bpf_jit_free_exec(im->image); in __bpf_tramp_image_put_deferred()
290 percpu_ref_exit(&im->pcref); in __bpf_tramp_image_put_deferred()
291 kfree_rcu(im, rcu); in __bpf_tramp_image_put_deferred()
297 struct bpf_tramp_image *im; in __bpf_tramp_image_put_rcu() local
299 im = container_of(rcu, struct bpf_tramp_image, rcu); in __bpf_tramp_image_put_rcu()
300 INIT_WORK(&im->work, __bpf_tramp_image_put_deferred); in __bpf_tramp_image_put_rcu()
301 schedule_work(&im->work); in __bpf_tramp_image_put_rcu()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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()
585 struct idmap_msg *im; in nfs_idmap_legacy_upcall() local
[all …]
/linux-6.1.9/fs/f2fs/
Dcheckpoint.c484 struct inode_management *im = &sbi->im[type]; in __add_ino_entry() local
489 e = radix_tree_lookup(&im->ino_root, ino); in __add_ino_entry()
500 spin_lock(&im->ino_lock); in __add_ino_entry()
501 e = radix_tree_lookup(&im->ino_root, ino); in __add_ino_entry()
504 spin_unlock(&im->ino_lock); in __add_ino_entry()
508 if (unlikely(radix_tree_insert(&im->ino_root, ino, e))) in __add_ino_entry()
514 list_add_tail(&e->list, &im->ino_list); in __add_ino_entry()
516 im->ino_num++; in __add_ino_entry()
522 spin_unlock(&im->ino_lock); in __add_ino_entry()
531 struct inode_management *im = &sbi->im[type]; in __remove_ino_entry() local
[all …]
/linux-6.1.9/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()
65 mod ^= im; in tb10x_irq_set_type()
66 pol ^= im; in tb10x_irq_set_type()
82 ab_irqctl_writereg(gc, AB_IRQCTL_INT_STATUS, im); in tb10x_irq_set_type()
/linux-6.1.9/drivers/scsi/bfa/
Dbfad_im.c432 (*itnim_drv)->im = bfad->im; in bfa_fcb_itnim_alloc()
455 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_free() local
479 queue_work(im->drv_workq, &itnim_drv->itnim_work); in bfa_fcb_itnim_free()
490 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_online() local
500 queue_work(im->drv_workq, &itnim_drv->itnim_work); in bfa_fcb_itnim_online()
512 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_offline() local
527 queue_work(im->drv_workq, &itnim_drv->itnim_work); in bfa_fcb_itnim_offline()
646 queue_work(bfad->im->drv_workq, in bfad_im_port_delete()
672 struct bfad_im_s *im = in bfad_aen_im_notify_handler() local
675 struct bfad_s *bfad = im->bfad; in bfad_aen_im_notify_handler()
[all …]
Dbfad_im.h107 struct bfad_im_s *im; member
171 queue_work(drv->im->drv_workq, &drv->im->aen_im_notify_work); in bfad_im_post_vendor_event()
177 void bfad_destroy_workq(struct bfad_im_s *im);
/linux-6.1.9/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.c732 static void mld_add_delrec(struct inet6_dev *idev, struct ifmcaddr6 *im) in mld_add_delrec() argument
746 pmc->idev = im->idev; in mld_add_delrec()
748 pmc->mca_addr = im->mca_addr; in mld_add_delrec()
750 pmc->mca_sfmode = im->mca_sfmode; in mld_add_delrec()
755 mc_dereference(im->mca_tomb, idev)); in mld_add_delrec()
757 mc_dereference(im->mca_sources, idev)); in mld_add_delrec()
758 RCU_INIT_POINTER(im->mca_tomb, NULL); in mld_add_delrec()
759 RCU_INIT_POINTER(im->mca_sources, NULL); in mld_add_delrec()
770 static void mld_del_delrec(struct inet6_dev *idev, struct ifmcaddr6 *im) in mld_del_delrec() argument
773 struct in6_addr *pmca = &im->mca_addr; in mld_del_delrec()
[all …]
/linux-6.1.9/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; in __ar955x_tx_iq_cal_sort() local
1010 for (im = 0; im < nmeasurement; im++) { in __ar955x_tx_iq_cal_sort()
[all …]
/linux-6.1.9/arch/mips/lantiq/
Dirq.c81 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_disable_irq() local
89 ltq_icu_w32(vpe, im, in ltq_disable_irq()
90 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_disable_irq()
99 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_mask_and_ack_irq() local
107 ltq_icu_w32(vpe, im, in ltq_mask_and_ack_irq()
108 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_mask_and_ack_irq()
110 ltq_icu_w32(vpe, im, BIT(offset), LTQ_ICU_ISR); in ltq_mask_and_ack_irq()
118 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_ack_irq() local
126 ltq_icu_w32(vpe, im, BIT(offset), LTQ_ICU_ISR); in ltq_ack_irq()
134 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_enable_irq() local
[all …]
/linux-6.1.9/drivers/tty/serial/
Damba-pl011.c258 unsigned int im; /* interrupt mask */ member
710 uap->im &= ~UART011_TXIM; in pl011_dma_tx_irq()
711 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_tx_irq()
720 uap->im &= ~UART011_TXIM; in pl011_dma_tx_irq()
721 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_tx_irq()
760 uap->im &= ~UART011_TXIM; in pl011_dma_tx_start()
761 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_tx_start()
863 uap->im &= ~UART011_RXIM; in pl011_dma_rx_trigger_dma()
864 pl011_write(uap->im, uap, REG_IMSC); in pl011_dma_rx_trigger_dma()
988 uap->im |= UART011_RXIM; in pl011_dma_rx_irq()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/net/sunrpc/
Dsvcauth_unix.c108 struct ip_map *im = container_of(item, struct ip_map,h); in ip_map_put() local
112 auth_domain_put(&im->m_client->h); in ip_map_put()
113 kfree_rcu(im, m_rcu); in ip_map_put()
162 struct ip_map *im = container_of(h, struct ip_map, h); in ip_map_request() local
164 if (ipv6_addr_v4mapped(&(im->m_addr))) { in ip_map_request()
165 snprintf(text_addr, 20, "%pI4", &im->m_addr.s6_addr32[3]); in ip_map_request()
167 snprintf(text_addr, 40, "%pI6", &im->m_addr); in ip_map_request()
169 qword_add(bpp, blen, im->m_class); in ip_map_request()
263 struct ip_map *im; in ip_map_show() local
271 im = container_of(h, struct ip_map, h); in ip_map_show()
[all …]
/linux-6.1.9/drivers/i2c/busses/
Di2c-iop3xx.c360 int im = 0; in iop3xx_i2c_master_xfer() local
368 for (im = 0; ret == 0 && im != num; im++) { in iop3xx_i2c_master_xfer()
369 ret = iop3xx_i2c_handle_msg(i2c_adap, &msgs[im]); in iop3xx_i2c_master_xfer()
377 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()
/linux-6.1.9/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 …]
/linux-6.1.9/sound/pci/ali5451/
Dali5451.c1832 struct snd_ali_image *im; in ali_suspend() local
1835 im = chip->image; in ali_suspend()
1836 if (!im) in ali_suspend()
1845 im->regs[ALI_MISCINT >> 2] = inl(ALI_REG(chip, ALI_MISCINT)); in ali_suspend()
1847 im->regs[ALI_STOP >> 2] = inl(ALI_REG(chip, ALI_STOP)); in ali_suspend()
1855 im->regs[i] = inl(ALI_REG(chip, i*4)); in ali_suspend()
1861 im->channel_regs[i][j] = inl(ALI_REG(chip, j*4 + 0xe0)); in ali_suspend()
1875 struct snd_ali_image *im; in ali_resume() local
1878 im = chip->image; in ali_resume()
1879 if (!im) in ali_resume()
[all …]
/linux-6.1.9/drivers/gpio/
Dgpio-pch.c232 u32 im, im_pos, val; in pch_irq_type() local
270 im = ioread32(im_reg) & ~(PCH_IM_MASK << (im_pos * 4)); in pch_irq_type()
271 iowrite32(im | (val << (im_pos * 4)), im_reg); in pch_irq_type()
Dgpio-ml-ioh.c235 u32 im; in ioh_irq_type() local
284 im = ioread32(im_reg) & ~(IOH_IM_MASK << (im_pos * 4)); in ioh_irq_type()
285 iowrite32(im | (val << (im_pos * 4)), im_reg); in ioh_irq_type()
/linux-6.1.9/Documentation/devicetree/bindings/power/supply/
Dmaxim,ds2760.yaml31 Time im milliseconds to cache the data for.
/linux-6.1.9/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()
/linux-6.1.9/include/linux/
Dhp_sdc.h270 uint8_t im; /* Interrupt mask */ member

12