Home
last modified time | relevance | path

Searched +full:im +full:- (Results 1 – 25 of 194) sorted by relevance

12345678

/kernel/linux/linux-5.10/net/sched/
Dem_ipt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
42 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()
64 return -EINVAL; in policy_validate_match_data()
69 return -EINVAL; in policy_validate_match_data()
79 return -EINVAL; in addrtype_validate_match_data()
105 for (m = em_ipt_xt_matches; m->match_name; m++) { in get_xt_match()
[all …]
/kernel/linux/linux-6.6/net/sched/
Dem_ipt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
42 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()
64 return -EINVAL; in policy_validate_match_data()
69 return -EINVAL; in policy_validate_match_data()
79 return -EINVAL; in addrtype_validate_match_data()
105 for (m = em_ipt_xt_matches; m->match_name; m++) { in get_xt_match()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dtrampoline.c1 // SPDX-License-Identifier: GPL-2.0-only
46 ksym->start = (unsigned long) data; in bpf_image_ksym_add()
47 ksym->end = ksym->start + PAGE_SIZE; in bpf_image_ksym_add()
49 perf_event_ksymbol(PERF_RECORD_KSYMBOL_TYPE_BPF, ksym->start, in bpf_image_ksym_add()
50 PAGE_SIZE, false, ksym->name); in bpf_image_ksym_add()
56 perf_event_ksymbol(PERF_RECORD_KSYMBOL_TYPE_BPF, ksym->start, in bpf_image_ksym_del()
57 PAGE_SIZE, true, ksym->name); in bpf_image_ksym_del()
69 if (tr->key == key) { in bpf_trampoline_lookup()
70 refcount_inc(&tr->refcnt); in bpf_trampoline_lookup()
78 tr->key = key; in bpf_trampoline_lookup()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Digmp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
30 * Chih-Jen Chang : Tried to revise IGMP to Version 2
31 * Tsu-Sheng Tsao E-mail: chihjenc@scf.usc.edu and tsusheng@scf.usc.edu
33 * ipmulti-3.5 source code.
34 * Chih-Jen Chang : Added the igmp_get_mrouter_info and
35 * Tsu-Sheng Tsao igmp_set_mrouter_info to keep track of
37 * Chih-Jen Chang : Added the max_resp_time parameter to
38 * Tsu-Sheng Tsao igmp_heard_query(). Using this parameter
41 * Chih-Jen Chang : Added a timer to revert to IGMP V2 router
42 * Tsu-Sheng Tsao if the specified time expired.
[all …]
/kernel/linux/linux-6.6/net/ipv4/
Digmp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
30 * Chih-Jen Chang : Tried to revise IGMP to Version 2
31 * Tsu-Sheng Tsao E-mail: chihjenc@scf.usc.edu and tsusheng@scf.usc.edu
33 * ipmulti-3.5 source code.
34 * Chih-Jen Chang : Added the igmp_get_mrouter_info and
35 * Tsu-Sheng Tsao igmp_set_mrouter_info to keep track of
37 * Chih-Jen Chang : Added the max_resp_time parameter to
38 * Tsu-Sheng Tsao igmp_heard_query(). Using this parameter
41 * Chih-Jen Chang : Added a timer to revert to IGMP V2 router
42 * Tsu-Sheng Tsao if the specified time expired.
[all …]
/kernel/linux/linux-6.6/kernel/bpf/
Dtrampoline.c1 // SPDX-License-Identifier: GPL-2.0-only
37 struct bpf_trampoline *tr = ops->private; in bpf_tramp_ftrace_ops_func()
42 * tr->mutex is already locked. in bpf_tramp_ftrace_ops_func()
44 lockdep_assert_held_once(&tr->mutex); in bpf_tramp_ftrace_ops_func()
47 * -EAGAIN to register_ftrace_direct(). Then we can in bpf_tramp_ftrace_ops_func()
51 if ((tr->flags & BPF_TRAMP_F_CALL_ORIG) && in bpf_tramp_ftrace_ops_func()
52 !(tr->flags & BPF_TRAMP_F_ORIG_STACK)) { in bpf_tramp_ftrace_ops_func()
53 if (WARN_ON_ONCE(tr->flags & BPF_TRAMP_F_SHARE_IPMODIFY)) in bpf_tramp_ftrace_ops_func()
54 return -EBUSY; in bpf_tramp_ftrace_ops_func()
56 tr->flags |= BPF_TRAMP_F_SHARE_IPMODIFY; in bpf_tramp_ftrace_ops_func()
[all …]
/kernel/linux/linux-5.10/fs/f2fs/
Dcheckpoint.c1 // SPDX-License-Identifier: GPL-2.0
92 if (unlikely(page->mapping != mapping)) { in __get_meta_page()
99 return ERR_PTR(-EIO); in __get_meta_page()
118 if (PTR_ERR(page) == -EIO && in f2fs_get_meta_page_retry()
146 exist = f2fs_test_bit(offset, se->cur_valid_map); in __is_bitmap_valid()
175 blkaddr < SM_I(sbi)->ssa_blkaddr)) in f2fs_is_valid_blkaddr()
179 if (unlikely(blkaddr >= SIT_I(sbi)->sit_base_addr || in f2fs_is_valid_blkaddr()
239 for (; nrpages-- > 0; blkno++) { in f2fs_ra_meta_pages()
247 NAT_BLOCK_OFFSET(NM_I(sbi)->max_nid))) in f2fs_ra_meta_pages()
287 return blkno - start; in f2fs_ra_meta_pages()
[all …]
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4idmap.c45 #include <linux/key-type.h>
46 #include <keys/user-type.h>
47 #include <keys/request_key_auth-type.h>
78 if (idmap && idmap->user_ns) in idmap_userns()
79 return idmap->user_ns; in idmap_userns()
84 * nfs_fattr_init_names - initialise the nfs_fattr owner_name/group_name fields
93 fattr->owner_name = owner_name; in nfs_fattr_init_names()
94 fattr->group_name = group_name; in nfs_fattr_init_names()
99 fattr->valid &= ~NFS_ATTR_FATTR_OWNER_NAME; in nfs_fattr_free_owner_name()
100 kfree(fattr->owner_name->data); in nfs_fattr_free_owner_name()
[all …]
/kernel/linux/linux-6.6/fs/nfs/
Dnfs4idmap.c45 #include <linux/key-type.h>
46 #include <keys/user-type.h>
47 #include <keys/request_key_auth-type.h>
78 if (idmap && idmap->user_ns) in idmap_userns()
79 return idmap->user_ns; in idmap_userns()
84 * nfs_fattr_init_names - initialise the nfs_fattr owner_name/group_name fields
93 fattr->owner_name = owner_name; in nfs_fattr_init_names()
94 fattr->group_name = group_name; in nfs_fattr_init_names()
99 fattr->valid &= ~NFS_ATTR_FATTR_OWNER_NAME; in nfs_fattr_free_owner_name()
100 kfree(fattr->owner_name->data); in nfs_fattr_free_owner_name()
[all …]
/kernel/linux/linux-6.6/fs/f2fs/
Dcheckpoint.c1 // SPDX-License-Identifier: GPL-2.0
96 if (unlikely(page->mapping != mapping)) { in __get_meta_page()
102 f2fs_handle_page_eio(sbi, page->index, META); in __get_meta_page()
104 return ERR_PTR(-EIO); in __get_meta_page()
123 if (PTR_ERR(page) == -EIO && in f2fs_get_meta_page_retry()
151 exist = f2fs_test_bit(offset, se->cur_valid_map); in __is_bitmap_valid()
188 blkaddr < SM_I(sbi)->ssa_blkaddr)) in f2fs_is_valid_blkaddr()
192 if (unlikely(blkaddr >= SIT_I(sbi)->sit_base_addr || in f2fs_is_valid_blkaddr()
257 for (; nrpages-- > 0; blkno++) { in f2fs_ra_meta_pages()
265 NAT_BLOCK_OFFSET(NM_I(sbi)->max_nid))) in f2fs_ra_meta_pages()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfad_im.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
4 * Copyright (c) 2014- QLogic Corporation.
8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter.
12 * bfad_im.c Linux driver IM module.
21 BFA_TRC_FILE(LDRV, IM);
52 memcpy(cmnd->sense_buffer, sns_info, sns_len); in bfa_cb_ioim_done()
59 (scsi_bufflen(cmnd) - residue) < in bfa_cb_ioim_done()
60 cmnd->underflow) { in bfa_cb_ioim_done()
65 cmnd->result = host_status << 16 | scsi_status; in bfa_cb_ioim_done()
[all …]
/kernel/linux/linux-6.6/drivers/scsi/bfa/
Dbfad_im.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
4 * Copyright (c) 2014- QLogic Corporation.
8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter.
12 * bfad_im.c Linux driver IM module.
21 BFA_TRC_FILE(LDRV, IM);
52 memcpy(cmnd->sense_buffer, sns_info, sns_len); in bfa_cb_ioim_done()
59 (scsi_bufflen(cmnd) - residue) < in bfa_cb_ioim_done()
60 cmnd->underflow) { in bfa_cb_ioim_done()
65 cmnd->result = host_status << 16 | scsi_status; in bfa_cb_ioim_done()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar9003_calib.c2 * Copyright (c) 2010-2011 Atheros Communications Inc.
18 #include "hw-ops.h"
44 switch (currCal->calData->calType) { in ar9003_hw_setup_calibration()
52 currCal->calData->calCountMax); in ar9003_hw_setup_calibration()
58 /* Kick-off cal */ in ar9003_hw_setup_calibration()
77 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_per_calibration()
78 const struct ath9k_percal_data *cur_caldata = currCal->calData; in ar9003_hw_per_calibration()
81 if (currCal->calState == CAL_RUNNING) { in ar9003_hw_per_calibration()
89 cur_caldata->calCollect(ah); in ar9003_hw_per_calibration()
90 ah->cal_samples++; in ar9003_hw_per_calibration()
[all …]
/kernel/linux/linux-6.6/net/ipv6/
Danycast.c1 // SPDX-License-Identifier: GPL-2.0-or-later
70 int ishost = !net->ipv6.devconf_all->forwarding; in ipv6_sock_ac_join()
75 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in ipv6_sock_ac_join()
76 return -EPERM; in ipv6_sock_ac_join()
78 return -EINVAL; in ipv6_sock_ac_join()
84 return -EINVAL; in ipv6_sock_ac_join()
88 return -ENOMEM; in ipv6_sock_ac_join()
89 pac->acl_next = NULL; in ipv6_sock_ac_join()
90 pac->acl_addr = *addr; in ipv6_sock_ac_join()
97 dev = rt->dst.dev; in ipv6_sock_ac_join()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Danycast.c1 // SPDX-License-Identifier: GPL-2.0-or-later
70 int ishost = !net->ipv6.devconf_all->forwarding; in ipv6_sock_ac_join()
75 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in ipv6_sock_ac_join()
76 return -EPERM; in ipv6_sock_ac_join()
78 return -EINVAL; in ipv6_sock_ac_join()
84 return -EINVAL; in ipv6_sock_ac_join()
88 return -ENOMEM; in ipv6_sock_ac_join()
89 pac->acl_next = NULL; in ipv6_sock_ac_join()
90 pac->acl_addr = *addr; in ipv6_sock_ac_join()
97 dev = rt->dst.dev; in ipv6_sock_ac_join()
[all …]
Dmcast.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 * yoshfuji : fix format of router-alert option
17 * <draft-ietf-magma-mld-source-05.txt>.
19 * - Ignore Queries for invalid addresses.
20 * - MLD for link-local addresses.
22 * - MLDv2 support
117 for (pmc = rcu_dereference(np->ipv6_mc_list); \
119 pmc = rcu_dereference(pmc->next))
126 iv = idev->cnf.mldv1_unsolicited_report_interval; in unsolicited_report_interval()
128 iv = idev->cnf.mldv2_unsolicited_report_interval; in unsolicited_report_interval()
[all …]
/kernel/linux/linux-6.6/drivers/irqchip/
Dirq-tb10x.c1 // SPDX-License-Identifier: GPL-2.0-only
44 uint32_t im, mod, pol; in tb10x_irq_set_type() local
46 im = data->mask; in tb10x_irq_set_type()
50 mod = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_MODE) | im; in tb10x_irq_set_type()
51 pol = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_POLARITY) | im; in tb10x_irq_set_type()
55 pol ^= im; in tb10x_irq_set_type()
58 mod ^= im; in tb10x_irq_set_type()
64 mod ^= im; in tb10x_irq_set_type()
65 pol ^= im; in tb10x_irq_set_type()
72 __func__, data->irq); in tb10x_irq_set_type()
[all …]
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-tb10x.c1 // SPDX-License-Identifier: GPL-2.0-only
45 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()
72 __func__, data->irq); in tb10x_irq_set_type()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/83xx/
Dmpc837x_rdb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
23 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()
65 * Called very early, MMU is off, device-tree isn't unflattened
/kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/
Dmpc837x_rdb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
23 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()
65 * Called very early, MMU is off, device-tree isn't unflattened
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
Dar9003_calib.c2 * Copyright (c) 2010-2011 Atheros Communications Inc.
18 #include "hw-ops.h"
44 switch (currCal->calData->calType) { in ar9003_hw_setup_calibration()
52 currCal->calData->calCountMax); in ar9003_hw_setup_calibration()
58 /* Kick-off cal */ in ar9003_hw_setup_calibration()
77 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_per_calibration()
78 const struct ath9k_percal_data *cur_caldata = currCal->calData; in ar9003_hw_per_calibration()
81 if (currCal->calState == CAL_RUNNING) { in ar9003_hw_per_calibration()
89 cur_caldata->calCollect(ah); in ar9003_hw_per_calibration()
90 ah->cal_samples++; in ar9003_hw_per_calibration()
[all …]
/kernel/linux/linux-6.6/arch/mips/lantiq/
Dirq.c1 // SPDX-License-Identifier: GPL-2.0-only
23 /* register definitions - internal irqs */
32 /* register definitions - external irqs */
75 return -1; in ltq_eiu_get_irq()
80 unsigned long offset = d->hwirq - MIPS_CPU_IRQ_CASCADE; in ltq_disable_irq()
81 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()
98 unsigned long offset = d->hwirq - MIPS_CPU_IRQ_CASCADE; in ltq_mask_and_ack_irq()
99 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_mask_and_ack_irq() local
[all …]
/kernel/linux/linux-5.10/arch/mips/lantiq/
Dirq.c1 // SPDX-License-Identifier: GPL-2.0-only
22 /* register definitions - internal irqs */
31 /* register definitions - external irqs */
74 return -1; in ltq_eiu_get_irq()
79 unsigned long offset = d->hwirq - MIPS_CPU_IRQ_CASCADE; in ltq_disable_irq()
80 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()
97 unsigned long offset = d->hwirq - MIPS_CPU_IRQ_CASCADE; in ltq_mask_and_ack_irq()
98 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_mask_and_ack_irq() local
[all …]
/kernel/linux/linux-6.6/drivers/clk/versatile/
Dclk-impd1.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Clock driver for the ARM Integrator/IM-PD1 board
4 * Copyright (C) 2012-2013 Linus Walleij
6 #include <linux/clk-provider.h>
16 #include "clk-icst.h"
23 * There are two VCO's on the IM-PD1
67 struct clk *clk = ERR_PTR(-EINVAL); in integrator_impd1_clk_spawn()
68 const char *name = np->name; in integrator_impd1_clk_spawn()
75 pr_err("no regmap for syscon IM-PD1 ICST clock parent\n"); in integrator_impd1_clk_spawn()
79 if (of_device_is_compatible(np, "arm,impd1-vco1")) { in integrator_impd1_clk_spawn()
[all …]
/kernel/linux/linux-5.10/drivers/clk/versatile/
Dclk-impd1.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Clock driver for the ARM Integrator/IM-PD1 board
4 * Copyright (C) 2012-2013 Linus Walleij
6 #include <linux/clk-provider.h>
16 #include "clk-icst.h"
23 * There are two VCO's on the IM-PD1
67 struct clk *clk = ERR_PTR(-EINVAL); in integrator_impd1_clk_spawn()
68 const char *name = np->name; in integrator_impd1_clk_spawn()
75 pr_err("no regmap for syscon IM-PD1 ICST clock parent\n"); in integrator_impd1_clk_spawn()
79 if (of_device_is_compatible(np, "arm,impd1-vco1")) { in integrator_impd1_clk_spawn()
[all …]

12345678