/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 | 20 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_char() local 23 change = (tb->flags & TTYB_NORMAL) && (flag != TTY_NORMAL); in tty_insert_flip_char() 24 if (!change && tb->used < tb->size) { in tty_insert_flip_char() 25 if (~tb->flags & TTYB_NORMAL) in tty_insert_flip_char() 26 *flag_buf_ptr(tb, tb->used) = flag; in tty_insert_flip_char() 27 *char_buf_ptr(tb, tb->used++) = ch; in tty_insert_flip_char()
|
D | thunderbolt.h | 72 struct tb { struct 217 struct tb *tb; member 250 struct tb_xdomain *tb_xdomain_find_by_uuid(struct tb *tb, const uuid_t *uuid); 251 struct tb_xdomain *tb_xdomain_find_by_route(struct tb *tb, u64 route); 254 tb_xdomain_find_by_uuid_locked(struct tb *tb, const uuid_t *uuid) in tb_xdomain_find_by_uuid_locked() argument 258 mutex_lock(&tb->lock); in tb_xdomain_find_by_uuid_locked() 259 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked() 260 mutex_unlock(&tb->lock); in tb_xdomain_find_by_uuid_locked() 266 tb_xdomain_find_by_route_locked(struct tb *tb, u64 route) in tb_xdomain_find_by_route_locked() argument 270 mutex_lock(&tb->lock); in tb_xdomain_find_by_route_locked() [all …]
|
D | rtnetlink.h | 119 struct nlattr *tb[], 125 struct nlattr *tb[],
|
D | if_macvlan.h | 61 struct nlattr *tb[], struct nlattr *data[],
|
D | netdevice.h | 1461 struct nlattr *tb[], 1468 struct nlattr *tb[], 1478 struct nlattr *tb[],
|
/include/net/ |
D | rtnetlink.h | 71 int (*validate)(struct nlattr *tb[], 77 struct nlattr *tb[], 81 struct nlattr *tb[], 101 struct nlattr *tb[], 160 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]); 164 struct nlattr *tb[], 169 int rtnl_nla_parse_ifinfomsg(struct nlattr **tb, const struct nlattr *nla_peer,
|
D | ip_fib.h | 268 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, 279 void fib_free_table(struct fib_table *tb); 308 struct fib_table *tb; in fib_lookup() local 313 tb = fib_get_table(net, RT_TABLE_MAIN); in fib_lookup() 314 if (tb) in fib_lookup() 315 err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF); in fib_lookup() 366 struct fib_table *tb; in fib_lookup() local 377 tb = rcu_dereference_rtnl(net->ipv4.fib_main); in fib_lookup() 378 if (tb) in fib_lookup() 379 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup() [all …]
|
D | netlink.h | 504 int __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, 650 static inline int nla_parse(struct nlattr **tb, int maxtype, in nla_parse() argument 655 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse() 675 static inline int nla_parse_deprecated(struct nlattr **tb, int maxtype, in nla_parse_deprecated() argument 680 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse_deprecated() 700 static inline int nla_parse_deprecated_strict(struct nlattr **tb, int maxtype, in nla_parse_deprecated_strict() argument 706 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse_deprecated_strict() 723 struct nlattr *tb[], int maxtype, in __nlmsg_parse() argument 733 return __nla_parse(tb, maxtype, nlmsg_attrdata(nlh, hdrlen), in __nlmsg_parse() 749 struct nlattr *tb[], int maxtype, in nlmsg_parse() argument [all …]
|
D | genetlink.h | 218 struct nlattr *tb[], int maxtype, in genlmsg_parse_deprecated() argument 222 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated() 237 struct nlattr *tb[], int maxtype, in genlmsg_parse() argument 241 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
|
D | inet_hashtables.h | 98 #define inet_bind_bucket_for_each(tb, head) \ argument 99 hlist_for_each_entry(tb, head, node) 205 struct inet_bind_bucket *tb); 213 void inet_bind_hash(struct sock *sk, struct inet_bind_bucket *tb,
|
D | ip_tunnels.h | 287 int ip_tunnel_changelink(struct net_device *dev, struct nlattr *tb[], 289 int ip_tunnel_newlink(struct net_device *dev, struct nlattr *tb[],
|
D | inet_connection_sock.h | 320 void inet_csk_update_fastreuse(struct inet_bind_bucket *tb,
|
D | pkt_cls.h | 329 struct nlattr **tb, struct nlattr *rate_tlv, 479 #define tcf_em_tree_validate(tp, tb, t) ((void)(t), 0) argument
|
/include/net/netfilter/ |
D | nft_meta.h | 19 const struct nlattr * const tb[]); 23 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 | 731 const struct nlattr * const tb[]); 782 const struct nlattr * const tb[]); 1181 const struct nlattr * const tb[]); 1206 const struct nlattr *const tb[],
|
/include/linux/netfilter/ipset/ |
D | ip_set.h | 166 int (*uadt)(struct ip_set *set, struct nlattr *tb[], 231 struct nlattr *tb[], u32 flags); 339 extern size_t ip_set_elem_len(struct ip_set *set, struct nlattr *tb[], 341 extern int ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[], 381 ip_set_attr_netorder(struct nlattr *tb[], int type) in ip_set_attr_netorder() argument 383 return tb[type] && (tb[type]->nla_type & NLA_F_NET_BYTEORDER); in ip_set_attr_netorder() 387 ip_set_optattr_netorder(struct nlattr *tb[], int type) in ip_set_optattr_netorder() argument 389 return !tb[type] || (tb[type]->nla_type & NLA_F_NET_BYTEORDER); in ip_set_optattr_netorder() 472 ip_set_timeout_uget(struct nlattr *tb) in ip_set_timeout_uget() argument 474 unsigned int timeout = ip_set_get_h32(tb); in ip_set_timeout_uget()
|
/include/crypto/internal/ |
D | geniv.h | 23 struct rtattr **tb);
|
D | skcipher.h | 213 struct crypto_template *tmpl, struct rtattr **tb);
|
/include/crypto/ |
D | algapi.h | 66 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); 118 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb); 119 int crypto_check_attr_type(struct rtattr **tb, u32 type, u32 *mask_ret);
|
/include/keys/ |
D | trusted_tpm.h | 41 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce);
|