Home
last modified time | relevance | path

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

1234

/include/scsi/
Dscsi_transport.h93 scsi_transport_reserve_target(struct scsi_transport_template * t, int space) in scsi_transport_reserve_target() argument
95 BUG_ON(t->target_private_offset != 0); in scsi_transport_reserve_target()
96 t->target_private_offset = ALIGN(t->target_size, sizeof(void *)); in scsi_transport_reserve_target()
97 t->target_size = t->target_private_offset + space; in scsi_transport_reserve_target()
100 scsi_transport_reserve_device(struct scsi_transport_template * t, int space) in scsi_transport_reserve_device() argument
102 BUG_ON(t->device_private_offset != 0); in scsi_transport_reserve_device()
103 t->device_private_offset = ALIGN(t->device_size, sizeof(void *)); in scsi_transport_reserve_device()
104 t->device_size = t->device_private_offset + space; in scsi_transport_reserve_device()
/include/asm-generic/
Dioctl.h8 #define _IOC_TYPECHECK(t) \ argument
9 ((sizeof(t) == sizeof(t[1]) && \
10 sizeof(t) < (1 << _IOC_SIZEBITS)) ? \
11 sizeof(t) : __invalid_size_argument_for_IOC)
/include/crypto/
Dgf128mul.h170 be128 t[256]; member
175 void gf128mul_4k_lle(be128 *a, struct gf128mul_4k *t);
176 void gf128mul_4k_bbe(be128 *a, struct gf128mul_4k *t);
178 static inline void gf128mul_free_4k(struct gf128mul_4k *t) in gf128mul_free_4k() argument
180 kfree(t); in gf128mul_free_4k()
187 struct gf128mul_4k *t[16]; member
196 void gf128mul_free_64k(struct gf128mul_64k *t);
197 void gf128mul_64k_lle(be128 *a, struct gf128mul_64k *t);
198 void gf128mul_64k_bbe(be128 *a, struct gf128mul_64k *t);
/include/linux/sunrpc/
Dsched.h134 #define RPC_IS_ASYNC(t) ((t)->tk_flags & RPC_TASK_ASYNC) argument
135 #define RPC_IS_SWAPPER(t) ((t)->tk_flags & RPC_TASK_SWAPPER) argument
136 #define RPC_DO_ROOTOVERRIDE(t) ((t)->tk_flags & RPC_TASK_ROOTCREDS) argument
137 #define RPC_ASSASSINATED(t) ((t)->tk_flags & RPC_TASK_KILLED) argument
138 #define RPC_IS_SOFT(t) ((t)->tk_flags & (RPC_TASK_SOFT|RPC_TASK_TIMEOUT)) argument
139 #define RPC_IS_SOFTCONN(t) ((t)->tk_flags & RPC_TASK_SOFTCONN) argument
140 #define RPC_WAS_SENT(t) ((t)->tk_flags & RPC_TASK_SENT) argument
146 #define RPC_IS_RUNNING(t) test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) argument
147 #define rpc_set_running(t) set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) argument
148 #define rpc_test_and_set_running(t) \ argument
[all …]
Dtimer.h28 int *t; in rpc_set_timeo() local
31 t = &rt->ntimeouts[timer-1]; in rpc_set_timeo()
32 if (ntimeo < *t) { in rpc_set_timeo()
33 if (*t > 0) in rpc_set_timeo()
34 (*t)--; in rpc_set_timeo()
38 *t = ntimeo; in rpc_set_timeo()
/include/net/netfilter/
Dnf_conntrack_tuple.h81 static inline void nf_ct_dump_tuple_ip(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple_ip() argument
85 t, t->dst.protonum, in nf_ct_dump_tuple_ip()
86 &t->src.u3.ip, ntohs(t->src.u.all), in nf_ct_dump_tuple_ip()
87 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip()
91 static inline void nf_ct_dump_tuple_ipv6(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple_ipv6() argument
95 t, t->dst.protonum, in nf_ct_dump_tuple_ipv6()
96 t->src.u3.all, ntohs(t->src.u.all), in nf_ct_dump_tuple_ipv6()
97 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6()
101 static inline void nf_ct_dump_tuple(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple() argument
103 switch (t->src.l3num) { in nf_ct_dump_tuple()
[all …]
Dnf_nat_l3proto.h8 bool (*in_range)(const struct nf_conntrack_tuple *t,
11 u32 (*secure_port)(const struct nf_conntrack_tuple *t, __be16);
21 const struct nf_conntrack_tuple *t,
/include/linux/
Dcb710.h54 #define CB710_PORT_ACCESSORS(t) \ argument
55 static inline void cb710_write_port_##t(struct cb710_slot *slot, \
56 unsigned port, u##t value) \
58 iowrite##t(value, slot->iobase + port); \
61 static inline u##t cb710_read_port_##t(struct cb710_slot *slot, \
64 return ioread##t(slot->iobase + port); \
67 static inline void cb710_modify_port_##t(struct cb710_slot *slot, \
68 unsigned port, u##t set, u##t clear) \
70 iowrite##t( \
71 (ioread##t(slot->iobase + port) & ~clear)|set, \
Dlockdep.h378 # define lock_acquire(l, s, t, r, c, n, i) do { } while (0) argument
484 # define spin_acquire(l, s, t, i) lock_acquire(l, s, t, 0, 2, NULL, i) argument
485 # define spin_acquire_nest(l, s, t, n, i) lock_acquire(l, s, t, 0, 2, n, i) argument
487 # define spin_acquire(l, s, t, i) lock_acquire(l, s, t, 0, 1, NULL, i) argument
488 # define spin_acquire_nest(l, s, t, n, i) lock_acquire(l, s, t, 0, 1, NULL, i) argument
492 # define spin_acquire(l, s, t, i) do { } while (0) argument
498 # define rwlock_acquire(l, s, t, i) lock_acquire(l, s, t, 0, 2, NULL, i) argument
499 # define rwlock_acquire_read(l, s, t, i) lock_acquire(l, s, t, 2, 2, NULL, i) argument
501 # define rwlock_acquire(l, s, t, i) lock_acquire(l, s, t, 0, 1, NULL, i) argument
502 # define rwlock_acquire_read(l, s, t, i) lock_acquire(l, s, t, 2, 1, NULL, i) argument
[all …]
Dinterrupt.h523 static inline int tasklet_trylock(struct tasklet_struct *t) in tasklet_trylock() argument
525 return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_trylock()
528 static inline void tasklet_unlock(struct tasklet_struct *t) in tasklet_unlock() argument
531 clear_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_unlock()
534 static inline void tasklet_unlock_wait(struct tasklet_struct *t) in tasklet_unlock_wait() argument
536 while (test_bit(TASKLET_STATE_RUN, &(t)->state)) { barrier(); } in tasklet_unlock_wait()
539 #define tasklet_trylock(t) 1 argument
540 #define tasklet_unlock_wait(t) do { } while (0) argument
541 #define tasklet_unlock(t) do { } while (0) argument
544 extern void __tasklet_schedule(struct tasklet_struct *t);
[all …]
Delfcore.h28 static inline int elf_core_copy_task_regs(struct task_struct *t, elf_gregset_t* elfregs) in elf_core_copy_task_regs() argument
31 return ELF_CORE_COPY_TASK_REGS(t, elfregs); in elf_core_copy_task_regs()
33 elf_core_copy_regs(elfregs, task_pt_regs(t)); in elf_core_copy_task_regs()
40 static inline int elf_core_copy_task_fpregs(struct task_struct *t, struct pt_regs *regs, elf_fpregs… in elf_core_copy_task_fpregs() argument
43 return ELF_CORE_COPY_FPREGS(t, fpu); in elf_core_copy_task_fpregs()
50 static inline int elf_core_copy_task_xfpregs(struct task_struct *t, elf_fpxregset_t *xfpu) in elf_core_copy_task_xfpregs() argument
52 return ELF_CORE_COPY_XFPREGS(t, xfpu); in elf_core_copy_task_xfpregs()
Dnls.h60 static inline unsigned char nls_tolower(struct nls_table *t, unsigned char c) in nls_tolower() argument
62 unsigned char nc = t->charset2lower[c]; in nls_tolower()
67 static inline unsigned char nls_toupper(struct nls_table *t, unsigned char c) in nls_toupper() argument
69 unsigned char nc = t->charset2upper[c]; in nls_toupper()
74 static inline int nls_strnicmp(struct nls_table *t, const unsigned char *s1, in nls_strnicmp() argument
78 if (nls_tolower(t, *s1++) != nls_tolower(t, *s2++)) in nls_strnicmp()
Dthermal.h43 #define KELVIN_TO_CELSIUS(t) (long)(((long)t-2732 >= 0) ? \ argument
44 ((long)t-2732+5)/10 : ((long)t-2732-5)/10)
45 #define CELSIUS_TO_KELVIN(t) ((t)*10+2732) argument
Ddevice-mapper.h313 int dm_register_target(struct target_type *t);
314 void dm_unregister_target(struct target_type *t);
434 int dm_table_add_target(struct dm_table *t, const char *type,
440 void dm_table_add_target_callbacks(struct dm_table *t, struct dm_target_callbacks *cb);
445 int dm_table_complete(struct dm_table *t);
456 void dm_table_get(struct dm_table *t);
457 void dm_table_put(struct dm_table *t);
462 sector_t dm_table_get_size(struct dm_table *t);
463 unsigned int dm_table_get_num_targets(struct dm_table *t);
464 fmode_t dm_table_get_mode(struct dm_table *t);
[all …]
Dwatchdog.h122 static inline bool watchdog_timeout_invalid(struct watchdog_device *wdd, unsigned int t) in watchdog_timeout_invalid() argument
125 (t < wdd->min_timeout || t > wdd->max_timeout)); in watchdog_timeout_invalid()
Dbch.h52 unsigned int t; member
68 struct bch_control *init_bch(int m, int t, unsigned int prim_poly);
/include/xen/
Dxenbus.h128 char **xenbus_directory(struct xenbus_transaction t,
130 void *xenbus_read(struct xenbus_transaction t,
132 int xenbus_write(struct xenbus_transaction t,
134 int xenbus_mkdir(struct xenbus_transaction t,
136 int xenbus_exists(struct xenbus_transaction t,
138 int xenbus_rm(struct xenbus_transaction t, const char *dir, const char *node);
139 int xenbus_transaction_start(struct xenbus_transaction *t);
140 int xenbus_transaction_end(struct xenbus_transaction t, int abort);
144 int xenbus_scanf(struct xenbus_transaction t,
149 int xenbus_printf(struct xenbus_transaction t,
[all …]
/include/net/
Dip6_tunnel.h62 struct dst_entry *ip6_tnl_dst_check(struct ip6_tnl *t);
63 void ip6_tnl_dst_reset(struct ip6_tnl *t);
64 void ip6_tnl_dst_store(struct ip6_tnl *t, struct dst_entry *dst);
65 int ip6_tnl_rcv_ctl(struct ip6_tnl *t, const struct in6_addr *laddr,
67 int ip6_tnl_xmit_ctl(struct ip6_tnl *t);
69 __u32 ip6_tnl_get_cap(struct ip6_tnl *t, const struct in6_addr *laddr,
Ddn_fib.h80 int (*insert)(struct dn_fib_table *t, struct rtmsg *r,
83 int (*delete)(struct dn_fib_table *t, struct rtmsg *r,
86 int (*lookup)(struct dn_fib_table *t, const struct flowidn *fld,
88 int (*flush)(struct dn_fib_table *t);
89 int (*dump)(struct dn_fib_table *t, struct sk_buff *skb, struct netlink_callback *cb);
/include/trace/events/
Dgpu.h12 u64 t = ns + (NSEC_PER_USEC / 2); \
13 do_div(t, NSEC_PER_SEC); \
14 t; \
19 u64 t = ns + (NSEC_PER_USEC / 2) ; \
21 do_div(t, NSEC_PER_USEC); \
22 rem = do_div(t, USEC_PER_SEC); \
/include/linux/spi/
Dspi_bitbang.h22 struct spi_transfer *t);
31 int (*txrx_bufs)(struct spi_device *spi, struct spi_transfer *t);
46 struct spi_transfer *t);
Dspi.h596 spi_message_add_tail(struct spi_transfer *t, struct spi_message *m) in spi_message_add_tail() argument
598 list_add_tail(&t->transfer_list, &m->transfers); in spi_message_add_tail()
602 spi_transfer_del(struct spi_transfer *t) in spi_transfer_del() argument
604 list_del(&t->transfer_list); in spi_transfer_del()
640 struct spi_transfer *t = (struct spi_transfer *)(m + 1); in spi_message_alloc() local
643 for (i = 0; i < ntrans; i++, t++) in spi_message_alloc()
644 spi_message_add_tail(t, m); in spi_message_alloc()
684 struct spi_transfer t = { in spi_write() local
691 spi_message_add_tail(&t, &m); in spi_write()
708 struct spi_transfer t = { in spi_read() local
[all …]
/include/net/sctp/
Dsm.h349 static inline int TSN_lt(__u32 s, __u32 t) in TSN_lt() argument
351 return ((s) - (t)) & TSN_SIGN_BIT; in TSN_lt()
354 static inline int TSN_lte(__u32 s, __u32 t) in TSN_lte() argument
356 return ((s) == (t)) || (((s) - (t)) & TSN_SIGN_BIT); in TSN_lte()
373 static inline int SSN_lt(__u16 s, __u16 t) in SSN_lt() argument
375 return ((s) - (t)) & SSN_SIGN_BIT; in SSN_lt()
378 static inline int SSN_lte(__u16 s, __u16 t) in SSN_lte() argument
380 return ((s) == (t)) || (((s) - (t)) & SSN_SIGN_BIT); in SSN_lte()
392 static inline int ADDIP_SERIAL_gte(__u16 s, __u16 t) in ADDIP_SERIAL_gte() argument
394 return ((s) == (t)) || (((t) - (s)) & ADDIP_SERIAL_SIGN_BIT); in ADDIP_SERIAL_gte()
/include/linux/netfilter/ipset/
Dip_set_timeout.h57 ip_set_timeout_set(unsigned long *timeout, u32 t) in ip_set_timeout_set() argument
59 if (!t) { in ip_set_timeout_set()
64 *timeout = msecs_to_jiffies(t * 1000) + jiffies; in ip_set_timeout_set()
/include/media/
Dov772x.h44 #define OV772X_MANUAL_EDGECTRL(s, t) \ argument
48 .threshold = (t & OV772X_EDGE_THRESHOLD_MASK), \

1234