Home
last modified time | relevance | path

Searched refs:tb (Results 1 – 25 of 25) sorted by relevance

/include/drm/
A Dtask_barrier.h57 tb->n = 0; in task_barrier_init()
58 atomic_set(&tb->count, 0); in task_barrier_init()
65 tb->n++; in task_barrier_add_task()
70 tb->n--; in task_barrier_rem_task()
80 if (atomic_inc_return(&tb->count) == tb->n) in task_barrier_enter()
81 task_barrier_signal_turnstile(&tb->enter_turnstile, tb->n); in task_barrier_enter()
83 down(&tb->enter_turnstile); in task_barrier_enter()
95 task_barrier_signal_turnstile(&tb->exit_turnstile, tb->n); in task_barrier_exit()
97 down(&tb->exit_turnstile); in task_barrier_exit()
103 task_barrier_enter(tb); in task_barrier_full()
[all …]
/include/linux/
A Dtty_flip.h67 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()
A Dthunderbolt.h81 struct tb { struct
245 struct tb *tb; member
298 struct tb_xdomain *tb_xdomain_find_by_uuid(struct tb *tb, const uuid_t *uuid);
299 struct tb_xdomain *tb_xdomain_find_by_route(struct tb *tb, u64 route);
302 tb_xdomain_find_by_uuid_locked(struct tb *tb, const uuid_t *uuid) in tb_xdomain_find_by_uuid_locked() argument
306 mutex_lock(&tb->lock); in tb_xdomain_find_by_uuid_locked()
307 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked()
308 mutex_unlock(&tb->lock); in tb_xdomain_find_by_uuid_locked()
314 tb_xdomain_find_by_route_locked(struct tb *tb, u64 route) in tb_xdomain_find_by_route_locked() argument
318 mutex_lock(&tb->lock); in tb_xdomain_find_by_route_locked()
[all …]
A Drtnetlink.h200 struct nlattr *tb[],
206 struct nlattr *tb[],
A Dnetlink.h199 #define NL_REQ_ATTR_CHECK(extack, nest, tb, type) ({ \ argument
200 struct nlattr **__tb = (tb); \
A Dnetdevice.h1553 struct nlattr *tb[],
1561 struct nlattr *tb[],
1576 struct nlattr *tb[],
1582 struct nlattr *tb[],
1586 struct nlattr *tb[],
1589 struct nlattr *tb[],
1595 struct nlattr *tb[], u32 portid,
/include/acpi/
A Dnhlt.h34 #define __acpi_nhlt_first_endpoint(tb) \ argument
35 ((void *)(tb + 1))
40 #define __acpi_nhlt_get_endpoint(tb, ep, i) \ argument
41 ((i) ? __acpi_nhlt_next_endpoint(ep) : __acpi_nhlt_first_endpoint(tb))
63 #define for_each_nhlt_endpoint(tb, ep) \ argument
65 __i < (tb)->endpoints_count && \
66 (ep = __acpi_nhlt_get_endpoint(tb, ep, __i)); \
105 acpi_nhlt_tb_find_endpoint(const struct acpi_table_nhlt *tb,
113 acpi_nhlt_tb_find_fmtcfg(const struct acpi_table_nhlt *tb,
140 acpi_nhlt_tb_find_endpoint(const struct acpi_table_nhlt *tb, in acpi_nhlt_tb_find_endpoint() argument
[all …]
/include/net/
A Drtnetlink.h85 struct nlattr **tb; member
147 struct net_device *(*alloc)(struct nlattr *tb[],
158 int (*validate)(struct nlattr *tb[],
166 struct nlattr *tb[],
186 struct nlattr *tb[],
246 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]);
250 struct nlattr *tb[],
256 int rtnl_nla_parse_ifinfomsg(struct nlattr **tb, const struct nlattr *nla_peer,
A Dip_fib.h290 void fib_free_table(struct fib_table *tb);
319 struct fib_table *tb; in fib_lookup() local
324 tb = fib_get_table(net, RT_TABLE_MAIN); in fib_lookup()
325 if (tb) in fib_lookup()
377 struct fib_table *tb; in fib_lookup() local
388 tb = rcu_dereference_rtnl(net->ipv4.fib_main); in fib_lookup()
389 if (tb) in fib_lookup()
390 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()
395 tb = rcu_dereference_rtnl(net->ipv4.fib_default); in fib_lookup()
396 if (tb) in fib_lookup()
[all …]
A Dinet_hashtables.h123 #define inet_bind_bucket_for_each(tb, head) \ argument
124 hlist_for_each_entry(tb, head, node)
219 void inet_bind_bucket_destroy(struct inet_bind_bucket *tb);
221 bool inet_bind_bucket_match(const struct inet_bind_bucket *tb,
228 struct inet_bind_bucket *tb,
232 struct inet_bind2_bucket *tb);
240 bool inet_bind2_bucket_match_addr_any(const struct inet_bind2_bucket *tb,
275 void inet_bind_hash(struct sock *sk, struct inet_bind_bucket *tb,
A Dnetlink.h706 static inline int nla_parse(struct nlattr **tb, int maxtype, in nla_parse() argument
711 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse()
736 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse_deprecated()
762 return __nla_parse(tb, maxtype, head, len, policy, in nla_parse_deprecated_strict()
779 struct nlattr *tb[], int maxtype, in __nlmsg_parse() argument
806 struct nlattr *tb[], int maxtype, in nlmsg_parse() argument
810 return __nlmsg_parse(nlh, hdrlen, tb, maxtype, policy, in nlmsg_parse()
826 struct nlattr *tb[], int maxtype, in nlmsg_parse_deprecated() argument
830 return __nlmsg_parse(nlh, hdrlen, tb, maxtype, policy, in nlmsg_parse_deprecated()
847 struct nlattr *tb[], int maxtype, in nlmsg_parse_deprecated_strict() argument
[all …]
A Dgenetlink.h389 struct nlattr *tb[], int maxtype, in genlmsg_parse_deprecated() argument
393 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated()
408 struct nlattr *tb[], int maxtype, in genlmsg_parse() argument
412 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
A Dpkt_cls.h367 struct nlattr **tb, struct nlattr *rate_tlv,
370 int tcf_exts_validate_ex(struct net *net, struct tcf_proto *tp, struct nlattr **tb,
524 #define tcf_em_tree_validate(tp, tb, t) ((void)(t), 0) argument
A Dip_tunnels.h407 int ip_tunnel_changelink(struct net_device *dev, struct nlattr *tb[],
410 struct nlattr *tb[], struct ip_tunnel_parm_kern *p,
A Dinet_connection_sock.h325 void inet_csk_update_fastreuse(struct inet_bind_bucket *tb,
/include/linux/netfilter/ipset/
A Dip_set.h163 int (*uadt)(struct ip_set *set, struct nlattr *tb[],
231 struct nlattr *tb[], u32 flags);
335 extern size_t ip_set_elem_len(struct ip_set *set, struct nlattr *tb[],
337 extern int ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[],
377 ip_set_attr_netorder(struct nlattr *tb[], int type) in ip_set_attr_netorder() argument
379 return tb[type] && (tb[type]->nla_type & NLA_F_NET_BYTEORDER); in ip_set_attr_netorder()
383 ip_set_optattr_netorder(struct nlattr *tb[], int type) in ip_set_optattr_netorder() argument
385 return !tb[type] || (tb[type]->nla_type & NLA_F_NET_BYTEORDER); in ip_set_optattr_netorder()
468 ip_set_timeout_uget(struct nlattr *tb) in ip_set_timeout_uget() argument
470 unsigned int timeout = ip_set_get_h32(tb); in ip_set_timeout_uget()
/include/net/netfilter/
A Dnft_meta.h20 const struct nlattr * const tb[]);
24 const struct nlattr * const tb[]);
A Dnf_conntrack_l4proto.h38 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[],
149 int nf_ct_port_nlattr_to_tuple(struct nlattr *tb[],
A Dnft_reject.h22 const struct nlattr * const tb[]);
A Dnft_fib.h53 const struct nlattr * const tb[]);
A Dnf_tables.h897 const struct nlattr * const tb[]);
956 const struct nlattr * const tb[]);
1402 const struct nlattr * const tb[]);
1429 const struct nlattr *const tb[],
/include/crypto/internal/
A Dgeniv.h22 struct rtattr **tb);
A Dskcipher.h232 struct crypto_template *tmpl, struct rtattr **tb);
251 struct crypto_template *tmpl, struct rtattr **tb);
/include/crypto/
A Dalgapi.h82 int (*create)(struct crypto_template *tmpl, struct rtattr **tb);
146 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb);
147 int crypto_check_attr_type(struct rtattr **tb, u32 type, u32 *mask_ret);
/include/keys/
A Dtrusted_tpm.h41 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce);

Completed in 64 milliseconds