Home
last modified time | relevance | path

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

/net/can/
A Dgw.c462 struct cf_mod *mod; in can_can_gw_rcv() local
535 (*mod->modfunc[modidx++])(cf, mod); in can_can_gw_rcv()
552 (*mod->csumfunc.crc8)(cf, &mod->csum.crc8); in can_can_gw_rcv()
555 (*mod->csumfunc.xor)(cf, &mod->csum.xor); in can_can_gw_rcv()
730 if (mod->uid) { in cgw_put_job()
824 memset(mod, 0, sizeof(*mod)); in cgw_parse_attr()
1096 mod = kmalloc(sizeof(*mod), GFP_KERNEL); in cgw_create_job()
1097 if (!mod) in cgw_create_job()
1104 if (mod->uid) { in cgw_create_job()
1184 kfree(mod); in cgw_create_job()
[all …]
/net/ethtool/
A Dcoalesce.c393 u8 coal_bit, bool *mod, in ethnl_update_irq_moder() argument
408 *mod = true; in ethnl_update_irq_moder()
442 bool *mod, in ethnl_update_profile() argument
475 mod, extack); in ethnl_update_profile()
482 mod, extack); in ethnl_update_profile()
489 mod, extack); in ethnl_update_profile()
517 bool mod_mode = false, mod = false; in __ethnl_set_coalesce() local
577 &mod, info->extack); in __ethnl_set_coalesce()
585 &mod, info->extack); in __ethnl_set_coalesce()
600 *dual_change = mod && mod_mode; in __ethnl_set_coalesce()
[all …]
A Dlinkmodes.c238 bool *mod, const struct net_device *dev) in ethnl_update_linkmodes() argument
254 *mod = false; in ethnl_update_linkmodes()
260 mod); in ethnl_update_linkmodes()
278 *mod = true; in ethnl_update_linkmodes()
284 info->extack, mod); in ethnl_update_linkmodes()
288 mod); in ethnl_update_linkmodes()
289 ethnl_update_u32(&ksettings->lanes, lanes_cfg, mod); in ethnl_update_linkmodes()
291 mod); in ethnl_update_linkmodes()
297 *mod = true; in ethnl_update_linkmodes()
324 bool mod = false; in ethnl_set_linkmodes() local
[all …]
A Drings.c223 bool mod = false; in ethnl_set_rings() local
231 tb[ETHTOOL_A_RINGS_RX_MINI], &mod); in ethnl_set_rings()
233 tb[ETHTOOL_A_RINGS_RX_JUMBO], &mod); in ethnl_set_rings()
236 tb[ETHTOOL_A_RINGS_RX_BUF_LEN], &mod); in ethnl_set_rings()
238 tb[ETHTOOL_A_RINGS_TCP_DATA_SPLIT], &mod); in ethnl_set_rings()
240 tb[ETHTOOL_A_RINGS_CQE_SIZE], &mod); in ethnl_set_rings()
242 tb[ETHTOOL_A_RINGS_TX_PUSH], &mod); in ethnl_set_rings()
244 tb[ETHTOOL_A_RINGS_RX_PUSH], &mod); in ethnl_set_rings()
246 tb[ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN], &mod); in ethnl_set_rings()
248 tb[ETHTOOL_A_RINGS_HDS_THRESH], &mod); in ethnl_set_rings()
[all …]
A Dplca.c32 bool *mod) in plca_update_sint() argument
51 *mod = true; in plca_update_sint()
152 bool mod = false; in ethnl_set_plca() local
166 plca_update_sint(&plca_cfg.enabled, tb, ETHTOOL_A_PLCA_ENABLED, &mod); in ethnl_set_plca()
167 plca_update_sint(&plca_cfg.node_id, tb, ETHTOOL_A_PLCA_NODE_ID, &mod); in ethnl_set_plca()
168 plca_update_sint(&plca_cfg.node_cnt, tb, ETHTOOL_A_PLCA_NODE_CNT, &mod); in ethnl_set_plca()
169 plca_update_sint(&plca_cfg.to_tmr, tb, ETHTOOL_A_PLCA_TO_TMR, &mod); in ethnl_set_plca()
171 &mod); in ethnl_set_plca()
173 &mod); in ethnl_set_plca()
174 if (!mod) in ethnl_set_plca()
A Dnetlink.h78 bool *mod) in ethnl_update_u32() argument
89 *mod = true; in ethnl_update_u32()
104 bool *mod) in ethnl_update_u8() argument
115 *mod = true; in ethnl_update_u8()
130 bool *mod) in ethnl_update_bool32() argument
141 *mod = true; in ethnl_update_bool32()
156 bool *mod) in ethnl_update_bool() argument
167 *mod = true; in ethnl_update_bool()
193 *mod = true; in ethnl_update_binary()
207 bool *mod) in ethnl_update_bitfield32() argument
[all …]
A Dbitset.c35 bool *mod) in ethnl_bitmap32_clear() argument
51 *mod = true; in ethnl_bitmap32_clear()
57 *mod = true; in ethnl_bitmap32_clear()
65 *mod = true; in ethnl_bitmap32_clear()
72 *mod = true; in ethnl_bitmap32_clear()
140 *mod = true; in ethnl_bitmap32_update()
509 *mod = true; in ethnl_update_bitset32_verbose()
514 *mod = true; in ethnl_update_bitset32_verbose()
622 mod); in ethnl_update_bitset32()
833 *mod = true; in ethnl_update_bitset()
[all …]
A Deee.c133 bool mod = false; in ethnl_set_eee() local
143 link_mode_names, info->extack, &mod); in ethnl_set_eee()
146 ethnl_update_bool(&eee.eee_enabled, tb[ETHTOOL_A_EEE_ENABLED], &mod); in ethnl_set_eee()
148 &mod); in ethnl_set_eee()
150 &mod); in ethnl_set_eee()
151 if (!mod) in ethnl_set_eee()
A Dlinkinfo.c104 bool mod = false; in ethnl_set_linkinfo() local
114 ethnl_update_u8(&lsettings->port, tb[ETHTOOL_A_LINKINFO_PORT], &mod); in ethnl_set_linkinfo()
116 &mod); in ethnl_set_linkinfo()
118 tb[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL], &mod); in ethnl_set_linkinfo()
119 if (!mod) in ethnl_set_linkinfo()
A Dchannels.c113 bool mod = false, mod_combined = false; in ethnl_set_channels() local
125 &mod); in ethnl_set_channels()
127 &mod); in ethnl_set_channels()
129 tb[ETHTOOL_A_CHANNELS_OTHER_COUNT], &mod); in ethnl_set_channels()
132 mod |= mod_combined; in ethnl_set_channels()
133 if (!mod) in ethnl_set_channels()
A Drss.c620 bool *reset, bool *mod) in rss_set_prep_indir() argument
700 bool *mod) in rss_set_prep_hkey() argument
718 mod); in rss_set_prep_hkey()
752 bool xfrm_sym, bool *mod) in ethnl_set_rss_fields() argument
796 *mod = true; in ethnl_set_rss_fields()
831 bool mod = false, fields_mod = false; in ethnl_rss_set() local
857 ret = rss_set_prep_hkey(dev, info, &data, &rxfh, &mod); in ethnl_rss_set()
886 if (!mod) in ethnl_rss_set()
912 return ret ?: mod || fields_mod; in ethnl_rss_set()
999 bool indir_dflt = false, mod = false, ntf_fail = false; in ethnl_rss_create_doit() local
[all …]
A Dpause.c189 bool mod = false; in ethnl_set_pause() local
194 ethnl_update_bool32(&params.autoneg, tb[ETHTOOL_A_PAUSE_AUTONEG], &mod); in ethnl_set_pause()
195 ethnl_update_bool32(&params.rx_pause, tb[ETHTOOL_A_PAUSE_RX], &mod); in ethnl_set_pause()
196 ethnl_update_bool32(&params.tx_pause, tb[ETHTOOL_A_PAUSE_TX], &mod); in ethnl_set_pause()
197 if (!mod) in ethnl_set_pause()
A Dwol.c110 bool mod = false; in ethnl_set_wol() local
116 info->extack, &mod); in ethnl_set_wol()
132 tb[ETHTOOL_A_WOL_SOPASS], &mod); in ethnl_set_wol()
135 if (!mod) in ethnl_set_wol()
A Dmm.c191 bool mod = false; in ethnl_set_mm() local
201 &mod); in ethnl_set_mm()
202 ethnl_update_u32(&cfg.verify_time, tb[ETHTOOL_A_MM_VERIFY_TIME], &mod); in ethnl_set_mm()
203 ethnl_update_bool(&cfg.tx_enabled, tb[ETHTOOL_A_MM_TX_ENABLED], &mod); in ethnl_set_mm()
205 &mod); in ethnl_set_mm()
207 tb[ETHTOOL_A_MM_TX_MIN_FRAG_SIZE], &mod); in ethnl_set_mm()
209 if (!mod) in ethnl_set_mm()
A Ddebug.c88 bool mod = false; in ethnl_set_debug() local
95 netif_msg_class_names, info->extack, &mod); in ethnl_set_debug()
96 if (ret < 0 || !mod) in ethnl_set_debug()
A Dfec.c243 bool mod = false; in ethnl_set_fec() local
256 link_mode_names, info->extack, &mod); in ethnl_set_fec()
259 ethnl_update_u8(&fec_auto, tb[ETHTOOL_A_FEC_AUTO], &mod); in ethnl_set_fec()
260 if (!mod) in ethnl_set_fec()
A Dbitset.h25 struct netlink_ext_ack *extack, bool *mod);
28 struct netlink_ext_ack *extack, bool *mod);
A Dprivflags.c151 bool mod = false; in ethnl_set_privflags() local
167 info->extack, &mod); in ethnl_set_privflags()
168 if (ret < 0 || !mod) in ethnl_set_privflags()
A Dtsinfo.c44 bool *mod) in ts_parse_hwtst_provider() argument
64 mod); in ts_parse_hwtst_provider()
67 mod); in ts_parse_hwtst_provider()
77 bool mod = false; in tsinfo_parse_request() local
85 &req->hwprov_desc, extack, &mod); in tsinfo_parse_request()
A Dfeatures.c225 bool mod; in ethnl_set_features() local
266 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
287 if (mod) in ethnl_set_features()
A Dts.h18 bool *mod);
A Dstats.c107 bool mod = false; in stats_parse_request() local
112 extack, &mod); in stats_parse_request()
116 if (!mod) { in stats_parse_request()
/net/tipc/
A Dcore.h179 static inline u16 mod(u16 x) in mod() function
186 return mod(right - left) < 32768u; in less_eq()
196 return less_eq(left, right) && (mod(right) != mod(left)); in less()
/net/netfilter/
A Dnf_bpf_link.c36 const char *mod) in get_proto_defrag_hook() argument
46 err = request_module("%s", mod); in get_proto_defrag_hook()
58 WARN_ONCE(!hook, "%s has bad registration", mod); in get_proto_defrag_hook()
/net/9p/
A DMakefile10 mod.o \

Completed in 33 milliseconds