Home
last modified time | relevance | path

Searched refs:par (Results 201 – 225 of 444) sorted by relevance

12345678910>>...18

/linux/net/netfilter/
H A Dxt_statistic.c29 statistic_mt(const struct sk_buff *skb, struct xt_action_param *par) in statistic_mt() argument
31 const struct xt_statistic_info *info = par->matchinfo; in statistic_mt()
53 static int statistic_mt_check(const struct xt_mtchk_param *par) in statistic_mt_check() argument
55 struct xt_statistic_info *info = par->matchinfo; in statistic_mt_check()
69 static void statistic_mt_destroy(const struct xt_mtdtor_param *par) in statistic_mt_destroy() argument
71 const struct xt_statistic_info *info = par->matchinfo; in statistic_mt_destroy()
H A Dxt_sctp.c118 sctp_mt(const struct sk_buff *skb, struct xt_action_param *par) in sctp_mt() argument
120 const struct xt_sctp_info *info = par->matchinfo; in sctp_mt()
124 if (par->fragoff != 0) { in sctp_mt()
129 sh = skb_header_pointer(skb, par->thoff, sizeof(_sh), &_sh); in sctp_mt()
132 par->hotdrop = true; in sctp_mt()
143 SCCHECK(match_packet(skb, par->thoff + sizeof(_sh), in sctp_mt()
144 info, &par->hotdrop), in sctp_mt()
148 static int sctp_mt_check(const struct xt_mtchk_param *par) in sctp_mt_check() argument
150 const struct xt_sctp_info *info = par->matchinfo; in sctp_mt_check()
H A Dxt_TCPOPTSTRIP.c30 const struct xt_action_param *par, in tcpoptstrip_mangle_packet() argument
33 const struct xt_tcpoptstrip_target_info *info = par->targinfo; in tcpoptstrip_mangle_packet()
41 if (par->fragoff != 0) in tcpoptstrip_mangle_packet()
89 tcpoptstrip_tg4(struct sk_buff *skb, const struct xt_action_param *par) in tcpoptstrip_tg4() argument
91 return tcpoptstrip_mangle_packet(skb, par, ip_hdrlen(skb)); in tcpoptstrip_tg4()
96 tcpoptstrip_tg6(struct sk_buff *skb, const struct xt_action_param *par) in tcpoptstrip_tg6() argument
108 return tcpoptstrip_mangle_packet(skb, par, tcphoff); in tcpoptstrip_tg6()
H A Dxt_RATEEST.c94 xt_rateest_tg(struct sk_buff *skb, const struct xt_action_param *par) in xt_rateest_tg() argument
96 const struct xt_rateest_target_info *info = par->targinfo; in xt_rateest_tg()
107 static int xt_rateest_tg_checkentry(const struct xt_tgchk_param *par) in xt_rateest_tg_checkentry() argument
109 struct xt_rateest_net *xn = net_generic(par->net, xt_rateest_id); in xt_rateest_tg_checkentry()
110 struct xt_rateest_target_info *info = par->targinfo; in xt_rateest_tg_checkentry()
134 xt_rateest_put(par->net, est); in xt_rateest_tg_checkentry()
175 static void xt_rateest_tg_destroy(const struct xt_tgdtor_param *par) in xt_rateest_tg_destroy() argument
177 struct xt_rateest_target_info *info = par->targinfo; in xt_rateest_tg_destroy()
179 xt_rateest_put(par->net, info->est); in xt_rateest_tg_destroy()
H A Dxt_policy.c111 policy_mt(const struct sk_buff *skb, struct xt_action_param *par) in policy_mt() argument
113 const struct xt_policy_info *info = par->matchinfo; in policy_mt()
117 ret = match_policy_in(skb, info, xt_family(par)); in policy_mt()
119 ret = match_policy_out(skb, info, xt_family(par)); in policy_mt()
129 static int policy_mt_check(const struct xt_mtchk_param *par) in policy_mt_check() argument
131 const struct xt_policy_info *info = par->matchinfo; in policy_mt_check()
137 if (par->hook_mask & ((1 << NF_INET_PRE_ROUTING) | in policy_mt_check()
142 if (par->hook_mask & ((1 << NF_INET_POST_ROUTING) | in policy_mt_check()
H A Dxt_AUDIT.c67 audit_tg(struct sk_buff *skb, const struct xt_action_param *par) in audit_tg() argument
80 switch (xt_family(par)) { in audit_tg()
109 audit_tg_ebt(struct sk_buff *skb, const struct xt_action_param *par) in audit_tg_ebt() argument
111 audit_tg(skb, par); in audit_tg_ebt()
115 static int audit_tg_check(const struct xt_tgchk_param *par) in audit_tg_check() argument
117 const struct xt_audit_info *info = par->targinfo; in audit_tg_check()
H A Dxt_physdev.c24 physdev_mt(const struct sk_buff *skb, struct xt_action_param *par) in physdev_mt() argument
26 const struct xt_physdev_info *info = par->matchinfo; in physdev_mt()
62 physdev = nf_bridge_get_physindev(skb, xt_net(par)); in physdev_mt()
94 static int physdev_mt_check(const struct xt_mtchk_param *par) in physdev_mt_check() argument
96 const struct xt_physdev_info *info = par->matchinfo; in physdev_mt_check()
105 par->hook_mask & (1 << NF_INET_LOCAL_OUT)) { in physdev_mt_check()
H A Dxt_cpu.c24 static int cpu_mt_check(const struct xt_mtchk_param *par) in cpu_mt_check() argument
26 const struct xt_cpu_info *info = par->matchinfo; in cpu_mt_check()
33 static bool cpu_mt(const struct sk_buff *skb, struct xt_action_param *par) in cpu_mt() argument
35 const struct xt_cpu_info *info = par->matchinfo; in cpu_mt()
H A Dxt_tcpmss.c25 tcpmss_mt(const struct sk_buff *skb, struct xt_action_param *par) in tcpmss_mt() argument
27 const struct xt_tcpmss_match_info *info = par->matchinfo; in tcpmss_mt()
36 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph); in tcpmss_mt()
49 op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt); in tcpmss_mt()
73 par->hotdrop = true; in tcpmss_mt()
H A Dxt_pkttype.c23 pkttype_mt(const struct sk_buff *skb, struct xt_action_param *par) in pkttype_mt() argument
25 const struct xt_pkttype_info *info = par->matchinfo; in pkttype_mt()
30 else if (xt_family(par) == NFPROTO_IPV4 && in pkttype_mt()
33 else if (xt_family(par) == NFPROTO_IPV6) in pkttype_mt()
H A Dxt_LED.c42 led_tg(struct sk_buff *skb, const struct xt_action_param *par) in led_tg() argument
44 const struct xt_led_info *ledinfo = par->targinfo; in led_tg()
93 static int led_tg_check(const struct xt_tgchk_param *par) in led_tg_check() argument
95 struct xt_led_info *ledinfo = par->targinfo; in led_tg_check()
154 static void led_tg_destroy(const struct xt_tgdtor_param *par) in led_tg_destroy() argument
156 const struct xt_led_info *ledinfo = par->targinfo; in led_tg_destroy()
H A Dxt_length.c21 length_mt(const struct sk_buff *skb, struct xt_action_param *par) in length_mt() argument
23 const struct xt_length_info *info = par->matchinfo; in length_mt()
30 length_mt6(const struct sk_buff *skb, struct xt_action_param *par) in length_mt6() argument
32 const struct xt_length_info *info = par->matchinfo; in length_mt6()
/linux/drivers/spi/
H A Dspi-pci1xxxx.c196 writel(SPI_SYSLOCK, par->reg_base + SPI_SYSLOCK_REG); in pci1xxxx_set_sys_lock()
197 return readl(par->reg_base + SPI_SYSLOCK_REG); in pci1xxxx_set_sys_lock()
211 writel(0x0, par->reg_base + SPI_SYSLOCK_REG); in pci1xxxx_release_sys_lock()
305 struct pci1xxxx_spi *par = p->parent; in pci1xxxx_spi_set_cs() local
413 struct pci1xxxx_spi *par = p->parent; in pci1xxxx_spi_transfer_with_io() local
459 memcpy_fromio(&rx_buf[bytes_recvd], par->reg_base + in pci1xxxx_spi_transfer_with_io()
475 struct pci1xxxx_spi *par = p->parent; in pci1xxxx_spi_transfer_with_dma() local
523 ret = readl_poll_timeout(par->dma_offset_bar + in pci1xxxx_spi_transfer_with_dma()
544 ret = readl_poll_timeout(par->dma_offset_bar + in pci1xxxx_spi_transfer_with_dma()
692 struct pci1xxxx_spi *par = p->parent; in pci1xxxx_spi_can_dma() local
[all …]
/linux/net/bridge/netfilter/
H A Debt_arpreply.c20 ebt_arpreply_tg(struct sk_buff *skb, const struct xt_action_param *par) in ebt_arpreply_tg() argument
22 const struct ebt_arpreply_info *info = par->targinfo; in ebt_arpreply_tg()
56 (struct net_device *)xt_in(par), in ebt_arpreply_tg()
62 static int ebt_arpreply_tg_check(const struct xt_tgchk_param *par) in ebt_arpreply_tg_check() argument
64 const struct ebt_arpreply_info *info = par->targinfo; in ebt_arpreply_tg_check()
65 const struct ebt_entry *e = par->entryinfo; in ebt_arpreply_tg_check()
H A Debt_pkttype.c17 ebt_pkttype_mt(const struct sk_buff *skb, struct xt_action_param *par) in ebt_pkttype_mt() argument
19 const struct ebt_pkttype_info *info = par->matchinfo; in ebt_pkttype_mt()
24 static int ebt_pkttype_mt_check(const struct xt_mtchk_param *par) in ebt_pkttype_mt_check() argument
26 const struct ebt_pkttype_info *info = par->matchinfo; in ebt_pkttype_mt_check()
/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb.h94 extern int mb862xx_i2c_init(struct mb862xxfb_par *par);
95 extern void mb862xx_i2c_exit(struct mb862xxfb_par *par);
97 static inline int mb862xx_i2c_init(struct mb862xxfb_par *par) { return 0; } in mb862xx_i2c_init() argument
98 static inline void mb862xx_i2c_exit(struct mb862xxfb_par *par) { } in mb862xx_i2c_exit() argument
113 gdc_read((par->type + (off)))
116 gdc_write((val), (par->type + (off)))
/linux/net/ipv6/netfilter/
H A Dip6t_hbh.c44 hbh_mt6(const struct sk_buff *skb, struct xt_action_param *par) in hbh_mt6() argument
48 const struct ip6t_opts *optinfo = par->matchinfo; in hbh_mt6()
61 (par->match == &hbh_mt6_reg[0]) ? in hbh_mt6()
65 par->hotdrop = true; in hbh_mt6()
71 par->hotdrop = true; in hbh_mt6()
163 static int hbh_mt6_check(const struct xt_mtchk_param *par) in hbh_mt6_check() argument
165 const struct ip6t_opts *optsinfo = par->matchinfo; in hbh_mt6_check()
H A Dip6t_ah.c36 static bool ah_mt6(const struct sk_buff *skb, struct xt_action_param *par) in ah_mt6() argument
40 const struct ip6t_ah *ahinfo = par->matchinfo; in ah_mt6()
48 par->hotdrop = true; in ah_mt6()
54 par->hotdrop = true; in ah_mt6()
86 static int ah_mt6_check(const struct xt_mtchk_param *par) in ah_mt6_check() argument
88 const struct ip6t_ah *ahinfo = par->matchinfo; in ah_mt6_check()
H A Dip6t_ipv6header.c27 ipv6header_mt6(const struct sk_buff *skb, struct xt_action_param *par) in ipv6header_mt6() argument
29 const struct ip6t_ipv6header_info *info = par->matchinfo; in ipv6header_mt6()
66 par->hotdrop = true; in ipv6header_mt6()
120 static int ipv6header_mt6_check(const struct xt_mtchk_param *par) in ipv6header_mt6_check() argument
122 const struct ip6t_ipv6header_info *info = par->matchinfo; in ipv6header_mt6_check()
H A Dip6t_frag.c35 frag_mt6(const struct sk_buff *skb, struct xt_action_param *par) in frag_mt6() argument
39 const struct ip6t_frag *fraginfo = par->matchinfo; in frag_mt6()
46 par->hotdrop = true; in frag_mt6()
52 par->hotdrop = true; in frag_mt6()
101 static int frag_mt6_check(const struct xt_mtchk_param *par) in frag_mt6_check() argument
103 const struct ip6t_frag *fraginfo = par->matchinfo; in frag_mt6_check()
/linux/drivers/video/fbdev/i810/
H A Di810_dvt.c235 struct i810fb_par *par, u32 xres, u32 yres) in i810fb_encode_registers() argument
237 u32 i_best = i810fb_find_best_mode(xres, yres, par->regs.pixclock); in i810fb_encode_registers()
239 par->regs = std_modes[i_best]; in i810fb_encode_registers()
242 par->ovract = ((xres + var->right_margin + var->hsync_len + in i810fb_encode_registers()
281 struct i810fb_par *par) in i810_get_watermark() argument
283 struct mode_registers *params = &par->regs; in i810_get_watermark()
286 if (par->mem_freq == 100) { in i810_get_watermark()
/linux/fs/pstore/
H A Dram_core.c104 memset(prz->ecc_info.par, 0, in persistent_ram_encode_rs8()
108 ecc[i] = prz->ecc_info.par[i]; in persistent_ram_encode_rs8()
117 prz->ecc_info.par[i] = ecc[i]; in persistent_ram_decode_rs8()
128 uint8_t *par; in persistent_ram_update_ecc() local
144 par += ecc_size; in persistent_ram_update_ecc()
163 uint8_t *par; in persistent_ram_ecc_old() local
169 par = prz->par_buffer; in persistent_ram_ecc_old()
184 par += prz->ecc_info.ecc_size; in persistent_ram_ecc_old()
235 if (!prz->ecc_info.par) { in persistent_ram_init_ecc()
575 kfree(prz->ecc_info.par); in persistent_ram_free()
[all …]
/linux/drivers/gpu/drm/panel/
H A Dpanel-novatek-nt35560.c156 u8 par; in nt35560_set_brightness() local
161 par = 0x00; in nt35560_set_brightness()
163 &par, 1); in nt35560_set_brightness()
195 par = 0xaa; in nt35560_set_brightness()
196 ret = mipi_dsi_dcs_write(dsi, 0xf3, &par, 1); in nt35560_set_brightness()
201 par = 0x01; in nt35560_set_brightness()
202 ret = mipi_dsi_dcs_write(dsi, 0x00, &par, 1); in nt35560_set_brightness()
207 par = 0x01; in nt35560_set_brightness()
218 par = 0xaa; in nt35560_set_brightness()
226 par = 0x24; in nt35560_set_brightness()
[all …]
/linux/drivers/video/fbdev/riva/
H A Drivafb.h38 struct riva_par *par; member
72 void riva_delete_i2c_busses(struct riva_par *par);
73 void riva_create_i2c_busses(struct riva_par *par);
74 int riva_probe_i2c_connector(struct riva_par *par, int conn, u8 **out_edid);
/linux/drivers/video/fbdev/nvidia/
H A Dnv_of.c30 struct nvidia_par *par = info->par; in nvidia_probe_of_connector() local
38 parent = pci_device_to_OF_node(par->pci_dev); in nvidia_probe_of_connector()
41 if (par->twoHeads) { in nvidia_probe_of_connector()

12345678910>>...18