/linux-4.1.27/net/core/ |
D | fib_rules.c | 49 struct fib_rule *rule; in fib_default_rule_pref() local 54 rule = list_entry(pos->next, struct fib_rule, list); in fib_default_rule_pref() 55 if (rule->pref) in fib_default_rule_pref() 56 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.1.27/drivers/pnp/ |
D | manager.c | 22 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.1.27/kernel/ |
D | auditfilter.c | 95 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 …]
|
D | audit_tree.c | 454 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 …]
|
D | audit_watch.c | 292 oentry = container_of(r, struct audit_entry, rule); in audit_update_watch() 293 list_del(&oentry->rule.rlist); in audit_update_watch() 296 nentry = audit_dupe_rule(&oentry->rule); in audit_update_watch() 298 list_del(&oentry->rule.list); in audit_update_watch() 308 audit_put_watch(nentry->rule.watch); in audit_update_watch() 310 nentry->rule.watch = nwatch; in audit_update_watch() 311 list_add(&nentry->rule.rlist, &nwatch->rules); in audit_update_watch() 313 list_replace(&oentry->rule.list, in audit_update_watch() 314 &nentry->rule.list); in audit_update_watch() 344 e = container_of(r, struct audit_entry, rule); in audit_remove_parent_watches()
|
D | audit.h | 59 struct audit_krule rule; member 296 #define audit_remove_tree_rule(rule) BUG() argument 297 #define audit_add_tree_rule(rule) -EINVAL argument 298 #define audit_make_tree(rule, str, op) -EINVAL argument 302 #define audit_tree_path(rule) "" /* never called */ argument
|
D | auditsc.c | 439 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() 595 result = audit_watch_compare(rule->watch, name->ino, name->dev); in audit_filter_rules() 599 result = match_tree_refs(ctx, rule->tree); in audit_filter_rules() 688 if (rule->prio <= ctx->prio) in audit_filter_rules() 690 if (rule->filterkey) { in audit_filter_rules() 692 ctx->filterkey = kstrdup(rule->filterkey, GFP_ATOMIC); in audit_filter_rules() 694 ctx->prio = rule->prio; in audit_filter_rules() 696 switch (rule->action) { in audit_filter_rules() [all …]
|
/linux-4.1.27/net/ipv4/ |
D | fib_rules.c | 60 if (arg.rule) in __fib_lookup() 61 res->tclassid = ((struct fib4_rule *)arg.rule)->tclassid; in __fib_lookup() 73 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, in fib4_rule_action() argument 79 switch (rule->action) { in fib4_rule_action() 96 tbl = fib_get_table(rule->fr_net, rule->table); in fib4_rule_action() 106 static bool fib4_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib4_rule_suppress() argument 117 if (result->prefixlen <= rule->suppress_prefixlen) in fib4_rule_suppress() 123 if (rule->suppress_ifgroup != -1 && dev && dev->group == rule->suppress_ifgroup) in fib4_rule_suppress() 134 static int fib4_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib4_rule_match() argument 136 struct fib4_rule *r = (struct fib4_rule *) rule; in fib4_rule_match() [all …]
|
D | ipmr.c | 173 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.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_config.c | 170 static void sptlrpc_rule_init(struct sptlrpc_rule *rule) in sptlrpc_rule_init() argument 172 rule->sr_netid = LNET_NIDNET(LNET_NID_ANY); in sptlrpc_rule_init() 173 rule->sr_from = LUSTRE_SP_ANY; in sptlrpc_rule_init() 174 rule->sr_to = LUSTRE_SP_ANY; in sptlrpc_rule_init() 175 rule->sr_padding = 0; in sptlrpc_rule_init() 177 get_default_flavor(&rule->sr_flvr); in sptlrpc_rule_init() 183 int sptlrpc_parse_rule(char *param, struct sptlrpc_rule *rule) in sptlrpc_parse_rule() argument 188 sptlrpc_rule_init(rule); in sptlrpc_parse_rule() 203 rule->sr_netid = libcfs_str2net(param); in sptlrpc_parse_rule() 204 if (rule->sr_netid == LNET_NIDNET(LNET_NID_ANY)) { in sptlrpc_parse_rule() [all …]
|
/linux-4.1.27/net/ipv6/ |
D | fib6_rules.c | 50 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action() argument 56 struct net *net = rule->fr_net; in fib6_rule_action() 60 switch (rule->action) { in fib6_rule_action() 78 table = fib6_get_table(net, rule->table); in fib6_rule_action() 86 struct fib6_rule *r = (struct fib6_rule *)rule; in fib6_rule_action() 92 if ((rule->flags & FIB_RULE_FIND_SADDR) && in fib6_rule_action() 123 static bool fib6_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib6_rule_suppress() argument 134 if (rt->rt6i_dst.plen <= rule->suppress_prefixlen) in fib6_rule_suppress() 140 if (rule->suppress_ifgroup != -1 && dev && dev->group == rule->suppress_ifgroup) in fib6_rule_suppress() 150 static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib6_rule_match() argument [all …]
|
D | ip6mr.c | 157 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
|
D | addrconf.c | 1204 int rule; member 1243 if (i <= score->rule) { in ipv6_get_saddr_eval() 1365 score->rule = i; in ipv6_get_saddr_eval() 1387 hiscore->rule = -1; in ipv6_dev_get_saddr() 1443 score->rule = -1; in ipv6_dev_get_saddr()
|
/linux-4.1.27/security/integrity/ima/ |
D | ima_policy.c | 60 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.1.27/net/decnet/ |
D | dn_rules.c | 62 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.1.27/Documentation/RCU/ |
D | listRCU.txt | 37 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 …]
|
D | checklist.txt | 52 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()
|
D | rcubarrier.txt | 169 module is an exception to this rule, and therefore needs to set this
|
D | rcu_dereference.txt | 201 There is one exception to this rule: Value-speculation
|
/linux-4.1.27/arch/tile/gxio/ |
D | mpipe.c | 267 gxio_mpipe_rules_rule_t *rule = in gxio_mpipe_rules_begin() local 284 if (head + pad + sizeof(*rule) >= sizeof(list->rules)) in gxio_mpipe_rules_begin() 292 rule->size += pad; in gxio_mpipe_rules_begin() 297 rule = (gxio_mpipe_rules_rule_t *) (list->rules + list->head); in gxio_mpipe_rules_begin() 300 rule->headroom = 2; in gxio_mpipe_rules_begin() 301 rule->tailroom = 0; in gxio_mpipe_rules_begin() 302 rule->capacity = 16384; in gxio_mpipe_rules_begin() 305 rule->bucket_mask = num_buckets - 1; in gxio_mpipe_rules_begin() 306 rule->bucket_first = bucket; in gxio_mpipe_rules_begin() 314 rule->stacks.stacks[i] = stack; in gxio_mpipe_rules_begin() [all …]
|
/linux-4.1.27/drivers/isdn/divert/ |
D | isdn_divert.c | 39 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 …]
|
D | divert_procfs.c | 216 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()
|
D | isdn_divert.h | 76 divert_rule rule; /* rule parms */ member
|
/linux-4.1.27/net/netfilter/ |
D | nf_tables_core.c | 109 const struct nft_rule *rule; member 119 const struct nft_rule *rule; in nft_do_chain() local 134 rule = list_entry(&chain->rules, struct nft_rule, list); in nft_do_chain() 137 list_for_each_entry_continue_rcu(rule, &chain->rules, list) { in nft_do_chain() 140 if (unlikely(rule->genmask & (1 << gencursor))) in nft_do_chain() 145 nft_rule_for_each_expr(expr, last, rule) { in nft_do_chain() 179 jumpstack[stackptr].rule = rule; in nft_do_chain() 201 rule = jumpstack[stackptr].rule; in nft_do_chain()
|
D | nf_tables_api.c | 199 nft_rule_is_active(struct net *net, const struct nft_rule *rule) in nft_rule_is_active() argument 201 return (rule->genmask & nft_genmask_cur(net)) == 0; in nft_rule_is_active() 205 nft_rule_is_active_next(struct net *net, const struct nft_rule *rule) in nft_rule_is_active_next() argument 207 return (rule->genmask & nft_genmask_next(net)) == 0; in nft_rule_is_active_next() 211 nft_rule_activate_next(struct net *net, struct nft_rule *rule) in nft_rule_activate_next() argument 214 rule->genmask = nft_genmask_cur(net); in nft_rule_activate_next() 218 nft_rule_deactivate_next(struct net *net, struct nft_rule *rule) in nft_rule_deactivate_next() argument 220 rule->genmask = nft_genmask_next(net); in nft_rule_deactivate_next() 223 static inline void nft_rule_clear(struct net *net, struct nft_rule *rule) in nft_rule_clear() argument 225 rule->genmask &= ~nft_genmask_next(net); in nft_rule_clear() [all …]
|
D | Kconfig | 435 rule-set. It also comes with the generic set infrastructure that 486 include packet and byte counters in a rule. 498 ratelimit rule matchings. 732 resets the timer associated with label specified when the rule is 887 will log every rule which match the packets as those traverse 922 Workaround: activate this option and add a rule to your firewall 1128 with a single rule. 1200 limit matching allows you to control the rate at which a rule can be 1229 a series of source or destination ports: normally a rule can only
|
/linux-4.1.27/include/net/ |
D | fib_rules.h | 37 struct fib_rule *rule; member 93 static inline void fib_rule_get(struct fib_rule *rule) in fib_rule_get() argument 95 atomic_inc(&rule->refcnt); in fib_rule_get() 98 static inline void fib_rule_put(struct fib_rule *rule) in fib_rule_put() argument 100 if (atomic_dec_and_test(&rule->refcnt)) in fib_rule_put() 101 kfree_rcu(rule, rcu); in fib_rule_put()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | ethtool.c | 790 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.1.27/security/selinux/include/ |
D | audit.h | 32 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.1.27/security/smack/ |
D | smackfs.c | 346 struct smack_parsed_rule *rule, int import, in smk_fill_rule() argument 353 rule->smk_subject = smk_import_entry(subject, len); in smk_fill_rule() 354 if (rule->smk_subject == NULL) in smk_fill_rule() 357 rule->smk_object = smk_import_entry(object, len); in smk_fill_rule() 358 if (rule->smk_object == NULL) in smk_fill_rule() 368 rule->smk_subject = skp; in smk_fill_rule() 377 rule->smk_object = skp; in smk_fill_rule() 380 rule->smk_access1 = smk_perm_from_str(access1); in smk_fill_rule() 382 rule->smk_access2 = smk_perm_from_str(access2); in smk_fill_rule() 384 rule->smk_access2 = ~rule->smk_access1; in smk_fill_rule() [all …]
|
D | Kconfig | 21 When access is granted by a rule with the "b" mode a 28 access rule set once the behavior is well understood.
|
D | smack_lsm.c | 4096 char **rule = (char **)vrule; in smack_audit_rule_init() local 4097 *rule = NULL; in smack_audit_rule_init() 4107 *rule = skp->smk_known; in smack_audit_rule_init() 4150 char *rule = vrule; in smack_audit_rule_match() local 4152 if (unlikely(!rule)) { in smack_audit_rule_match() 4168 return (rule == skp->smk_known); in smack_audit_rule_match() 4170 return (rule != skp->smk_known); in smack_audit_rule_match()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | mcg.c | 900 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 …]
|
D | en_ethtool.c | 1485 struct mlx4_net_trans_rule rule = { in mlx4_en_flow_replace() local 1492 rule.port = priv->port; in mlx4_en_flow_replace() 1493 rule.priority = MLX4_DOMAIN_ETHTOOL | cmd->fs.location; in mlx4_en_flow_replace() 1494 INIT_LIST_HEAD(&rule.list); in mlx4_en_flow_replace() 1514 rule.qpn = qpn; in mlx4_en_flow_replace() 1515 err = mlx4_en_ethtool_to_net_trans_rule(dev, cmd, &rule.list); in mlx4_en_flow_replace() 1532 err = mlx4_flow_attach(priv->mdev->dev, &rule, ®_id); in mlx4_en_flow_replace() 1544 list_for_each_entry_safe(spec, tmp_spec, &rule.list, list) { in mlx4_en_flow_replace() 1555 struct ethtool_flow_id *rule; in mlx4_en_flow_detach() local 1561 rule = &priv->ethtool_rules[cmd->fs.location]; in mlx4_en_flow_detach() [all …]
|
D | en_netdev.c | 168 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.1.27/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1132 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) in vlan_tci_vid() argument 1134 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vid() 1137 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) in vlan_tci_vidm() argument 1139 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vidm() 1142 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfi() argument 1144 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfi() 1147 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfim() argument 1149 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfim() 1152 static inline u32 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) in vlan_tci_prio() argument 1154 return (be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_PRIO_MASK) >> in vlan_tci_prio() [all …]
|
/linux-4.1.27/include/net/netfilter/ |
D | nf_tables.h | 688 static inline struct nft_expr *nft_expr_first(const struct nft_rule *rule) in nft_expr_first() argument 690 return (struct nft_expr *)&rule->data[0]; in nft_expr_first() 698 static inline struct nft_expr *nft_expr_last(const struct nft_rule *rule) in nft_expr_last() argument 700 return (struct nft_expr *)&rule->data[rule->dlen]; in nft_expr_last() 703 static inline struct nft_userdata *nft_userdata(const struct nft_rule *rule) in nft_userdata() argument 705 return (void *)&rule->data[rule->dlen]; in nft_userdata() 713 #define nft_rule_for_each_expr(expr, last, rule) \ argument 714 for ((expr) = nft_expr_first(rule), (last) = nft_expr_last(rule); \ 981 struct nft_rule *rule; member 985 (((struct nft_trans_rule *)trans->data)->rule)
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 1848 struct i40e_fdir_filter *rule; in i40e_get_ethtool_fdir_all() local 1855 hlist_for_each_entry_safe(rule, node2, in i40e_get_ethtool_fdir_all() 1860 rule_locs[cnt] = rule->fd_id; in i40e_get_ethtool_fdir_all() 1884 struct i40e_fdir_filter *rule = NULL; in i40e_get_ethtool_fdir_entry() local 1887 hlist_for_each_entry_safe(rule, node2, in i40e_get_ethtool_fdir_entry() 1889 if (fsp->location <= rule->fd_id) in i40e_get_ethtool_fdir_entry() 1893 if (!rule || fsp->location != rule->fd_id) in i40e_get_ethtool_fdir_entry() 1896 fsp->flow_type = rule->flow_type; in i40e_get_ethtool_fdir_entry() 1906 fsp->h_u.tcp_ip4_spec.psrc = rule->dst_port; in i40e_get_ethtool_fdir_entry() 1907 fsp->h_u.tcp_ip4_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry() [all …]
|
/linux-4.1.27/Documentation/dvb/ |
D | udev.txt | 31 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.1.27/drivers/net/wireless/iwlwifi/ |
D | iwl-nvm-parse.c | 730 struct ieee80211_reg_rule *rule; in iwl_parse_nvm_mcc_info() local 781 rule = ®d->reg_rules[valid_rules - 1]; in iwl_parse_nvm_mcc_info() 784 rule->freq_range.start_freq_khz = in iwl_parse_nvm_mcc_info() 787 rule->freq_range.end_freq_khz = MHZ_TO_KHZ(center_freq + 10); in iwl_parse_nvm_mcc_info() 790 rule->power_rule.max_antenna_gain = DBI_TO_MBI(6); in iwl_parse_nvm_mcc_info() 791 rule->power_rule.max_eirp = in iwl_parse_nvm_mcc_info() 794 rule->flags = iwl_nvm_get_regdom_bw_flags(nvm_chan, ch_idx, in iwl_parse_nvm_mcc_info() 798 rule->flags |= NL80211_RRF_AUTO_BW; in iwl_parse_nvm_mcc_info() 799 rule->freq_range.max_bandwidth_khz = 0; in iwl_parse_nvm_mcc_info()
|
/linux-4.1.27/security/selinux/ss/ |
D | services.c | 2845 struct selinux_audit_rule *rule = vrule; in selinux_audit_rule_free() local 2847 if (rule) { in selinux_audit_rule_free() 2848 context_destroy(&rule->au_ctxt); in selinux_audit_rule_free() 2849 kfree(rule); in selinux_audit_rule_free() 2859 struct selinux_audit_rule **rule = (struct selinux_audit_rule **)vrule; in selinux_audit_rule_init() local 2862 *rule = NULL; in selinux_audit_rule_init() 2944 *rule = tmprule; in selinux_audit_rule_init() 2950 int selinux_audit_rule_known(struct audit_krule *rule) in selinux_audit_rule_known() argument 2954 for (i = 0; i < rule->field_count; i++) { in selinux_audit_rule_known() 2955 struct audit_field *f = &rule->fields[i]; in selinux_audit_rule_known() [all …]
|
/linux-4.1.27/drivers/s390/crypto/ |
D | zcrypt_msgtype6.h | 134 char rule[8]; in rng_type6CPRB_msgX() member 162 memcpy(msg->rule, "RANDOM ", 8); in rng_type6CPRB_msgX()
|
/linux-4.1.27/Documentation/isdn/ |
D | README.diversion | 57 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.1.27/sound/core/ |
D | pcm_lib.c | 1278 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_list() argument 1280 struct snd_pcm_hw_constraint_list *list = rule->private; in snd_pcm_hw_rule_list() 1281 …return snd_interval_list(hw_param_interval(params, rule->var), list->count, list->list, list->mask… in snd_pcm_hw_rule_list() 1309 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_ranges() argument 1311 struct snd_pcm_hw_constraint_ranges *r = rule->private; in snd_pcm_hw_rule_ranges() 1312 return snd_interval_ranges(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_ranges() 1340 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_ratnums() argument 1342 struct snd_pcm_hw_constraint_ratnums *r = rule->private; in snd_pcm_hw_rule_ratnums() 1345 err = snd_interval_ratnum(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_ratnums() 1347 if (err >= 0 && den && rule->var == SNDRV_PCM_HW_PARAM_RATE) { in snd_pcm_hw_rule_ratnums() [all …]
|
D | pcm_native.c | 1904 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_mul() argument 1907 snd_interval_mul(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_mul() 1908 hw_param_interval_c(params, rule->deps[1]), &t); in snd_pcm_hw_rule_mul() 1909 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in snd_pcm_hw_rule_mul() 1913 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_div() argument 1916 snd_interval_div(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_div() 1917 hw_param_interval_c(params, rule->deps[1]), &t); in snd_pcm_hw_rule_div() 1918 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in snd_pcm_hw_rule_div() 1922 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_muldivk() argument 1925 snd_interval_muldivk(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_muldivk() [all …]
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | sta_cmd.c | 1492 struct coalesce_receive_filt_rule *rule; in mwifiex_cmd_coalesce_cfg() local 1499 rule = coalesce_cfg->rule; in mwifiex_cmd_coalesce_cfg() 1502 rule->header.type = cpu_to_le16(TLV_TYPE_COALESCE_RULE); in mwifiex_cmd_coalesce_cfg() 1503 rule->max_coalescing_delay = in mwifiex_cmd_coalesce_cfg() 1504 cpu_to_le16(cfg->rule[cnt].max_coalescing_delay); in mwifiex_cmd_coalesce_cfg() 1505 rule->pkt_type = cfg->rule[cnt].pkt_type; in mwifiex_cmd_coalesce_cfg() 1506 rule->num_of_fields = cfg->rule[cnt].num_of_fields; in mwifiex_cmd_coalesce_cfg() 1510 param = rule->params; in mwifiex_cmd_coalesce_cfg() 1511 for (idx = 0; idx < cfg->rule[cnt].num_of_fields; idx++) { in mwifiex_cmd_coalesce_cfg() 1512 param->operation = cfg->rule[cnt].params[idx].operation; in mwifiex_cmd_coalesce_cfg() [all …]
|
D | ioctl.h | 448 struct mwifiex_coalesce_rule rule[MWIFIEX_COALESCE_MAX_RULES]; member
|
D | fw.h | 1908 struct coalesce_receive_filt_rule rule[0]; member
|
D | cfg80211.c | 3106 &coalesce_cfg.rule[i]); in mwifiex_cfg80211_set_coalesce()
|
/linux-4.1.27/net/ceph/crush/ |
D | crush.c | 140 void crush_destroy_rule(struct crush_rule *rule) in crush_destroy_rule() argument 142 kfree(rule); in crush_destroy_rule()
|
D | mapper.c | 757 struct crush_rule *rule; in crush_do_rule() local 782 rule = map->rules[ruleno]; in crush_do_rule() 787 for (step = 0; step < rule->len; step++) { in crush_do_rule() 789 struct crush_rule_step *curstep = &rule->steps[step]; in crush_do_rule()
|
/linux-4.1.27/scripts/coccinelle/iterators/ |
D | list_entry_update.cocci | 3 /// The first rule finds such a reassignment and the second rule checks
|
/linux-4.1.27/fs/ceph/ |
D | locks.c | 68 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.1.27/sound/firewire/fireworks/ |
D | fireworks_pcm.c | 65 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.1.27/sound/firewire/bebob/ |
D | bebob_pcm.c | 12 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.1.27/net/wireless/ |
D | reg.c | 599 const struct ieee80211_reg_rule *rule) in reg_get_max_bandwidth_from_range() argument 601 const struct ieee80211_freq_range *freq_range = &rule->freq_range; in reg_get_max_bandwidth_from_range() 607 if (rule == &rd->reg_rules[idx]) in reg_get_max_bandwidth_from_range() 629 freq_range = &rule->freq_range; in reg_get_max_bandwidth_from_range() 648 const struct ieee80211_reg_rule *rule) in reg_get_max_bandwidth() argument 650 unsigned int bw = reg_get_max_bandwidth_from_range(rd, rule); in reg_get_max_bandwidth() 652 if (rule->flags & NL80211_RRF_NO_160MHZ) in reg_get_max_bandwidth() 654 if (rule->flags & NL80211_RRF_NO_80MHZ) in reg_get_max_bandwidth() 661 if (rule->flags & NL80211_RRF_NO_HT40MINUS && in reg_get_max_bandwidth() 662 rule->flags & NL80211_RRF_NO_HT40PLUS) in reg_get_max_bandwidth() [all …]
|
D | reg.h | 58 const struct ieee80211_reg_rule *rule);
|
D | nl80211.c | 1111 struct nl80211_coalesce_rule_support rule; in nl80211_send_coalesce() local 1116 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce() 1117 rule.max_delay = rdev->wiphy.coalesce->max_delay; in nl80211_send_coalesce() 1118 rule.pat.max_patterns = rdev->wiphy.coalesce->n_patterns; in nl80211_send_coalesce() 1119 rule.pat.min_pattern_len = rdev->wiphy.coalesce->pattern_min_len; in nl80211_send_coalesce() 1120 rule.pat.max_pattern_len = rdev->wiphy.coalesce->pattern_max_len; in nl80211_send_coalesce() 1121 rule.pat.max_pkt_offset = rdev->wiphy.coalesce->max_pkt_offset; in nl80211_send_coalesce() 1123 if (nla_put(msg, NL80211_ATTR_COALESCE_RULE, sizeof(rule), &rule)) in nl80211_send_coalesce() 9328 struct cfg80211_coalesce_rules *rule; in nl80211_send_coalesce_rules() local 9342 rule = &rdev->coalesce->rules[i]; in nl80211_send_coalesce_rules() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2333 struct ixgbe_fdir_filter *rule = NULL; in ixgbe_get_ethtool_fdir_entry() local 2338 hlist_for_each_entry_safe(rule, node2, in ixgbe_get_ethtool_fdir_entry() 2340 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry() 2344 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry() 2350 switch (rule->filter.formatted.flow_type) { in ixgbe_get_ethtool_fdir_entry() 2370 fsp->h_u.tcp_ip4_spec.psrc = rule->filter.formatted.src_port; in ixgbe_get_ethtool_fdir_entry() 2372 fsp->h_u.tcp_ip4_spec.pdst = rule->filter.formatted.dst_port; in ixgbe_get_ethtool_fdir_entry() 2374 fsp->h_u.tcp_ip4_spec.ip4src = rule->filter.formatted.src_ip[0]; in ixgbe_get_ethtool_fdir_entry() 2376 fsp->h_u.tcp_ip4_spec.ip4dst = rule->filter.formatted.dst_ip[0]; in ixgbe_get_ethtool_fdir_entry() 2378 fsp->h_ext.vlan_tci = rule->filter.formatted.vlan_id; in ixgbe_get_ethtool_fdir_entry() [all …]
|
/linux-4.1.27/sound/firewire/dice/ |
D | dice-pcm.c | 13 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.1.27/sound/firewire/oxfw/ |
D | oxfw-pcm.c | 11 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.1.27/sound/drivers/ |
D | aloop.c | 621 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.1.27/Documentation/infiniband/ |
D | user_verbs.txt | 59 udev, a rule like 69 appropriate MODE or GROUP to the udev rule.
|
D | user_mad.txt | 134 udev, a rule like
|
/linux-4.1.27/sound/ppc/ |
D | pmac.c | 554 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.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
D | channel.c | 666 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.1.27/Documentation/ |
D | kref.txt | 105 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
|
D | md-cluster.txt | 162 (Steps 4,5 could be a udev rule)
|
D | CodingStyle | 340 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
|
D | xillybus.txt | 346 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
|
D | clk.txt | 251 To better enforce this policy, always follow this simple rule: any
|
D | unaligned-memory-access.txt | 30 The rule mentioned above forms what we refer to as natural alignment:
|
D | dynamic-debug-howto.txt | 111 A another way is to use wildcard. The match rule support '*' (matches
|
D | ManagementStyle | 149 (2) learn how to apologize when you forgot rule (1)
|
D | atomic_ops.txt | 544 The rule to follow is simple:
|
D | DMA-API-HOWTO.txt | 129 This rule also means that you may use neither kernel image addresses
|
D | SubmittingPatches | 459 rule (c), you should ask the submitter to rediff, but this is a totally
|
D | memory-barriers.txt | 1905 the more strongly ordered systems may rule out some of the above orders.
|
/linux-4.1.27/scripts/kconfig/ |
D | zconf.lex.c_shipped | 152 /* Action number for EOF rule of a given start state. */ 918 /* Copy whatever the last rule matched to the standard output. */ 977 /* Code executed at the beginning of each rule, after zconftext and zconfleng 984 /* Code executed at the end of each rule. */ 1058 /* rule 1 can match eol */ 1060 /* rule 2 can match eol */ 1106 /* rule 8 can match eol */ 1152 /* rule 17 can match eol */ 1178 /* rule 21 can match eol */ 1193 /* rule 23 can match eol */ [all …]
|
D | zconf.tab.c_shipped | 474 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in 532 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 587 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ 604 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ 696 positive, shift that token. If negative, reduce the rule which 1022 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", 1461 /* The number of symbols on the RHS of the reduced rule. 1643 /* yyn is the number of a rule to reduce with. */ 2082 that goes to, based on the state we popped back to and the rule 2181 /* Do not reclaim the symbols of the rule which action triggered [all …]
|
/linux-4.1.27/Documentation/security/ |
D | Smack.txt | 83 the Smack rule (more below) that permitted the write access 113 specified Smack label. Write a fixed format access rule to 120 specified Smack label. Write a long format access rule to 127 change-rule 134 "rwxat-". If a rule for a given subject and object exists it will be 136 those in the fourth string. If there is no such rule it will be 241 object with objectlabel. If there is no rule no access is allowed. 381 rule set is permitted. 396 The format of an access rule is: 409 t: indicates that the rule requests transmutation. [all …]
|
D | credentials.txt | 138 subject label, the object label and the action and look for a rule
|
/linux-4.1.27/sound/usb/ |
D | pcm.c | 882 struct snd_pcm_hw_rule *rule) in hw_rule_rate() argument 884 struct snd_usb_substream *subs = rule->private; in hw_rule_rate() 934 struct snd_pcm_hw_rule *rule) in hw_rule_channels() argument 936 struct snd_usb_substream *subs = rule->private; in hw_rule_channels() 985 struct snd_pcm_hw_rule *rule) in hw_rule_format() argument 987 struct snd_usb_substream *subs = rule->private; in hw_rule_format() 1016 struct snd_pcm_hw_rule *rule) in hw_rule_period_time() argument 1018 struct snd_usb_substream *subs = rule->private; in hw_rule_period_time()
|
/linux-4.1.27/sound/soc/davinci/ |
D | davinci-mcasp.c | 1021 struct snd_pcm_hw_rule *rule) in davinci_mcasp_hw_rule_rate() argument 1023 struct davinci_mcasp_ruledata *rd = rule->private; in davinci_mcasp_hw_rule_rate() 1050 return snd_interval_list(hw_param_interval(params, rule->var), in davinci_mcasp_hw_rule_rate() 1055 struct snd_pcm_hw_rule *rule) in davinci_mcasp_hw_rule_format() argument 1057 struct davinci_mcasp_ruledata *rd = rule->private; in davinci_mcasp_hw_rule_format() 1089 struct snd_pcm_hw_rule *rule) in davinci_mcasp_hw_rule_channels() argument 1091 struct davinci_mcasp_ruledata *rd = rule->private; in davinci_mcasp_hw_rule_channels() 1123 return snd_interval_list(hw_param_interval(params, rule->var), in davinci_mcasp_hw_rule_channels()
|
/linux-4.1.27/net/bridge/netfilter/ |
D | Kconfig | 116 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.1.27/Documentation/networking/ |
D | policy-routing.txt | 67 We scan rules list, and if a rule is matched, apply it. 84 tables. Every rule is supplied with its own gateway, device
|
D | xfrm_proc.txt | 41 e.g. Inbound SAs are correct but SP rule is wrong
|
D | regulatory.txt | 32 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:
|
D | tproxy.txt | 21 # ip rule add fwmark 1 lookup 100
|
D | openvswitch.txt | 147 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
|
D | netdevices.txt | 33 Segmentation Offload (GSO, TSO) is an exception to this rule. The
|
D | radiotap-headers.txt | 73 rule is applied dealing with a u16, NOT dealing with a 4-byte single entity.
|
/linux-4.1.27/Documentation/vm/ |
D | active_mm.txt | 40 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.1.27/sound/soc/atmel/ |
D | atmel_ssc_dai.c | 208 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.1.27/Documentation/arm64/ |
D | tagged-pointers.txt | 25 One exception to this rule is for signals raised in response
|
/linux-4.1.27/scripts/coccinelle/free/ |
D | devm_free.cocci | 12 /// false positives. There is no rule for the request_region and
|
/linux-4.1.27/scripts/coccinelle/api/alloc/ |
D | kzalloc-simple.cocci | 5 /// Note in particular that there are no ...s in the rule, so all of the
|
/linux-4.1.27/drivers/acpi/acpica/ |
D | acinterp.h | 463 void acpi_ex_acquire_global_lock(u32 rule); 465 void acpi_ex_release_global_lock(u32 rule);
|
/linux-4.1.27/Documentation/filesystems/ |
D | vfat.txt | 100 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.
|
D | seq_file.txt | 74 example, could interpret position N as the Nth rule in the chain.
|
D | proc.txt | 729 The general rule is that the contents, or even the existence of these
|
/linux-4.1.27/Documentation/hwmon/ |
D | k8temp | 54 70 degrees C. The rule of the thumb -> CPU temperature should not cross
|
D | f71805f | 137 fan model. As a rule of thumb, lower frequencies seem to give better
|
D | it87 | 244 temperature, based on this simple rule: if the temperature value is
|
D | pmbus-core | 136 As mentioned above, an exception to this rule applies to virtual commands,
|
/linux-4.1.27/scripts/dtc/ |
D | dtc-lexer.lex.c_shipped | 135 /* Action number for EOF rule of a given start state. */ 754 /* Copy whatever the last rule matched to the standard output. */ 829 /* Code executed at the beginning of each rule, after yytext and yyleng 836 /* Code executed at the end of each rule. */ 938 /* rule 1 can match eol */ 948 /* rule 2 can match eol */ 985 /* rule 3 can match eol */ 1063 /* rule 11 can match eol */ 1130 /* rule 18 can match eol */ 1136 /* rule 19 can match eol */ [all …]
|
D | dtc-parser.tab.c_shipped | 484 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in 530 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 578 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ 591 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ 665 positive, shift that token. If negative, reduce the rule which 925 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", 1327 /* The number of symbols on the RHS of the reduced rule. 1502 /* yyn is the number of a rule to reduce with. */ 2095 that goes to, based on the state we popped back to and the rule 2194 /* Do not reclaim the symbols of the rule which action triggered [all …]
|
/linux-4.1.27/scripts/genksyms/ |
D | parse.tab.c_shipped | 484 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in 545 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 614 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ 633 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ 725 positive, shift that token. If negative, reduce the rule which 1097 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", 1506 /* The number of symbols on the RHS of the reduced rule. 1688 /* yyn is the number of a rule to reduce with. */ 2193 that goes to, based on the state we popped back to and the rule 2292 /* Do not reclaim the symbols of the rule which action triggered [all …]
|
D | lex.lex.c_shipped | 133 /* 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.1.27/Documentation/scheduler/ |
D | sched-nice-design.txt | 15 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.1.27/Documentation/ABI/testing/ |
D | ima_policy | 18 rule format: action [condition ...]
|
/linux-4.1.27/tools/build/ |
D | Build.include | 75 # C flags to be used in rule definitions, includes:
|
/linux-4.1.27/Documentation/devicetree/ |
D | of_unittest.txt | 35 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
|
D | booting-without-of.txt | 704 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.1.27/Documentation/kbuild/ |
D | makefiles.txt | 395 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 …]
|
D | modules.txt | 304 according to the following rule: 313 NOTE: There are two notable exceptions to this rule: larger
|
/linux-4.1.27/Documentation/devicetree/bindings/ |
D | submitting-patches.txt | 23 in Documentation/devicetree/bindings. This rule applies even if
|
/linux-4.1.27/Documentation/arm/ |
D | uefi.txt | 7 source code. As a rule, anything new uses 'UEFI', whereas 'EFI' refers
|
D | Setup | 10 through the kernel initialisation process. As a general rule, it
|
D | vlocks.txt | 73 priority rule to act as a tie-breaker, or any counters which could
|
/linux-4.1.27/sound/arm/ |
D | aaci.c | 384 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.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_sec.h | 336 struct sptlrpc_rule *rule); 1052 int sptlrpc_parse_rule(char *param, struct sptlrpc_rule *rule);
|
/linux-4.1.27/sound/pci/ac97/ |
D | ac97_pcm.c | 699 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.1.27/sound/isa/sb/ |
D | sb8_main.c | 77 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.1.27/security/keys/ |
D | Kconfig | 34 LSMs gets to rule on which admin-level processes get to access the
|
/linux-4.1.27/sound/soc/omap/ |
D | omap-mcbsp.c | 93 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()
|
D | Kconfig | 65 a simple rule like this one should do the trick (it does for me):
|
/linux-4.1.27/sound/pci/echoaudio/ |
D | echoaudio.c | 119 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.1.27/sound/pci/rme9652/ |
D | rme9652.c | 2205 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()
|
D | hdsp.c | 4258 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_in_channels() argument 4260 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_in_channels() 4277 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_out_channels() argument 4280 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_out_channels() 4295 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_in_channels_rate() argument 4297 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_in_channels_rate() 4326 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_out_channels_rate() argument 4328 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_out_channels_rate() 4357 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_rate_out_channels() argument 4359 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_rate_out_channels() [all …]
|
D | hdspm.c | 5876 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.1.27/scripts/coccinelle/null/ |
D | badzero.cocci | 119 // This rule may lead to inconsistent path problems, if E is defined in two
|
D | deref_null.cocci | 213 // It is need because the previous rule as already made a "change".
|
/linux-4.1.27/Documentation/devicetree/bindings/reset/ |
D | reset.txt | 6 are likely to be exceptions to this rule.
|
/linux-4.1.27/Documentation/locking/ |
D | lockdep-design.txt | 100 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.1.27/tools/perf/Documentation/ |
D | perf-probe.txt | 182 …" for specifying filter-out rule. You also can give several rules combined with "&" or "|", and fo…
|
/linux-4.1.27/tools/build/Documentation/ |
D | Build.txt | 103 It's possible to include special rule if needed (like we do for flex or bison
|
/linux-4.1.27/Documentation/cpu-freq/ |
D | cpufreq-stats.txt | 119 - trans_table goes against the traditional /sysfs rule of one value per
|
/linux-4.1.27/Documentation/arm/Atmel/ |
D | README | 124 to this rule (sama5d3[13456]ek.dts, usb_a9g20.dts or animeo_ip.dts for example).
|
/linux-4.1.27/scripts/ |
D | Kbuild.include | 47 # The rule defined shall write to stdout the content of the new file. 221 # if_changed_rule - as if_changed but execute rule instead
|
/linux-4.1.27/sound/soc/codecs/ |
D | pcm512x.c | 492 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.1.27/Documentation/driver-model/ |
D | platform.txt | 69 As a rule, platform specific (and often board-specific) setup code will 76 The general rule is to register only those devices that actually exist,
|
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 224 .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.1.27/Documentation/i2c/ |
D | functionality | 113 i2c_smbus_read_word_data() and i2c_smbus_write_word_data(). As a rule of
|
D | writing-clients | 6 guide, not as a rule book!
|
/linux-4.1.27/Documentation/scsi/ |
D | 53c700.txt | 48 asynchronous dividers for the chip. As a general rule of thumb,
|
D | ChangeLog.lpfc | 1296 * 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.1.27/Documentation/development-process/ |
D | 7.AdvancedTopics | 82 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
|
D | 4.Coding | 101 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
|
D | 5.Posting | 51 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
|
D | 2.Process | 56 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
|
D | 1.Intro | 155 result of a simple rule requiring any developer who makes an API change
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | conf.h | 752 u8 rule; member
|
D | acx.c | 417 ie_table->table[idx++] = r->rule; in wl1271_acx_beacon_filter_table()
|
/linux-4.1.27/tools/perf/config/ |
D | utilities.mak | 109 # within the context of a command line of a makefile rule
|
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/ |
D | main.c | 354 .rule = CONF_BCN_RULE_PASS_ON_APPEARANCE, 358 .rule = CONF_BCN_RULE_PASS_ON_CHANGE, 362 .rule = CONF_BCN_RULE_PASS_ON_CHANGE,
|
/linux-4.1.27/include/linux/ceph/ |
D | ceph_fs.h | 388 __u8 rule; /* currently fcntl or flock */ member
|
/linux-4.1.27/Documentation/usb/ |
D | error-codes.txt | 7 device drivers only see through usbcore. As a rule, all the HCDs should
|
D | power-management.txt | 598 attached child-devices will disconnect. A good rule of thumb is that if the
|
/linux-4.1.27/Documentation/devicetree/bindings/iommu/ |
D | iommu.txt | 81 device's parent node it will be ignored. An exception to this rule is if the
|
/linux-4.1.27/Documentation/hid/ |
D | hidraw.txt | 31 and udev rule-dependent, applications should use libudev to locate hidraw
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
D | host.h | 842 struct host_wol_rule rule[MAX_WOL_RULES]; member
|
/linux-4.1.27/Documentation/video4linux/ |
D | README.ivtv | 89 video16, the second card will still use video17. The simple rule is 'add
|
D | videobuf | 83 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
|
D | v4l2-controls.txt | 659 control. The rule is to have one control for each hardware 'knob' that you
|
/linux-4.1.27/Documentation/fb/ |
D | udlfb.txt | 130 by a udev rule), then udlfb will use this EDID as a
|
/linux-4.1.27/Documentation/devicetree/bindings/thermal/ |
D | thermal.txt | 485 the hypothetical extrapolation rule would be: 489 consider the hotspot extrapolation rule below:
|
/linux-4.1.27/ |
D | REPORTING-BUGS | 166 The exceptions to this rule are regressions, kernel crashes, security holes,
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | Kconfig | 232 The REJECT target allows a filtering rule to specify that an ICMPv6
|
/linux-4.1.27/Documentation/input/ |
D | input-programming.txt | 302 isn't a rule), and thus must not sleep, and must not take too long to finish.
|
/linux-4.1.27/Documentation/acpi/ |
D | namespace.txt | 258 rule of the struct acpi_device object:
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | Kconfig | 232 The REJECT target allows a filtering rule to specify that an ICMP
|
/linux-4.1.27/Documentation/power/ |
D | basic-pm-debugging.txt | 96 the "platform" test will fail as well and so on. Thus, as a rule of thumb, you
|
D | swsusp.txt | 303 As a rule of thumb use encrypted swap to protect your data while your
|
/linux-4.1.27/include/sound/ |
D | pcm.h | 223 struct snd_pcm_hw_rule *rule);
|
/linux-4.1.27/sound/sparc/ |
D | dbri.c | 1999 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.1.27/include/linux/mlx4/ |
D | device.h | 1353 struct mlx4_net_trans_rule *rule, u64 *reg_id);
|
/linux-4.1.27/Documentation/cgroups/ |
D | blkio-controller.txt | 147 on all the devices until and unless overridden by per device rule.
|
/linux-4.1.27/Documentation/filesystems/caching/ |
D | cachefiles.txt | 349 based on a rule of this form in the policy.
|
/linux-4.1.27/sound/pci/ |
D | sonicvibes.c | 558 struct snd_pcm_hw_rule *rule) in snd_sonicvibes_hw_constraint_dac_rate() argument
|
/linux-4.1.27/Documentation/mtd/ |
D | nand_ecc.txt | 71 for rp4 the rule is cover 4 bytes, skip 4 bytes, cover 4 bytes, skip 4 etc.
|
/linux-4.1.27/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 3933 to create a static rule to enable it:
|