Home
last modified time | relevance | path

Searched refs:rule (Results 1 – 190 of 190) sorted by relevance

/linux-4.4.14/net/core/
Dfib_rules.c50 struct fib_rule *rule; in fib_default_rule_pref() local
55 rule = list_entry(pos->next, struct fib_rule, list); in fib_default_rule_pref()
56 if (rule->pref) in fib_default_rule_pref()
57 return rule->pref - 1; in fib_default_rule_pref()
64 static void notify_rule_change(int event, struct fib_rule *rule,
152 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() local
154 list_for_each_entry_safe(rule, tmp, &ops->rules_list, list) { in fib_rules_cleanup_ops()
155 list_del_rcu(&rule->list); in fib_rules_cleanup_ops()
157 ops->delete(rule); in fib_rules_cleanup_ops()
158 fib_rule_put(rule); in fib_rules_cleanup_ops()
[all …]
/linux-4.4.14/drivers/pnp/
Dmanager.c22 unsigned char rule, in pnp_find_resource() argument
31 res->flags |= rule & IORESOURCE_BITS; in pnp_find_resource()
37 static int pnp_assign_port(struct pnp_dev *dev, struct pnp_port *rule, int idx) in pnp_assign_port() argument
41 res = pnp_find_resource(dev, rule->flags, IORESOURCE_IO, idx); in pnp_assign_port()
50 res->flags = rule->flags | IORESOURCE_AUTO; in pnp_assign_port()
54 if (!rule->size) { in pnp_assign_port()
60 res->start = rule->min; in pnp_assign_port()
61 res->end = res->start + rule->size - 1; in pnp_assign_port()
64 res->start += rule->align; in pnp_assign_port()
65 res->end = res->start + rule->size - 1; in pnp_assign_port()
[all …]
/linux-4.4.14/kernel/
Dauditfilter.c95 struct audit_krule *erule = &e->rule; in audit_free_rule()
129 entry->rule.fields = fields; in audit_init_entry()
221 struct audit_field *arch = entry->rule.arch_f; in audit_match_signal()
227 entry->rule.mask) && in audit_match_signal()
229 entry->rule.mask)); in audit_match_signal()
235 entry->rule.mask)); in audit_match_signal()
238 entry->rule.mask)); in audit_match_signal()
246 static inline struct audit_entry *audit_to_entry_common(struct audit_rule_data *rule) in audit_to_entry_common() argument
253 listnr = rule->flags & ~AUDIT_FILTER_PREPEND; in audit_to_entry_common()
259 if (rule->action == AUDIT_ALWAYS) in audit_to_entry_common()
[all …]
Daudit_tree.c454 static void audit_tree_log_remove_rule(struct audit_krule *rule) in audit_tree_log_remove_rule() argument
464 audit_log_untrustedstring(ab, rule->tree->pathname); in audit_tree_log_remove_rule()
465 audit_log_key(ab, rule->filterkey); in audit_tree_log_remove_rule()
466 audit_log_format(ab, " list=%d res=1", rule->listnr); in audit_tree_log_remove_rule()
472 struct audit_krule *rule, *next; in kill_rules() local
475 list_for_each_entry_safe(rule, next, &tree->rules, rlist) { in kill_rules()
476 entry = container_of(rule, struct audit_entry, rule); in kill_rules()
478 list_del_init(&rule->rlist); in kill_rules()
479 if (rule->tree) { in kill_rules()
481 audit_tree_log_remove_rule(rule); in kill_rules()
[all …]
Daudit_fsnotify.c40 struct audit_krule *rule; member
110 audit_mark->rule = krule; in audit_alloc_mark()
126 struct audit_krule *rule = audit_mark->rule; in audit_mark_log_rule_change() local
139 audit_log_key(ab, rule->filterkey); in audit_mark_log_rule_change()
140 audit_log_format(ab, " list=%d res=1", rule->listnr); in audit_mark_log_rule_change()
159 struct audit_krule *rule = audit_mark->rule; in audit_autoremove_mark_rule() local
160 struct audit_entry *entry = container_of(rule, struct audit_entry, rule); in audit_autoremove_mark_rule()
Daudit_watch.c291 oentry = container_of(r, struct audit_entry, rule); in audit_update_watch()
292 list_del(&oentry->rule.rlist); in audit_update_watch()
295 nentry = audit_dupe_rule(&oentry->rule); in audit_update_watch()
297 list_del(&oentry->rule.list); in audit_update_watch()
307 audit_put_watch(nentry->rule.watch); in audit_update_watch()
309 nentry->rule.watch = nwatch; in audit_update_watch()
310 list_add(&nentry->rule.rlist, &nwatch->rules); in audit_update_watch()
312 list_replace(&oentry->rule.list, in audit_update_watch()
313 &nentry->rule.list); in audit_update_watch()
315 if (oentry->rule.exe) in audit_update_watch()
[all …]
Daudit.h60 struct audit_krule rule; member
314 #define audit_remove_tree_rule(rule) BUG() argument
315 #define audit_add_tree_rule(rule) -EINVAL argument
316 #define audit_make_tree(rule, str, op) -EINVAL argument
320 #define audit_tree_path(rule) "" /* never called */ argument
Dauditsc.c439 struct audit_krule *rule, in audit_filter_rules() argument
451 for (i = 0; i < rule->field_count; i++) { in audit_filter_rules()
452 struct audit_field *f = &rule->fields[i]; in audit_filter_rules()
470 result = audit_exe_compare(tsk, rule->exe); in audit_filter_rules()
598 result = audit_watch_compare(rule->watch, name->ino, name->dev); in audit_filter_rules()
602 result = match_tree_refs(ctx, rule->tree); in audit_filter_rules()
689 if (rule->prio <= ctx->prio) in audit_filter_rules()
691 if (rule->filterkey) { in audit_filter_rules()
693 ctx->filterkey = kstrdup(rule->filterkey, GFP_ATOMIC); in audit_filter_rules()
695 ctx->prio = rule->prio; in audit_filter_rules()
[all …]
/linux-4.4.14/net/ipv4/
Dfib_rules.c61 if (arg.rule) in __fib_lookup()
62 res->tclassid = ((struct fib4_rule *)arg.rule)->tclassid; in __fib_lookup()
74 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, in fib4_rule_action() argument
80 switch (rule->action) { in fib4_rule_action()
97 tbl = fib_get_table(rule->fr_net, rule->table); in fib4_rule_action()
107 static bool fib4_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib4_rule_suppress() argument
118 if (result->prefixlen <= rule->suppress_prefixlen) in fib4_rule_suppress()
124 if (rule->suppress_ifgroup != -1 && dev && dev->group == rule->suppress_ifgroup) in fib4_rule_suppress()
135 static int fib4_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib4_rule_match() argument
137 struct fib4_rule *r = (struct fib4_rule *) rule; in fib4_rule_match()
[all …]
Dipmr.c173 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action() argument
179 switch (rule->action) { in ipmr_rule_action()
191 mrt = ipmr_get_table(rule->fr_net, rule->table); in ipmr_rule_action()
198 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in ipmr_rule_match() argument
207 static int ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_configure() argument
213 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare() argument
219 static int ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_fill() argument
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dsec_config.c149 static void sptlrpc_rule_init(struct sptlrpc_rule *rule) in sptlrpc_rule_init() argument
151 rule->sr_netid = LNET_NIDNET(LNET_NID_ANY); in sptlrpc_rule_init()
152 rule->sr_from = LUSTRE_SP_ANY; in sptlrpc_rule_init()
153 rule->sr_to = LUSTRE_SP_ANY; in sptlrpc_rule_init()
154 rule->sr_padding = 0; in sptlrpc_rule_init()
156 get_default_flavor(&rule->sr_flvr); in sptlrpc_rule_init()
162 static int sptlrpc_parse_rule(char *param, struct sptlrpc_rule *rule) in sptlrpc_parse_rule() argument
167 sptlrpc_rule_init(rule); in sptlrpc_parse_rule()
182 rule->sr_netid = libcfs_str2net(param); in sptlrpc_parse_rule()
183 if (rule->sr_netid == LNET_NIDNET(LNET_NID_ANY)) { in sptlrpc_parse_rule()
[all …]
/linux-4.4.14/net/ipv6/
Dfib6_rules.c61 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action() argument
67 struct net *net = rule->fr_net; in fib6_rule_action()
71 switch (rule->action) { in fib6_rule_action()
89 table = fib6_get_table(net, rule->table); in fib6_rule_action()
97 struct fib6_rule *r = (struct fib6_rule *)rule; in fib6_rule_action()
103 if ((rule->flags & FIB_RULE_FIND_SADDR) && in fib6_rule_action()
134 static bool fib6_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib6_rule_suppress() argument
145 if (rt->rt6i_dst.plen <= rule->suppress_prefixlen) in fib6_rule_suppress()
151 if (rule->suppress_ifgroup != -1 && dev && dev->group == rule->suppress_ifgroup) in fib6_rule_suppress()
161 static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib6_rule_match() argument
[all …]
Dip6mr.c157 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action() argument
163 switch (rule->action) { in ip6mr_rule_action()
175 mrt = ip6mr_get_table(rule->fr_net, rule->table); in ip6mr_rule_action()
182 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match() argument
191 static int ip6mr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_configure() argument
197 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ip6mr_rule_compare() argument
203 static int ip6mr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_fill() argument
Daddrconf.c1275 int rule; member
1314 if (i <= score->rule) { in ipv6_get_saddr_eval()
1436 score->rule = i; in ipv6_get_saddr_eval()
1476 score->rule = -1; in __ipv6_dev_get_saddr()
1539 scores[hiscore_idx].rule = -1; in ipv6_dev_get_saddr()
/linux-4.4.14/security/integrity/ima/
Dima_policy.c60 void *rule; /* LSM file metadata specific */ member
190 if (!entry->lsm[i].rule) in ima_lsm_update_rules()
195 &entry->lsm[i].rule); in ima_lsm_update_rules()
196 BUG_ON(!entry->lsm[i].rule); in ima_lsm_update_rules()
211 static bool ima_match_rules(struct ima_rule_entry *rule, in ima_match_rules() argument
218 if ((rule->flags & IMA_FUNC) && in ima_match_rules()
219 (rule->func != func && func != POST_SETATTR)) in ima_match_rules()
221 if ((rule->flags & IMA_MASK) && in ima_match_rules()
222 (rule->mask != mask && func != POST_SETATTR)) in ima_match_rules()
224 if ((rule->flags & IMA_INMASK) && in ima_match_rules()
[all …]
/linux-4.4.14/net/decnet/
Ddn_rules.c62 res->r = arg.rule; in dn_fib_lookup()
67 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, in dn_fib_rule_action() argument
74 switch(rule->action) { in dn_fib_rule_action()
92 tbl = dn_fib_get_table(rule->table, 0); in dn_fib_rule_action()
107 static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in dn_fib_rule_match() argument
109 struct dn_fib_rule *r = (struct dn_fib_rule *)rule; in dn_fib_rule_match()
121 static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_configure() argument
126 struct dn_fib_rule *r = (struct dn_fib_rule *)rule; in dn_fib_rule_configure()
131 if (rule->table == RT_TABLE_UNSPEC) { in dn_fib_rule_configure()
132 if (rule->action == FR_ACT_TO_TBL) { in dn_fib_rule_configure()
[all …]
/linux-4.4.14/Documentation/RCU/
DlistRCU.txt37 if (audit_filter_rules(tsk, &e->rule, NULL, &state)) {
61 if (audit_filter_rules(tsk, &e->rule, NULL, &state)) {
78 static inline int audit_del_rule(struct audit_rule *rule,
85 if (!audit_compare_rule(rule, &e->rule)) {
92 return -EFAULT; /* No matching rule */
99 if (entry->rule.flags & AUDIT_PREPEND) {
100 entry->rule.flags &= ~AUDIT_PREPEND;
111 static inline int audit_del_rule(struct audit_rule *rule,
119 if (!audit_compare_rule(rule, &e->rule)) {
125 return -EFAULT; /* No matching rule */
[all …]
Dchecklist.txt52 As a rough rule of thumb, any dereference of an RCU-protected
175 any sort of irq context. The same rule applies for
216 One exception to this rule: rcu_read_lock() and rcu_read_unlock()
Drcubarrier.txt169 module is an exception to this rule, and therefore needs to set this
Drcu_dereference.txt197 There is one exception to this rule: Value-speculation
/linux-4.4.14/arch/tile/gxio/
Dmpipe.c242 gxio_mpipe_rules_rule_t *rule = in gxio_mpipe_rules_begin() local
259 if (head + pad + sizeof(*rule) >= sizeof(list->rules)) in gxio_mpipe_rules_begin()
267 rule->size += pad; in gxio_mpipe_rules_begin()
272 rule = (gxio_mpipe_rules_rule_t *) (list->rules + list->head); in gxio_mpipe_rules_begin()
275 rule->headroom = 2; in gxio_mpipe_rules_begin()
276 rule->tailroom = 0; in gxio_mpipe_rules_begin()
277 rule->capacity = 16384; in gxio_mpipe_rules_begin()
280 rule->bucket_mask = num_buckets - 1; in gxio_mpipe_rules_begin()
281 rule->bucket_first = bucket; in gxio_mpipe_rules_begin()
289 rule->stacks.stacks[i] = stack; in gxio_mpipe_rules_begin()
[all …]
/linux-4.4.14/sound/core/
Dpcm_drm_eld.c29 struct snd_pcm_hw_rule *rule) in eld_limit_rates() argument
31 struct snd_interval *r = hw_param_interval(params, rule->var); in eld_limit_rates()
34 const u8 *sad, *eld = rule->private; in eld_limit_rates()
57 struct snd_pcm_hw_rule *rule) in eld_limit_channels() argument
59 struct snd_interval *c = hw_param_interval(params, rule->var); in eld_limit_channels()
63 const u8 *sad, *eld = rule->private; in eld_limit_channels()
Dpcm_lib.c1279 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_list() argument
1281 struct snd_pcm_hw_constraint_list *list = rule->private; in snd_pcm_hw_rule_list()
1282 …return snd_interval_list(hw_param_interval(params, rule->var), list->count, list->list, list->mask… in snd_pcm_hw_rule_list()
1310 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_ranges() argument
1312 struct snd_pcm_hw_constraint_ranges *r = rule->private; in snd_pcm_hw_rule_ranges()
1313 return snd_interval_ranges(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_ranges()
1341 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_ratnums() argument
1343 const struct snd_pcm_hw_constraint_ratnums *r = rule->private; in snd_pcm_hw_rule_ratnums()
1346 err = snd_interval_ratnum(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_ratnums()
1348 if (err >= 0 && den && rule->var == SNDRV_PCM_HW_PARAM_RATE) { in snd_pcm_hw_rule_ratnums()
[all …]
Dpcm_native.c1901 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_mul() argument
1904 snd_interval_mul(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_mul()
1905 hw_param_interval_c(params, rule->deps[1]), &t); in snd_pcm_hw_rule_mul()
1906 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in snd_pcm_hw_rule_mul()
1910 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_div() argument
1913 snd_interval_div(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_div()
1914 hw_param_interval_c(params, rule->deps[1]), &t); in snd_pcm_hw_rule_div()
1915 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in snd_pcm_hw_rule_div()
1919 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_muldivk() argument
1922 snd_interval_muldivk(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_muldivk()
[all …]
/linux-4.4.14/net/netfilter/
Dnf_tables_core.c107 const struct nft_rule *rule; member
116 const struct nft_rule *rule; in nft_do_chain() local
127 rule = list_entry(&chain->rules, struct nft_rule, list); in nft_do_chain()
130 list_for_each_entry_continue_rcu(rule, &chain->rules, list) { in nft_do_chain()
133 if (unlikely(rule->genmask & (1 << gencursor))) in nft_do_chain()
138 nft_rule_for_each_expr(expr, last, rule) { in nft_do_chain()
172 jumpstack[stackptr].rule = rule; in nft_do_chain()
194 rule = jumpstack[stackptr].rule; in nft_do_chain()
Dnf_tables_api.c237 nft_rule_is_active(struct net *net, const struct nft_rule *rule) in nft_rule_is_active() argument
239 return (rule->genmask & nft_genmask_cur(net)) == 0; in nft_rule_is_active()
243 nft_rule_is_active_next(struct net *net, const struct nft_rule *rule) in nft_rule_is_active_next() argument
245 return (rule->genmask & nft_genmask_next(net)) == 0; in nft_rule_is_active_next()
249 nft_rule_activate_next(struct net *net, struct nft_rule *rule) in nft_rule_activate_next() argument
252 rule->genmask = nft_genmask_cur(net); in nft_rule_activate_next()
256 nft_rule_deactivate_next(struct net *net, struct nft_rule *rule) in nft_rule_deactivate_next() argument
258 rule->genmask = nft_genmask_next(net); in nft_rule_deactivate_next()
261 static inline void nft_rule_clear(struct net *net, struct nft_rule *rule) in nft_rule_clear() argument
263 rule->genmask &= ~nft_genmask_next(net); in nft_rule_clear()
[all …]
DKconfig444 rule-set. It also comes with the generic set infrastructure that
500 include packet and byte counters in a rule.
512 ratelimit rule matchings.
746 resets the timer associated with label specified when the rule is
903 will log every rule which match the packets as those traverse
938 Workaround: activate this option and add a rule to your firewall
1144 with a single rule.
1216 limit matching allows you to control the rate at which a rule can be
1245 a series of source or destination ports: normally a rule can only
/linux-4.4.14/drivers/isdn/divert/
Disdn_divert.c39 divert_rule rule; /* used rule */ member
281 ds->rule = *newrule; /* set rule */ in insertrule()
374 return (&ds->rule); in getruleptr()
397 if (((dv->rule.callopt == 1) && (ic->command == ISDN_STAT_ICALLW)) || in isdn_divert_icall()
398 ((dv->rule.callopt == 2) && (ic->command == ISDN_STAT_ICALL))) in isdn_divert_icall()
400 if (!(dv->rule.drvid & (1L << ic->driver))) in isdn_divert_icall()
402 if ((dv->rule.si1) && (dv->rule.si1 != ic->parm.setup.si1)) in isdn_divert_icall()
404 if ((dv->rule.si2) && (dv->rule.si2 != ic->parm.setup.si2)) in isdn_divert_icall()
407 p = dv->rule.my_msn; in isdn_divert_icall()
423 if ((strcmp(dv->rule.caller, "0")) || in isdn_divert_icall()
[all …]
Ddivert_procfs.c216 dioctl.getsetrule.rule = *rulep; /* copy data */ in isdn_divert_ioctl_unlocked()
223 *rulep = dioctl.getsetrule.rule; /* copy data */ in isdn_divert_ioctl_unlocked()
229 return (insertrule(dioctl.getsetrule.ruleidx, &dioctl.getsetrule.rule)); in isdn_divert_ioctl_unlocked()
Disdn_divert.h76 divert_rule rule; /* rule parms */ member
/linux-4.4.14/include/net/
Dfib_rules.h38 struct fib_rule *rule; member
94 static inline void fib_rule_get(struct fib_rule *rule) in fib_rule_get() argument
96 atomic_inc(&rule->refcnt); in fib_rule_get()
99 static inline void fib_rule_put(struct fib_rule *rule) in fib_rule_put() argument
101 if (atomic_dec_and_test(&rule->refcnt)) in fib_rule_put()
102 kfree_rcu(rule, rcu); in fib_rule_put()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dethtool.c790 struct ethtool_rx_flow_spec *rule) in efx_ethtool_get_class_rule() argument
792 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in efx_ethtool_get_class_rule()
793 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; in efx_ethtool_get_class_rule()
794 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_get_class_rule()
795 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_get_class_rule()
800 rule->location, &spec); in efx_ethtool_get_class_rule()
805 rule->ring_cookie = RX_CLS_FLOW_DISC; in efx_ethtool_get_class_rule()
807 rule->ring_cookie = spec.dmaq_id; in efx_ethtool_get_class_rule()
818 rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ? in efx_ethtool_get_class_rule()
840 rule->flow_type = ETHER_FLOW; in efx_ethtool_get_class_rule()
[all …]
/linux-4.4.14/security/selinux/include/
Daudit.h32 int selinux_audit_rule_init(u32 field, u32 op, char *rulestr, void **rule);
41 void selinux_audit_rule_free(void *rule);
54 int selinux_audit_rule_match(u32 sid, u32 field, u32 op, void *rule,
/linux-4.4.14/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1129 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) in vlan_tci_vid() argument
1131 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vid()
1134 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) in vlan_tci_vidm() argument
1136 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vidm()
1139 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfi() argument
1141 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfi()
1144 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfim() argument
1146 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfim()
1149 static inline u32 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) in vlan_tci_prio() argument
1151 return (be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_PRIO_MASK) >> in vlan_tci_prio()
[all …]
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c900 struct mlx4_net_trans_rule *rule) in mlx4_err_rule() argument
910 rule->port, rule->priority, rule->qpn); in mlx4_err_rule()
912 list_for_each_entry(cur, &rule->list, list) { in mlx4_err_rule()
977 struct mlx4_net_trans_rule *rule, u64 *reg_id) in mlx4_flow_attach() argument
988 trans_rule_ctrl_to_hw(rule, mailbox->buf); in mlx4_flow_attach()
992 list_for_each_entry(cur, &rule->list, list) { in mlx4_flow_attach()
1005 rule); in mlx4_flow_attach()
1012 rule); in mlx4_flow_attach()
1017 rule); in mlx4_flow_attach()
1020 mlx4_err_rule(dev, "Fail to register network rule.\n", rule); in mlx4_flow_attach()
[all …]
Den_ethtool.c1500 struct mlx4_net_trans_rule rule = { in mlx4_en_flow_replace() local
1507 rule.port = priv->port; in mlx4_en_flow_replace()
1508 rule.priority = MLX4_DOMAIN_ETHTOOL | cmd->fs.location; in mlx4_en_flow_replace()
1509 INIT_LIST_HEAD(&rule.list); in mlx4_en_flow_replace()
1529 rule.qpn = qpn; in mlx4_en_flow_replace()
1530 err = mlx4_en_ethtool_to_net_trans_rule(dev, cmd, &rule.list); in mlx4_en_flow_replace()
1547 err = mlx4_flow_attach(priv->mdev->dev, &rule, &reg_id); in mlx4_en_flow_replace()
1559 list_for_each_entry_safe(spec, tmp_spec, &rule.list, list) { in mlx4_en_flow_replace()
1570 struct ethtool_flow_id *rule; in mlx4_en_flow_detach() local
1576 rule = &priv->ethtool_rules[cmd->fs.location]; in mlx4_en_flow_detach()
[all …]
Den_netdev.c168 struct mlx4_net_trans_rule rule = { in mlx4_en_filter_work() local
169 .list = LIST_HEAD_INIT(rule.list), in mlx4_en_filter_work()
185 list_add_tail(&spec_eth.list, &rule.list); in mlx4_en_filter_work()
186 list_add_tail(&spec_ip.list, &rule.list); in mlx4_en_filter_work()
187 list_add_tail(&spec_tcp_udp.list, &rule.list); in mlx4_en_filter_work()
189 rule.qpn = priv->rss_map.qps[filter->rxq_index].qpn; in mlx4_en_filter_work()
201 rc = mlx4_flow_attach(priv->mdev->dev, &rule, &filter->reg_id); in mlx4_en_filter_work()
516 struct mlx4_net_trans_rule rule = { in mlx4_en_uc_steer_add() local
524 rule.port = priv->port; in mlx4_en_uc_steer_add()
525 rule.qpn = *qpn; in mlx4_en_uc_steer_add()
[all …]
/linux-4.4.14/security/smack/
Dsmackfs.c341 struct smack_parsed_rule *rule, int import, in smk_fill_rule() argument
348 rule->smk_subject = smk_import_entry(subject, len); in smk_fill_rule()
349 if (IS_ERR(rule->smk_subject)) in smk_fill_rule()
350 return PTR_ERR(rule->smk_subject); in smk_fill_rule()
352 rule->smk_object = smk_import_entry(object, len); in smk_fill_rule()
353 if (IS_ERR(rule->smk_object)) in smk_fill_rule()
354 return PTR_ERR(rule->smk_object); in smk_fill_rule()
363 rule->smk_subject = skp; in smk_fill_rule()
372 rule->smk_object = skp; in smk_fill_rule()
375 rule->smk_access1 = smk_perm_from_str(access1); in smk_fill_rule()
[all …]
DKconfig21 When access is granted by a rule with the "b" mode a
28 access rule set once the behavior is well understood.
Dsmack_lsm.c4405 char **rule = (char **)vrule; in smack_audit_rule_init() local
4406 *rule = NULL; in smack_audit_rule_init()
4418 *rule = skp->smk_known; in smack_audit_rule_init()
4461 char *rule = vrule; in smack_audit_rule_match() local
4463 if (unlikely(!rule)) { in smack_audit_rule_match()
4479 return (rule == skp->smk_known); in smack_audit_rule_match()
4481 return (rule != skp->smk_known); in smack_audit_rule_match()
/linux-4.4.14/include/net/netfilter/
Dnf_tables.h701 static inline struct nft_expr *nft_expr_first(const struct nft_rule *rule) in nft_expr_first() argument
703 return (struct nft_expr *)&rule->data[0]; in nft_expr_first()
711 static inline struct nft_expr *nft_expr_last(const struct nft_rule *rule) in nft_expr_last() argument
713 return (struct nft_expr *)&rule->data[rule->dlen]; in nft_expr_last()
716 static inline struct nft_userdata *nft_userdata(const struct nft_rule *rule) in nft_userdata() argument
718 return (void *)&rule->data[rule->dlen]; in nft_userdata()
726 #define nft_rule_for_each_expr(expr, last, rule) \ argument
727 for ((expr) = nft_expr_first(rule), (last) = nft_expr_last(rule); \
1008 struct nft_rule *rule; member
1012 (((struct nft_trans_rule *)trans->data)->rule)
/linux-4.4.14/Documentation/dvb/
Dudev.txt31 1. You need to create a proper udev rule that will create the device nodes
33 directory for rule files. The main udev configuration file /etc/udev/udev.conf
36 Create a new rule file in that directory called "dvb.rule" and add the following line:
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c2015 struct i40e_fdir_filter *rule; in i40e_get_ethtool_fdir_all() local
2022 hlist_for_each_entry_safe(rule, node2, in i40e_get_ethtool_fdir_all()
2027 rule_locs[cnt] = rule->fd_id; in i40e_get_ethtool_fdir_all()
2051 struct i40e_fdir_filter *rule = NULL; in i40e_get_ethtool_fdir_entry() local
2054 hlist_for_each_entry_safe(rule, node2, in i40e_get_ethtool_fdir_entry()
2056 if (fsp->location <= rule->fd_id) in i40e_get_ethtool_fdir_entry()
2060 if (!rule || fsp->location != rule->fd_id) in i40e_get_ethtool_fdir_entry()
2063 fsp->flow_type = rule->flow_type; in i40e_get_ethtool_fdir_entry()
2073 fsp->h_u.tcp_ip4_spec.psrc = rule->dst_port; in i40e_get_ethtool_fdir_entry()
2074 fsp->h_u.tcp_ip4_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry()
[all …]
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-nvm-parse.c743 struct ieee80211_reg_rule *rule; in iwl_parse_nvm_mcc_info() local
794 rule = &regd->reg_rules[valid_rules - 1]; in iwl_parse_nvm_mcc_info()
797 rule->freq_range.start_freq_khz = in iwl_parse_nvm_mcc_info()
800 rule->freq_range.end_freq_khz = MHZ_TO_KHZ(center_freq + 10); in iwl_parse_nvm_mcc_info()
803 rule->power_rule.max_antenna_gain = DBI_TO_MBI(6); in iwl_parse_nvm_mcc_info()
804 rule->power_rule.max_eirp = in iwl_parse_nvm_mcc_info()
807 rule->flags = iwl_nvm_get_regdom_bw_flags(nvm_chan, ch_idx, in iwl_parse_nvm_mcc_info()
811 rule->flags |= NL80211_RRF_AUTO_BW; in iwl_parse_nvm_mcc_info()
812 rule->freq_range.max_bandwidth_khz = 0; in iwl_parse_nvm_mcc_info()
/linux-4.4.14/Documentation/trace/
Dstm.txt34 string identifier separated by a stop. From the examle above, a rule
44 which means that the master allocation pool for this rule consists of
50 These rules can be nested, for example, one can define a rule "dummy"
51 under "user" directory from the example above and this new rule will
59 file descriptor according to the "default" rule of the policy, if such
/linux-4.4.14/drivers/s390/crypto/
Dzcrypt_msgtype6.h134 char rule[8]; in rng_type6CPRB_msgX() member
162 memcpy(msg->rule, "RANDOM ", 8); in rng_type6CPRB_msgX()
/linux-4.4.14/security/selinux/ss/
Dservices.c3014 struct selinux_audit_rule *rule = vrule; in selinux_audit_rule_free() local
3016 if (rule) { in selinux_audit_rule_free()
3017 context_destroy(&rule->au_ctxt); in selinux_audit_rule_free()
3018 kfree(rule); in selinux_audit_rule_free()
3028 struct selinux_audit_rule **rule = (struct selinux_audit_rule **)vrule; in selinux_audit_rule_init() local
3031 *rule = NULL; in selinux_audit_rule_init()
3113 *rule = tmprule; in selinux_audit_rule_init()
3119 int selinux_audit_rule_known(struct audit_krule *rule) in selinux_audit_rule_known() argument
3123 for (i = 0; i < rule->field_count; i++) { in selinux_audit_rule_known()
3124 struct audit_field *f = &rule->fields[i]; in selinux_audit_rule_known()
[all …]
/linux-4.4.14/Documentation/isdn/
DREADME.diversion57 compared to the mechanism of ipfwadm or ipchains. If a given rule matches
58 the checking process is finished and the rule matching will be applied
61 number and subaddress, callers number and subaddress and whether the rule
64 Actions that may be invoked by a rule are ignore, proceed, reject,
66 All incoming calls matching a rule except the ignore rule a reported and
/linux-4.4.14/net/ceph/crush/
Dcrush.c139 void crush_destroy_rule(struct crush_rule *rule) in crush_destroy_rule() argument
141 kfree(rule); in crush_destroy_rule()
Dmapper.c800 struct crush_rule *rule; in crush_do_rule() local
825 rule = map->rules[ruleno]; in crush_do_rule()
830 for (step = 0; step < rule->len; step++) { in crush_do_rule()
832 struct crush_rule_step *curstep = &rule->steps[step]; in crush_do_rule()
/linux-4.4.14/scripts/coccinelle/iterators/
Dlist_entry_update.cocci3 /// The first rule finds such a reassignment and the second rule checks
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_pcm.c65 hw_rule_rate(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) in hw_rule_rate() argument
67 unsigned int *pcm_channels = rule->private; in hw_rule_rate()
90 hw_rule_channels(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) in hw_rule_channels() argument
92 unsigned int *pcm_channels = rule->private; in hw_rule_channels()
/linux-4.4.14/fs/ceph/
Dlocks.c68 req->r_args.filelock_change.rule = lock_type; in ceph_lock_message()
115 if (req->r_args.filelock_change.rule == CEPH_LOCK_FCNTL) in ceph_lock_wait_for_completion()
117 else if (req->r_args.filelock_change.rule == CEPH_LOCK_FLOCK) in ceph_lock_wait_for_completion()
140 intr_req->r_args.filelock_change.rule = lock_type; in ceph_lock_wait_for_completion()
/linux-4.4.14/sound/firewire/bebob/
Dbebob_pcm.c12 hw_rule_rate(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) in hw_rule_rate() argument
14 struct snd_bebob_stream_formation *formations = rule->private; in hw_rule_rate()
40 hw_rule_channels(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) in hw_rule_channels() argument
42 struct snd_bebob_stream_formation *formations = rule->private; in hw_rule_channels()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2338 struct ixgbe_fdir_filter *rule = NULL; in ixgbe_get_ethtool_fdir_entry() local
2343 hlist_for_each_entry_safe(rule, node2, in ixgbe_get_ethtool_fdir_entry()
2345 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2349 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2355 switch (rule->filter.formatted.flow_type) { in ixgbe_get_ethtool_fdir_entry()
2375 fsp->h_u.tcp_ip4_spec.psrc = rule->filter.formatted.src_port; in ixgbe_get_ethtool_fdir_entry()
2377 fsp->h_u.tcp_ip4_spec.pdst = rule->filter.formatted.dst_port; in ixgbe_get_ethtool_fdir_entry()
2379 fsp->h_u.tcp_ip4_spec.ip4src = rule->filter.formatted.src_ip[0]; in ixgbe_get_ethtool_fdir_entry()
2381 fsp->h_u.tcp_ip4_spec.ip4dst = rule->filter.formatted.dst_ip[0]; in ixgbe_get_ethtool_fdir_entry()
2383 fsp->h_ext.vlan_tci = rule->filter.formatted.vlan_id; in ixgbe_get_ethtool_fdir_entry()
[all …]
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dsta_cmd.c1571 struct coalesce_receive_filt_rule *rule; in mwifiex_cmd_coalesce_cfg() local
1578 rule = coalesce_cfg->rule; in mwifiex_cmd_coalesce_cfg()
1581 rule->header.type = cpu_to_le16(TLV_TYPE_COALESCE_RULE); in mwifiex_cmd_coalesce_cfg()
1582 rule->max_coalescing_delay = in mwifiex_cmd_coalesce_cfg()
1583 cpu_to_le16(cfg->rule[cnt].max_coalescing_delay); in mwifiex_cmd_coalesce_cfg()
1584 rule->pkt_type = cfg->rule[cnt].pkt_type; in mwifiex_cmd_coalesce_cfg()
1585 rule->num_of_fields = cfg->rule[cnt].num_of_fields; in mwifiex_cmd_coalesce_cfg()
1589 param = rule->params; in mwifiex_cmd_coalesce_cfg()
1590 for (idx = 0; idx < cfg->rule[cnt].num_of_fields; idx++) { in mwifiex_cmd_coalesce_cfg()
1591 param->operation = cfg->rule[cnt].params[idx].operation; in mwifiex_cmd_coalesce_cfg()
[all …]
Dioctl.h455 struct mwifiex_coalesce_rule rule[MWIFIEX_COALESCE_MAX_RULES]; member
Dfw.h2083 struct coalesce_receive_filt_rule rule[0]; member
Dcfg80211.c3273 &coalesce_cfg.rule[i]); in mwifiex_cfg80211_set_coalesce()
/linux-4.4.14/net/wireless/
Dreg.c648 const struct ieee80211_reg_rule *rule) in reg_get_max_bandwidth_from_range() argument
650 const struct ieee80211_freq_range *freq_range = &rule->freq_range; in reg_get_max_bandwidth_from_range()
656 if (rule == &rd->reg_rules[idx]) in reg_get_max_bandwidth_from_range()
678 freq_range = &rule->freq_range; in reg_get_max_bandwidth_from_range()
697 const struct ieee80211_reg_rule *rule) in reg_get_max_bandwidth() argument
699 unsigned int bw = reg_get_max_bandwidth_from_range(rd, rule); in reg_get_max_bandwidth()
701 if (rule->flags & NL80211_RRF_NO_160MHZ) in reg_get_max_bandwidth()
703 if (rule->flags & NL80211_RRF_NO_80MHZ) in reg_get_max_bandwidth()
710 if (rule->flags & NL80211_RRF_NO_HT40MINUS && in reg_get_max_bandwidth()
711 rule->flags & NL80211_RRF_NO_HT40PLUS) in reg_get_max_bandwidth()
[all …]
Dreg.h58 const struct ieee80211_reg_rule *rule);
Dnl80211.c1118 struct nl80211_coalesce_rule_support rule; in nl80211_send_coalesce() local
1123 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce()
1124 rule.max_delay = rdev->wiphy.coalesce->max_delay; in nl80211_send_coalesce()
1125 rule.pat.max_patterns = rdev->wiphy.coalesce->n_patterns; in nl80211_send_coalesce()
1126 rule.pat.min_pattern_len = rdev->wiphy.coalesce->pattern_min_len; in nl80211_send_coalesce()
1127 rule.pat.max_pattern_len = rdev->wiphy.coalesce->pattern_max_len; in nl80211_send_coalesce()
1128 rule.pat.max_pkt_offset = rdev->wiphy.coalesce->max_pkt_offset; in nl80211_send_coalesce()
1130 if (nla_put(msg, NL80211_ATTR_COALESCE_RULE, sizeof(rule), &rule)) in nl80211_send_coalesce()
9518 struct cfg80211_coalesce_rules *rule; in nl80211_send_coalesce_rules() local
9532 rule = &rdev->coalesce->rules[i]; in nl80211_send_coalesce_rules()
[all …]
/linux-4.4.14/sound/firewire/dice/
Ddice-pcm.c13 struct snd_pcm_hw_rule *rule) in dice_rate_constraint() argument
15 struct snd_pcm_substream *substream = rule->private; in dice_rate_constraint()
48 struct snd_pcm_hw_rule *rule) in dice_channels_constraint() argument
50 struct snd_pcm_substream *substream = rule->private; in dice_channels_constraint()
/linux-4.4.14/sound/firewire/oxfw/
Doxfw-pcm.c11 struct snd_pcm_hw_rule *rule) in hw_rule_rate() argument
13 u8 **formats = rule->private; in hw_rule_rate()
42 struct snd_pcm_hw_rule *rule) in hw_rule_channels() argument
44 u8 **formats = rule->private; in hw_rule_channels()
/linux-4.4.14/sound/drivers/
Daloop.c621 struct snd_pcm_hw_rule *rule) in rule_format() argument
624 struct snd_pcm_hardware *hw = rule->private; in rule_format()
625 struct snd_mask *maskp = hw_param_mask(params, rule->var); in rule_format()
636 struct snd_pcm_hw_rule *rule) in rule_rate() argument
638 struct snd_pcm_hardware *hw = rule->private; in rule_rate()
645 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in rule_rate()
649 struct snd_pcm_hw_rule *rule) in rule_channels() argument
651 struct snd_pcm_hardware *hw = rule->private; in rule_channels()
658 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in rule_channels()
/linux-4.4.14/Documentation/infiniband/
Duser_verbs.txt59 udev, a rule like
69 appropriate MODE or GROUP to the udev rule.
Duser_mad.txt134 udev, a rule like
/linux-4.4.14/sound/ppc/
Dpmac.c554 struct snd_pcm_hw_rule *rule)
556 struct snd_pmac *chip = rule->private;
557 struct pmac_stream *rec = snd_pmac_get_stream(chip, rule->deps[0]);
568 return snd_interval_list(hw_param_interval(params, rule->var),
573 struct snd_pcm_hw_rule *rule)
575 struct snd_pmac *chip = rule->private;
576 struct pmac_stream *rec = snd_pmac_get_stream(chip, rule->deps[0]);
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
Dchannel.c666 const struct ieee80211_reg_rule *rule; in brcms_reg_apply_beaconing_flags() local
682 rule = freq_reg_info(wiphy, in brcms_reg_apply_beaconing_flags()
684 if (IS_ERR(rule)) in brcms_reg_apply_beaconing_flags()
687 if (!(rule->flags & NL80211_RRF_NO_IR)) in brcms_reg_apply_beaconing_flags()
/linux-4.4.14/Documentation/
Dkref.txt105 Note that the "before" in rule 1 is very important. You should never
139 The last rule (rule 3) is the nastiest one to handle. Say, for
142 and kref_get() it. That violates rule 3 because you are not already
Dmd-cluster.txt162 (Steps 4,5 could be a udev rule)
DCodingStyle340 Maybe there are other cases too, but the rule should basically be to NEVER
759 A reasonable rule of thumb is to not put inline at functions that have more
760 than 3 lines of code in them. An exception to this rule are the cases where
803 this rule. Generally they indicate failure by returning some out-of-range
Dxillybus.txt346 PCIe packets, the following rule applies: If a buffer is smaller than 4kB,
358 the IDT. The driver relies on a rule that the pipes are sorted with decreasing
Dunaligned-memory-access.txt30 The rule mentioned above forms what we refer to as natural alignment:
Ddynamic-debug-howto.txt111 A another way is to use wildcard. The match rule support '*' (matches
DManagementStyle149 (2) learn how to apologize when you forgot rule (1)
Datomic_ops.txt550 The rule to follow is simple:
DDMA-API-HOWTO.txt129 This rule also means that you may use neither kernel image addresses
DSubmittingPatches461 rule (c), you should ask the submitter to rediff, but this is a totally
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-pcm.c12 struct snd_pcm_hw_rule *rule) in hw_rule_rate() argument
36 struct snd_pcm_hw_rule *rule) in hw_rule_channels() argument
/linux-4.4.14/sound/usb/
Dpcm.c910 struct snd_pcm_hw_rule *rule) in hw_rule_rate() argument
912 struct snd_usb_substream *subs = rule->private; in hw_rule_rate()
962 struct snd_pcm_hw_rule *rule) in hw_rule_channels() argument
964 struct snd_usb_substream *subs = rule->private; in hw_rule_channels()
1013 struct snd_pcm_hw_rule *rule) in hw_rule_format() argument
1015 struct snd_usb_substream *subs = rule->private; in hw_rule_format()
1044 struct snd_pcm_hw_rule *rule) in hw_rule_period_time() argument
1046 struct snd_usb_substream *subs = rule->private; in hw_rule_period_time()
/linux-4.4.14/scripts/kconfig/
Dzconf.lex.c_shipped153 /* Action number for EOF rule of a given start state. */
955 /* Copy whatever the last rule matched to the standard output. */
1014 /* Code executed at the beginning of each rule, after zconftext and zconfleng
1021 /* Code executed at the end of each rule. */
1095 /* rule 1 can match eol */
1097 /* rule 2 can match eol */
1143 /* rule 8 can match eol */
1205 /* rule 21 can match eol */
1227 /* rule 24 can match eol */
1246 /* rule 27 can match eol */
[all …]
Dzconf.tab.c_shipped487 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
547 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */
604 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
622 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
715 positive, shift that token. If negative, reduce the rule which
1044 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
1483 /* The number of symbols on the RHS of the reduced rule.
1665 /* yyn is the number of a rule to reduce with. */
2124 that goes to, based on the state we popped back to and the rule
2223 /* Do not reclaim the symbols of the rule which action triggered
[all …]
/linux-4.4.14/Documentation/security/
DSmack.txt87 the Smack rule (more below) that permitted the write access
119 specified Smack label. Write a fixed format access rule to
126 specified Smack label. Write a long format access rule to
133 change-rule
140 "rwxat-". If a rule for a given subject and object exists it will be
142 those in the fourth string. If there is no such rule it will be
276 object with objectlabel. If there is no rule no access is allowed.
416 rule set is permitted.
431 The format of an access rule is:
444 t: indicates that the rule requests transmutation.
[all …]
Dcredentials.txt138 subject label, the object label and the action and look for a rule
/linux-4.4.14/net/bridge/netfilter/
DKconfig116 the rate at which a rule can be matched. This match is the
208 This option adds the log watcher, that you can use in any rule
222 This option adds the nflog watcher, that you can use in any rule
/linux-4.4.14/Documentation/networking/
Dpolicy-routing.txt67 We scan rules list, and if a rule is matched, apply it.
84 tables. Every rule is supplied with its own gateway, device
Dxfrm_proc.txt41 e.g. Inbound SAs are correct but SP rule is wrong
Dregulatory.txt32 it needs a new regulatory domain. A udev rule can be put in place
36 Below is an example udev rule which can be used:
Dtproxy.txt21 # ip rule add fwmark 1 lookup 100
Dopenvswitch.txt147 Basic rule for evolving flow keys
154 The basic rule is obvious:
162 This rule does have less-obvious consequences so it is worth working
Dnetdevices.txt33 Segmentation Offload (GSO, TSO) is an exception to this rule. The
Dradiotap-headers.txt73 rule is applied dealing with a u16, NOT dealing with a 4-byte single entity.
Dswitchdev.txt105 name for each port using port PHYS name. The udev rule would be:
184 XXX: what should be done if offloading this rule to hardware fails (for
/linux-4.4.14/Documentation/vm/
Dactive_mm.txt40 The rule is that for a process with a real address space (ie tsk->mm is
61 Also, a new rule is that _nobody_ ever has "init_mm" as a real MM any
/linux-4.4.14/sound/soc/atmel/
Datmel_ssc_dai.c208 struct snd_pcm_hw_rule *rule) in atmel_ssc_hw_rule_rate() argument
210 struct atmel_ssc_info *ssc_p = rule->private; in atmel_ssc_hw_rule_rate()
212 struct snd_interval *i = hw_param_interval(params, rule->var); in atmel_ssc_hw_rule_rate()
256 if (ret >= 0 && den && rule->var == SNDRV_PCM_HW_PARAM_RATE) { in atmel_ssc_hw_rule_rate()
/linux-4.4.14/Documentation/arm64/
Dtagged-pointers.txt25 One exception to this rule is for signals raised in response
/linux-4.4.14/drivers/staging/android/
DTODO23 - Add dt-binding to expose cma regions as ion heaps, with the rule that any
/linux-4.4.14/scripts/coccinelle/free/
Ddevm_free.cocci12 /// false positives. There is no rule for the request_region and
/linux-4.4.14/scripts/coccinelle/api/alloc/
Dkzalloc-simple.cocci5 /// Note in particular that there are no ...s in the rule, so all of the
/linux-4.4.14/drivers/acpi/acpica/
Dacinterp.h483 void acpi_ex_acquire_global_lock(u32 rule);
485 void acpi_ex_release_global_lock(u32 rule);
/linux-4.4.14/Documentation/filesystems/
Dvfat.txt100 emulate the Windows 95 rule for create.
101 win95: emulate the Windows 95 rule for display/create.
102 winnt: emulate the Windows NT rule for display/create.
103 mixed: emulate the Windows NT rule for display,
104 emulate the Windows 95 rule for create.
Dseq_file.txt74 example, could interpret position N as the Nth rule in the chain.
Dproc.txt747 The general rule is that the contents, or even the existence of these
/linux-4.4.14/Documentation/hwmon/
Dk8temp54 70 degrees C. The rule of the thumb -> CPU temperature should not cross
Df71805f137 fan model. As a rule of thumb, lower frequencies seem to give better
Dpmbus-core136 As mentioned above, an exception to this rule applies to virtual commands,
Dit87253 temperature, based on this simple rule: if the temperature value is
/linux-4.4.14/scripts/dtc/
Ddtc-lexer.lex.c_shipped135 /* Action number for EOF rule of a given start state. */
755 /* Copy whatever the last rule matched to the standard output. */
830 /* Code executed at the beginning of each rule, after yytext and yyleng
837 /* Code executed at the end of each rule. */
940 /* rule 1 can match eol */
950 /* rule 2 can match eol */
986 /* rule 3 can match eol */
1077 /* rule 11 can match eol */
1158 /* rule 18 can match eol */
1164 /* rule 19 can match eol */
[all …]
Ddtc-parser.tab.c_shipped493 /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
612 positive, shift that token. If negative, reduce the rule whose
671 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
685 /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */
902 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
1265 /* The number of symbols on the RHS of the reduced rule.
1447 /* yyn is the number of a rule to reduce with. */
2040 that goes to, based on the state we popped back to and the rule
2140 /* Do not reclaim the symbols of the rule whose action triggered
2231 /* Do not reclaim the symbols of the rule whose action triggered
/linux-4.4.14/scripts/genksyms/
Dparse.tab.c_shipped496 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
558 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */
627 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
646 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
738 positive, shift that token. If negative, reduce the rule which
1082 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
1489 /* The number of symbols on the RHS of the reduced rule.
1664 /* yyn is the number of a rule to reduce with. */
2181 that goes to, based on the state we popped back to and the rule
2280 /* Do not reclaim the symbols of the rule which action triggered
[all …]
Dlex.lex.c_shipped133 /* Action number for EOF rule of a given start state. */
658 /* Copy whatever the last rule matched to the standard output. */
733 /* Code executed at the beginning of each rule, after yytext and yyleng
740 /* Code executed at the end of each rule. */
844 /* rule 1 can match eol */
849 /* rule 2 can match eol */
854 /* rule 3 can match eol */
864 /* rule 5 can match eol */
869 /* rule 6 can match eol */
/linux-4.4.14/Documentation/scheduler/
Dsched-nice-design.txt15 rule so that nice +19 level would be _exactly_ 1 jiffy. To better
36 bigger hit than the normal linear rule would do. (The solution of
/linux-4.4.14/tools/perf/Documentation/
Dperf-probe.txt94 This also can accept a FILTER rule argument.
189 …" for specifying filter-out rule. You also can give several rules combined with "&" or "|", and fo…
/linux-4.4.14/Documentation/arm/
Duefi.txt7 source code. As a rule, anything new uses 'UEFI', whereas 'EFI' refers
DSetup10 through the kernel initialisation process. As a general rule, it
Dvlocks.txt73 priority rule to act as a tie-breaker, or any counters which could
/linux-4.4.14/Documentation/ABI/testing/
Dima_policy18 rule format: action [condition ...]
/linux-4.4.14/Documentation/devicetree/
Dof_unittest.txt35 When the kernel is build with OF_SELFTEST enabled, then the following make rule
43 After that, using the following rule the binary blob above is wrapped as an
Dbooting-without-of.txt704 The general rule is documented in the various Open Firmware
821 lowercase. The fact that vendors like Apple don't respect this rule is
/linux-4.4.14/Documentation/kbuild/
Dmakefiles.txt395 This is a special rule, following the normal syntax
403 echoing information to user in a rule is often a good practice
609 This can be done in two ways. Either add the dependency in a rule,
703 (1) List the prerequisite explicitly in a special rule.
716 When there is no suitable special rule, and the host program
726 any rule.
965 The archheaders: rule is used to generate header files that
978 The archprepare: rule is used to list prerequisites that need to be
1105 When the rule is evaluated, it is checked to see if any files
1166 A central rule exists to create $(obj)/%.dtb from $(src)/%.dts;
[all …]
Dmodules.txt304 according to the following rule:
313 NOTE: There are two notable exceptions to this rule: larger
/linux-4.4.14/Documentation/devicetree/bindings/
Dsubmitting-patches.txt23 in Documentation/devicetree/bindings. This rule applies even if
/linux-4.4.14/sound/arm/
Daaci.c384 struct snd_pcm_hw_rule *rule) in aaci_rule_channels() argument
387 struct aaci *aaci = rule->private; in aaci_rule_channels()
398 return snd_interval_list(hw_param_interval(p, rule->var), in aaci_rule_channels()
/linux-4.4.14/sound/pci/ac97/
Dac97_pcm.c699 struct snd_pcm_hw_rule *rule) in double_rate_hw_constraint_rate() argument
714 struct snd_pcm_hw_rule *rule) in double_rate_hw_constraint_channels() argument
/linux-4.4.14/sound/isa/sb/
Dsb8_main.c77 struct snd_pcm_hw_rule *rule) in snd_sb8_hw_constraint_rate_channels() argument
94 struct snd_pcm_hw_rule *rule) in snd_sb8_hw_constraint_channels_rate() argument
/linux-4.4.14/security/keys/
DKconfig34 LSMs gets to rule on which admin-level processes get to access the
/linux-4.4.14/tools/build/
DBuild.include86 # C flags to be used in rule definitions, includes:
/linux-4.4.14/sound/soc/davinci/
Ddavinci-mcasp.c1137 struct snd_pcm_hw_rule *rule) in davinci_mcasp_hw_rule_rate() argument
1139 struct davinci_mcasp_ruledata *rd = rule->private; in davinci_mcasp_hw_rule_rate()
1174 return snd_interval_refine(hw_param_interval(params, rule->var), in davinci_mcasp_hw_rule_rate()
1179 struct snd_pcm_hw_rule *rule) in davinci_mcasp_hw_rule_format() argument
1181 struct davinci_mcasp_ruledata *rd = rule->private; in davinci_mcasp_hw_rule_format()
/linux-4.4.14/sound/soc/omap/
Domap-mcbsp.c93 struct snd_pcm_hw_rule *rule) in omap_mcbsp_hwrule_min_buffersize() argument
99 struct omap_mcbsp *mcbsp = rule->private; in omap_mcbsp_hwrule_min_buffersize()
DKconfig65 a simple rule like this one should do the trick (it does for me):
/linux-4.4.14/sound/pci/echoaudio/
Dechoaudio.c119 struct snd_pcm_hw_rule *rule) in hw_rule_capture_format_by_channels() argument
147 struct snd_pcm_hw_rule *rule) in hw_rule_capture_channels_by_format() argument
181 struct snd_pcm_hw_rule *rule) in hw_rule_playback_format_by_channels() argument
216 struct snd_pcm_hw_rule *rule) in hw_rule_playback_channels_by_format() argument
254 struct snd_pcm_hw_rule *rule) in hw_rule_sample_rate() argument
258 struct echoaudio *chip = rule->private; in hw_rule_sample_rate()
/linux-4.4.14/sound/pci/rme9652/
Drme9652.c2205 struct snd_pcm_hw_rule *rule) in snd_rme9652_hw_rule_channels() argument
2207 struct snd_rme9652 *rme9652 = rule->private; in snd_rme9652_hw_rule_channels()
2214 struct snd_pcm_hw_rule *rule) in snd_rme9652_hw_rule_channels_rate() argument
2216 struct snd_rme9652 *rme9652 = rule->private; in snd_rme9652_hw_rule_channels_rate()
2238 struct snd_pcm_hw_rule *rule) in snd_rme9652_hw_rule_rate_channels() argument
2240 struct snd_rme9652 *rme9652 = rule->private; in snd_rme9652_hw_rule_rate_channels()
Dhdsp.c4259 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_in_channels() argument
4261 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_in_channels()
4278 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_out_channels() argument
4281 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_out_channels()
4296 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_in_channels_rate() argument
4298 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_in_channels_rate()
4327 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_out_channels_rate() argument
4329 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_out_channels_rate()
4358 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_rate_out_channels() argument
4360 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_rate_out_channels()
[all …]
Dhdspm.c5876 struct snd_pcm_hw_rule *rule) in snd_hdspm_hw_rule_in_channels_rate() argument
5878 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_in_channels_rate()
5911 struct snd_pcm_hw_rule * rule) in snd_hdspm_hw_rule_out_channels_rate() argument
5913 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_out_channels_rate()
5946 struct snd_pcm_hw_rule * rule) in snd_hdspm_hw_rule_rate_in_channels() argument
5948 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_rate_in_channels()
5980 struct snd_pcm_hw_rule *rule) in snd_hdspm_hw_rule_rate_out_channels() argument
5982 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_rate_out_channels()
6015 struct snd_pcm_hw_rule *rule) in snd_hdspm_hw_rule_in_channels() argument
6018 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_in_channels()
[all …]
/linux-4.4.14/scripts/coccinelle/null/
Dbadzero.cocci119 // This rule may lead to inconsistent path problems, if E is defined in two
Dderef_null.cocci213 // It is need because the previous rule as already made a "change".
/linux-4.4.14/Documentation/devicetree/bindings/reset/
Dreset.txt6 are likely to be exceptions to this rule.
/linux-4.4.14/Documentation/locking/
Dlockdep-design.txt100 The first rule comes from the fact the a hardirq-safe lock could be
108 any rule violation between the new lock and any of the held locks.
145 automatically detect this natural ordering, as the locking rule behind
/linux-4.4.14/Documentation/arm/Atmel/
DREADME129 to this rule (sama5d3[13456]ek.dts, usb_a9g20.dts or animeo_ip.dts for example).
/linux-4.4.14/Documentation/cpu-freq/
Dcpufreq-stats.txt119 - trans_table goes against the traditional /sysfs rule of one value per
/linux-4.4.14/sound/soc/codecs/
Dpcm512x.c492 struct snd_pcm_hw_rule *rule) in pcm512x_hw_rule_rate() argument
494 struct pcm512x_priv *pcm512x = rule->private; in pcm512x_hw_rule_rate()
521 return snd_interval_ranges(hw_param_interval(params, rule->var), in pcm512x_hw_rule_rate()
/linux-4.4.14/Documentation/driver-model/
Dplatform.txt83 As a rule, platform specific (and often board-specific) setup code will
90 The general rule is to register only those devices that actually exist,
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Dmain.c224 .rule = CONF_BCN_RULE_PASS_ON_APPEARANCE,
228 .rule = CONF_BCN_RULE_PASS_ON_CHANGE,
232 .rule = CONF_BCN_RULE_PASS_ON_CHANGE,
/linux-4.4.14/Documentation/scsi/
D53c700.txt48 asynchronous dividers for the chip. As a general rule of thumb,
DChangeLog.lpfc1296 * Redo lpfc_sysfs_params_[show|store] to one value per attribute rule
1597 * Separated install rule so that BUILD_IPFC has to be set when
1598 make is called in order for the install rule to attempt to
1600 occurs because the install rule by default attempted to
1601 install lpfndd.o, whereas the default make rule did not by
/linux-4.4.14/tools/build/Documentation/
DBuild.txt129 It's possible to include special rule if needed (like we do for flex or bison
/linux-4.4.14/Documentation/i2c/
Dfunctionality113 i2c_smbus_read_word_data() and i2c_smbus_write_word_data(). As a rule of
Dwriting-clients6 guide, not as a rule book!
/linux-4.4.14/scripts/
DKbuild.include47 # The rule defined shall write to stdout the content of the new file.
225 # if_changed_rule - as if_changed but execute rule instead
/linux-4.4.14/Documentation/development-process/
D7.AdvancedTopics82 for those developers. So a simple rule of thumb applies here: history
87 changes should not be rewritten. Git will attempt to enforce this rule if
D4.Coding101 sprinkled liberally with #ifdef blocks. As a general rule, #ifdef use
124 slow execution dramatically. Inline functions, as a rule, should be quite
219 Code submitted for review should, as a rule, not produce any compiler
313 Documentation has often been more the exception than the rule with kernel
D5.Posting51 As a general rule, putting in some extra thought before posting code almost
62 general rule, a patch should be based on the current mainline as found in
D2.Process56 As a general rule, if you miss the merge window for a given feature, the
229 that, sometimes, he looks quite closely. But, as a general rule, Linus
D1.Intro155 result of a simple rule requiring any developer who makes an API change
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dconf.h752 u8 rule; member
Dacx.c417 ie_table->table[idx++] = r->rule; in wl1271_acx_beacon_filter_table()
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
Dmain.c355 .rule = CONF_BCN_RULE_PASS_ON_APPEARANCE,
359 .rule = CONF_BCN_RULE_PASS_ON_CHANGE,
363 .rule = CONF_BCN_RULE_PASS_ON_CHANGE,
/linux-4.4.14/Documentation/DocBook/
Dalsa-driver-api.xml.db39 API-snd-pcm-hw-rule-add
50 API-snd-pcm-hw-rule-noresample
Ddevice-drivers.xml.db749 API-snd-pcm-hw-rule-add
760 API-snd-pcm-hw-rule-noresample
Dkernel-api.xml.db586 API-audit-rule-change
/linux-4.4.14/tools/perf/config/
Dutilities.mak109 # within the context of a command line of a makefile rule
/linux-4.4.14/Documentation/devicetree/bindings/iommu/
Diommu.txt81 device's parent node it will be ignored. An exception to this rule is if the
/linux-4.4.14/include/linux/ceph/
Dceph_fs.h388 __u8 rule; /* currently fcntl or flock */ member
/linux-4.4.14/Documentation/usb/
Derror-codes.txt7 device drivers only see through usbcore. As a rule, all the HCDs should
Dpower-management.txt610 attached child-devices will disconnect. A good rule of thumb is that if the
/linux-4.4.14/Documentation/hid/
Dhidraw.txt31 and udev rule-dependent, applications should use libudev to locate hidraw
/linux-4.4.14/Documentation/dmaengine/
Dpxa_dma.txt83 One exception to this rule :
/linux-4.4.14/drivers/net/wireless/libertas/
Dhost.h842 struct host_wol_rule rule[MAX_WOL_RULES]; member
/linux-4.4.14/Documentation/video4linux/
DREADME.ivtv89 video16, the second card will still use video17. The simple rule is 'add
Dvideobuf83 check it for rationality and adjust it if need be. As a practical rule, a
180 a general rule, it is necessary to support both to ensure that all
Dv4l2-controls.txt659 control. The rule is to have one control for each hardware 'knob' that you
/linux-4.4.14/Documentation/fb/
Dudlfb.txt130 by a udev rule), then udlfb will use this EDID as a
/linux-4.4.14/Documentation/devicetree/bindings/thermal/
Dthermal.txt493 the hypothetical extrapolation rule would be:
497 consider the hotspot extrapolation rule below:
/linux-4.4.14/
DREPORTING-BUGS166 The exceptions to this rule are regressions, kernel crashes, security holes,
/linux-4.4.14/net/ipv6/netfilter/
DKconfig247 The REJECT target allows a filtering rule to specify that an ICMPv6
/linux-4.4.14/Documentation/input/
Dinput-programming.txt302 isn't a rule), and thus must not sleep, and must not take too long to finish.
/linux-4.4.14/Documentation/acpi/
Dnamespace.txt258 rule of the struct acpi_device object:
/linux-4.4.14/net/ipv4/netfilter/
DKconfig247 The REJECT target allows a filtering rule to specify that an ICMP
/linux-4.4.14/Documentation/power/
Dbasic-pm-debugging.txt96 the "platform" test will fail as well and so on. Thus, as a rule of thumb, you
Dswsusp.txt303 As a rule of thumb use encrypted swap to protect your data while your
/linux-4.4.14/sound/sparc/
Ddbri.c1999 struct snd_pcm_hw_rule *rule) in snd_hw_rule_format() argument
2015 struct snd_pcm_hw_rule *rule) in snd_hw_rule_channels() argument
/linux-4.4.14/include/sound/
Dpcm.h223 struct snd_pcm_hw_rule *rule);
/linux-4.4.14/Documentation/cgroups/
Dunified-hierarchy.txt22 4-2. Common ancestor rule
270 4-2. Common ancestor rule
Dblkio-controller.txt147 on all the devices until and unless overridden by per device rule.
/linux-4.4.14/include/linux/mlx4/
Ddevice.h1392 struct mlx4_net_trans_rule *rule, u64 *reg_id);
/linux-4.4.14/sound/pci/
Dsonicvibes.c558 struct snd_pcm_hw_rule *rule) in snd_sonicvibes_hw_constraint_dac_rate() argument
/linux-4.4.14/Documentation/filesystems/caching/
Dcachefiles.txt349 based on a rule of this form in the policy.
/linux-4.4.14/Documentation/mtd/
Dnand_ecc.txt71 for rp4 the rule is cover 4 bytes, skip 4 bytes, cover 4 bytes, skip 4 etc.
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt3933 to create a static rule to enable it: