Home
last modified time | relevance | path

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

/linux-4.19.296/include/net/
Dfib_rules.h52 struct fib_rule *rule; member
102 struct fib_rule *rule; member
124 static inline void fib_rule_get(struct fib_rule *rule) in fib_rule_get() argument
126 refcount_inc(&rule->refcnt); in fib_rule_get()
129 static inline void fib_rule_put(struct fib_rule *rule) in fib_rule_put() argument
131 if (refcount_dec_and_test(&rule->refcnt)) in fib_rule_put()
132 kfree_rcu(rule, rcu); in fib_rule_put()
136 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table() argument
139 return rule->l3mdev ? arg->table : rule->table; in fib_rule_get_table()
142 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table() argument
[all …]
Dip_fib.h282 static inline bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default() argument
348 bool fib4_rule_default(const struct fib_rule *rule);
Dip6_fib.h474 bool fib6_rule_default(const struct fib_rule *rule);
504 static inline bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default() argument
Dcfg80211.h4887 struct ieee80211_reg_rule *rule);
/linux-4.19.296/drivers/isdn/divert/
Disdn_divert.c39 divert_rule rule; /* used rule */ member
279 ds->rule = *newrule; /* set rule */ in insertrule()
372 return (&ds->rule); in getruleptr()
395 if (((dv->rule.callopt == 1) && (ic->command == ISDN_STAT_ICALLW)) || in isdn_divert_icall()
396 ((dv->rule.callopt == 2) && (ic->command == ISDN_STAT_ICALL))) in isdn_divert_icall()
398 if (!(dv->rule.drvid & (1L << ic->driver))) in isdn_divert_icall()
400 if ((dv->rule.si1) && (dv->rule.si1 != ic->parm.setup.si1)) in isdn_divert_icall()
402 if ((dv->rule.si2) && (dv->rule.si2 != ic->parm.setup.si2)) in isdn_divert_icall()
405 p = dv->rule.my_msn; in isdn_divert_icall()
421 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.19.296/include/linux/
Dmroute.h23 bool ipmr_rule_default(const struct fib_rule *rule);
52 static inline bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default() argument
Dmroute6.h68 bool ip6mr_rule_default(const struct fib_rule *rule);
70 static inline bool ip6mr_rule_default(const struct fib_rule *rule) in ip6mr_rule_default() argument
/linux-4.19.296/include/net/netfilter/
Dnf_tables.h855 static inline struct nft_expr *nft_expr_first(const struct nft_rule *rule) in nft_expr_first() argument
857 return (struct nft_expr *)&rule->data[0]; in nft_expr_first()
865 static inline struct nft_expr *nft_expr_last(const struct nft_rule *rule) in nft_expr_last() argument
867 return (struct nft_expr *)&rule->data[rule->dlen]; in nft_expr_last()
870 static inline struct nft_userdata *nft_userdata(const struct nft_rule *rule) in nft_userdata() argument
872 return (void *)&rule->data[rule->dlen]; in nft_userdata()
880 #define nft_rule_for_each_expr(expr, last, rule) \ argument
881 for ((expr) = nft_expr_first(rule), (last) = nft_expr_last(rule); \
1210 const struct nft_rule *rule; member
1364 struct nft_rule *rule; member
[all …]
/linux-4.19.296/drivers/s390/crypto/
Dzcrypt_msgtype6.h134 char rule[8]; in rng_type6CPRB_msgX() member
161 memcpy(msg->rule, "RANDOM ", 8); in rng_type6CPRB_msgX()
Dzcrypt_pcixcc.c104 char rule[8]; in zcrypt_pcixcc_rng_supported() member
Dzcrypt_msgtype6.c1311 char rule[8]; in zcrypt_msgtype6_rng() member
/linux-4.19.296/fs/ceph/
Dlocks.c102 req->r_args.filelock_change.rule = lock_type; in ceph_lock_message()
148 if (req->r_args.filelock_change.rule == CEPH_LOCK_FCNTL) in ceph_lock_wait_for_completion()
150 else if (req->r_args.filelock_change.rule == CEPH_LOCK_FLOCK) in ceph_lock_wait_for_completion()
196 intr_req->r_args.filelock_change.rule = lock_type; in ceph_lock_wait_for_completion()
/linux-4.19.296/include/linux/ceph/
Dceph_fs.h431 __u8 rule; /* currently fcntl or flock */ member
/linux-4.19.296/include/sound/
Dpcm.h234 struct snd_pcm_hw_rule *rule);
/linux-4.19.296/include/linux/mlx4/
Ddevice.h1450 struct mlx4_net_trans_rule *rule, u64 *reg_id);