/include/drm/ |
D | task_barrier.h | 55 static inline void task_barrier_init(struct task_barrier *tb) in task_barrier_init() argument 57 tb->n = 0; in task_barrier_init() 58 atomic_set(&tb->count, 0); in task_barrier_init() 59 sema_init(&tb->enter_turnstile, 0); in task_barrier_init() 60 sema_init(&tb->exit_turnstile, 0); in task_barrier_init() 63 static inline void task_barrier_add_task(struct task_barrier *tb) in task_barrier_add_task() argument 65 tb->n++; in task_barrier_add_task() 68 static inline void task_barrier_rem_task(struct task_barrier *tb) in task_barrier_rem_task() argument 70 tb->n--; in task_barrier_rem_task() 78 static inline void task_barrier_enter(struct task_barrier *tb) in task_barrier_enter() argument [all …]
|
/include/linux/ |
D | tty_flip.h | 67 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_char() local 70 change = !tb->flags && (flag != TTY_NORMAL); in tty_insert_flip_char() 71 if (!change && tb->used < tb->size) { in tty_insert_flip_char() 72 if (tb->flags) in tty_insert_flip_char() 73 *flag_buf_ptr(tb, tb->used) = flag; in tty_insert_flip_char() 74 *char_buf_ptr(tb, tb->used++) = ch; in tty_insert_flip_char()
|
D | thunderbolt.h | 75 struct tb { struct 239 struct tb *tb; member 292 struct tb_xdomain *tb_xdomain_find_by_uuid(struct tb *tb, const uuid_t *uuid); 293 struct tb_xdomain *tb_xdomain_find_by_route(struct tb *tb, u64 route); 296 tb_xdomain_find_by_uuid_locked(struct tb *tb, const uuid_t *uuid) in tb_xdomain_find_by_uuid_locked() argument 300 mutex_lock(&tb->lock); in tb_xdomain_find_by_uuid_locked() 301 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked() 302 mutex_unlock(&tb->lock); in tb_xdomain_find_by_uuid_locked() 308 tb_xdomain_find_by_route_locked(struct tb *tb, u64 route) in tb_xdomain_find_by_route_locked() argument 312 mutex_lock(&tb->lock); in tb_xdomain_find_by_route_locked() [all …]
|
D | rtnetlink.h | 112 struct nlattr *tb[], 118 struct nlattr *tb[],
|
D | if_macvlan.h | 63 struct nlattr *tb[], struct nlattr *data[],
|
D | netlink.h | 199 #define NL_REQ_ATTR_CHECK(extack, nest, tb, type) ({ \ argument 200 struct nlattr **__tb = (tb); \
|
D | netdevice.h | 1575 struct nlattr *tb[], 1582 struct nlattr *tb[], 1587 struct nlattr *tb[], 1597 struct nlattr *tb[], 1603 struct nlattr *tb[], 1607 struct nlattr *tb[],
|
/include/net/ |
D | rtnetlink.h | 83 struct net_device *(*alloc)(struct nlattr *tb[], 93 int (*validate)(struct nlattr *tb[], 99 struct nlattr *tb[], 103 struct nlattr *tb[], 123 struct nlattr *tb[], 183 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]); 187 struct nlattr *tb[], 193 int rtnl_nla_parse_ifinfomsg(struct nlattr **tb, const struct nlattr *nla_peer,
|
D | ip_fib.h | 274 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, 285 void fib_free_table(struct fib_table *tb); 314 struct fib_table *tb; in fib_lookup() local 319 tb = fib_get_table(net, RT_TABLE_MAIN); in fib_lookup() 320 if (tb) in fib_lookup() 321 err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF); in fib_lookup() 372 struct fib_table *tb; in fib_lookup() local 383 tb = rcu_dereference_rtnl(net->ipv4.fib_main); in fib_lookup() 384 if (tb) in fib_lookup() 385 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup() [all …]
|
D | netlink.h | 516 int __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, 662 static inline int nla_parse(struct nlattr **tb, int maxtype, in nla_parse() argument 667 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse() 687 static inline int nla_parse_deprecated(struct nlattr **tb, int maxtype, in nla_parse_deprecated() argument 692 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse_deprecated() 712 static inline int nla_parse_deprecated_strict(struct nlattr **tb, int maxtype, in nla_parse_deprecated_strict() argument 718 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse_deprecated_strict() 735 struct nlattr *tb[], int maxtype, in __nlmsg_parse() argument 745 return __nla_parse(tb, maxtype, nlmsg_attrdata(nlh, hdrlen), in __nlmsg_parse() 762 struct nlattr *tb[], int maxtype, in nlmsg_parse() argument [all …]
|
D | inet_hashtables.h | 127 #define inet_bind_bucket_for_each(tb, head) \ argument 128 hlist_for_each_entry(tb, head, node) 235 struct inet_bind_bucket *tb); 237 bool inet_bind_bucket_match(const struct inet_bind_bucket *tb, 248 struct inet_bind2_bucket *tb); 256 bool inet_bind2_bucket_match_addr_any(const struct inet_bind2_bucket *tb, 291 void inet_bind_hash(struct sock *sk, struct inet_bind_bucket *tb,
|
D | genetlink.h | 364 struct nlattr *tb[], int maxtype, in genlmsg_parse_deprecated() argument 368 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated() 383 struct nlattr *tb[], int maxtype, in genlmsg_parse() argument 387 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
|
D | pkt_cls.h | 356 struct nlattr **tb, struct nlattr *rate_tlv, 359 int tcf_exts_validate_ex(struct net *net, struct tcf_proto *tp, struct nlattr **tb, 513 #define tcf_em_tree_validate(tp, tb, t) ((void)(t), 0) argument
|
D | ip_tunnels.h | 308 int ip_tunnel_changelink(struct net_device *dev, struct nlattr *tb[], 310 int ip_tunnel_newlink(struct net_device *dev, struct nlattr *tb[],
|
D | inet_connection_sock.h | 329 void inet_csk_update_fastreuse(struct inet_bind_bucket *tb,
|
/include/linux/netfilter/ipset/ |
D | ip_set.h | 164 int (*uadt)(struct ip_set *set, struct nlattr *tb[], 234 struct nlattr *tb[], u32 flags); 342 extern size_t ip_set_elem_len(struct ip_set *set, struct nlattr *tb[], 344 extern int ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[], 384 ip_set_attr_netorder(struct nlattr *tb[], int type) in ip_set_attr_netorder() argument 386 return tb[type] && (tb[type]->nla_type & NLA_F_NET_BYTEORDER); in ip_set_attr_netorder() 390 ip_set_optattr_netorder(struct nlattr *tb[], int type) in ip_set_optattr_netorder() argument 392 return !tb[type] || (tb[type]->nla_type & NLA_F_NET_BYTEORDER); in ip_set_optattr_netorder() 475 ip_set_timeout_uget(struct nlattr *tb) in ip_set_timeout_uget() argument 477 unsigned int timeout = ip_set_get_h32(tb); in ip_set_timeout_uget()
|
/include/net/netfilter/ |
D | nft_meta.h | 20 const struct nlattr * const tb[]); 24 const struct nlattr * const tb[]);
|
D | nft_reject.h | 23 const struct nlattr * const tb[]);
|
D | nf_conntrack_l4proto.h | 38 int (*from_nlattr)(struct nlattr *tb[], struct nf_conn *ct); 44 int (*nlattr_to_tuple)(struct nlattr *tb[], 50 int (*nlattr_to_obj)(struct nlattr *tb[], 155 int nf_ct_port_nlattr_to_tuple(struct nlattr *tb[],
|
D | nft_fib.h | 23 const struct nlattr * const tb[]);
|
D | nf_tables.h | 846 const struct nlattr * const tb[]); 897 const struct nlattr * const tb[]); 1320 const struct nlattr * const tb[]); 1346 const struct nlattr *const tb[],
|
/include/crypto/internal/ |
D | geniv.h | 23 struct rtattr **tb);
|
D | skcipher.h | 242 struct crypto_template *tmpl, struct rtattr **tb);
|
/include/crypto/ |
D | algapi.h | 96 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); 165 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb); 166 int crypto_check_attr_type(struct rtattr **tb, u32 type, u32 *mask_ret);
|
/include/keys/ |
D | trusted_tpm.h | 43 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce);
|