/include/linux/ |
D | u64_stats_sync.h | 66 seqcount_t seq; member 74 seqcount_init(&syncp->seq); in u64_stats_init() 81 write_seqcount_begin(&syncp->seq); in u64_stats_update_begin() 88 write_seqcount_end(&syncp->seq); in u64_stats_update_end() 95 raw_write_seqcount_begin(&syncp->seq); in u64_stats_update_begin_raw() 102 raw_write_seqcount_end(&syncp->seq); in u64_stats_update_end_raw() 109 return read_seqcount_begin(&syncp->seq); in __u64_stats_fetch_begin() 127 return read_seqcount_retry(&syncp->seq, start); in __u64_stats_fetch_retry()
|
D | rbtree_latch.h | 43 seqcount_t seq; member 146 raw_write_seqcount_latch(&root->seq); in latch_tree_insert() 148 raw_write_seqcount_latch(&root->seq); in latch_tree_insert() 173 raw_write_seqcount_latch(&root->seq); in latch_tree_erase() 175 raw_write_seqcount_latch(&root->seq); in latch_tree_erase() 202 unsigned int seq; in latch_tree_find() local 205 seq = raw_read_seqcount_latch(&root->seq); in latch_tree_find() 206 node = __lt_find(key, root, seq & 1, ops->comp); in latch_tree_find() 207 } while (read_seqcount_retry(&root->seq, seq)); in latch_tree_find()
|
D | seqlock.h | 280 int seq = READ_ONCE(s->sequence); in raw_read_seqcount_latch() local 283 return seq; in raw_read_seqcount_latch() 526 static inline void read_seqbegin_or_lock(seqlock_t *lock, int *seq) in read_seqbegin_or_lock() argument 528 if (!(*seq & 1)) /* Even */ in read_seqbegin_or_lock() 529 *seq = read_seqbegin(lock); in read_seqbegin_or_lock() 534 static inline int need_seqretry(seqlock_t *lock, int seq) in need_seqretry() argument 536 return !(seq & 1) && read_seqretry(lock, seq); in need_seqretry() 539 static inline void done_seqretry(seqlock_t *lock, int seq) in done_seqretry() argument 541 if (seq & 1) in done_seqretry() 583 read_seqbegin_or_lock_irqsave(seqlock_t *lock, int *seq) in read_seqbegin_or_lock_irqsave() argument [all …]
|
D | trace_seq.h | 15 struct seq_buf seq; member 22 seq_buf_init(&s->seq, s->buffer, PAGE_SIZE); in trace_seq_init() 41 return seq_buf_used(&s->seq); in trace_seq_used() 56 return s->buffer + seq_buf_used(&s->seq); in trace_seq_buffer_ptr() 68 return s->full || seq_buf_has_overflowed(&s->seq); in trace_seq_has_overflowed()
|
D | seq_file_net.h | 21 static inline struct net *seq_file_net(struct seq_file *seq) in seq_file_net() argument 24 return ((struct seq_net_private *)seq->private)->net; in seq_file_net()
|
D | connector.h | 58 u32 seq, group; member 64 u32 seq, groups; member
|
D | ipc.h | 22 unsigned long seq; member
|
D | cpuset.h | 145 static inline bool read_mems_allowed_retry(unsigned int seq) in read_mems_allowed_retry() argument 150 return read_seqcount_retry(¤t->mems_allowed_seq, seq); in read_mems_allowed_retry() 276 static inline bool read_mems_allowed_retry(unsigned int seq) in read_mems_allowed_retry() argument
|
/include/net/sctp/ |
D | command.h | 214 static inline int sctp_init_cmd_seq(sctp_cmd_seq_t *seq) in sctp_init_cmd_seq() argument 217 seq->last_used_slot = seq->cmds + SCTP_MAX_NUM_COMMANDS; in sctp_init_cmd_seq() 218 seq->next_cmd = seq->last_used_slot; in sctp_init_cmd_seq() 228 static inline void sctp_add_cmd_sf(sctp_cmd_seq_t *seq, sctp_verb_t verb, in sctp_add_cmd_sf() argument 231 sctp_cmd_t *cmd = seq->last_used_slot - 1; in sctp_add_cmd_sf() 233 BUG_ON(cmd < seq->cmds); in sctp_add_cmd_sf() 237 seq->last_used_slot = cmd; in sctp_add_cmd_sf() 243 static inline sctp_cmd_t *sctp_next_cmd(sctp_cmd_seq_t *seq) in sctp_next_cmd() argument 245 if (seq->next_cmd <= seq->last_used_slot) in sctp_next_cmd() 248 return --seq->next_cmd; in sctp_next_cmd()
|
/include/net/ |
D | raw.h | 48 static inline struct raw_iter_state *raw_seq_private(struct seq_file *seq) in raw_seq_private() argument 50 return seq->private; in raw_seq_private() 52 void *raw_seq_start(struct seq_file *seq, loff_t *pos); 53 void *raw_seq_next(struct seq_file *seq, void *v, loff_t *pos); 54 void raw_seq_stop(struct seq_file *seq, void *v);
|
D | dn_nsp.h | 175 static __inline__ void seq_add(__u16 *seq, __u16 off) in seq_add() argument 177 (*seq) += off; in seq_add() 178 (*seq) &= 0x0fff; in seq_add() 189 static __inline__ int sendack(__u16 seq) in sendack() argument 191 return (int)((seq & 0x1000) ? 0 : 1); in sendack()
|
D | ping.h | 95 void *ping_seq_start(struct seq_file *seq, loff_t *pos, sa_family_t family); 96 void *ping_seq_next(struct seq_file *seq, void *v, loff_t *pos); 97 void ping_seq_stop(struct seq_file *seq, void *v);
|
D | lib80211.h | 70 int (*set_key) (void *key, int len, u8 * seq, void *priv); 71 int (*get_key) (void *key, int len, u8 * seq, void *priv);
|
D | pptp.h | 18 __be32 seq; member
|
D | gre.h | 17 __be32 seq; member 109 __be32 key, __be32 seq) in gre_build_header() argument 125 *ptr = seq; in gre_build_header()
|
D | gtp.h | 15 __be16 seq; member
|
D | neighbour.h | 438 unsigned int seq, hh_alen; in neigh_hh_bridge() local 441 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_bridge() 444 } while (read_seqretry(&hh->hh_lock, seq)); in neigh_hh_bridge() 451 unsigned int seq; in neigh_hh_output() local 455 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_output() 465 } while (read_seqretry(&hh->hh_lock, seq)); in neigh_hh_output() 507 unsigned int seq; in neigh_ha_snapshot() local 510 seq = read_seqbegin(&n->ha_lock); in neigh_ha_snapshot() 512 } while (read_seqretry(&n->ha_lock, seq)); in neigh_ha_snapshot()
|
/include/trace/events/ |
D | rxrpc.h | 155 __entry->hdr.serial, __entry->hdr.seq, 179 TP_PROTO(const char *why, u32 cid, u32 call_id, rxrpc_seq_t seq, 182 TP_ARGS(why, cid, call_id, seq, abort_code, error), 188 __field(rxrpc_seq_t, seq ) 199 __entry->seq = seq; 203 __entry->cid, __entry->call_id, __entry->seq, 260 TP_PROTO(struct rxrpc_call *call, rxrpc_seq_t seq, 263 TP_ARGS(call, seq, serial, flags, retrans, lose), 267 __field(rxrpc_seq_t, seq ) 276 __entry->seq = seq; [all …]
|
/include/net/netfilter/ |
D | nf_conntrack_seqadj.h | 20 struct nf_ct_seqadj seq[IP_CT_DIR_MAX]; member 36 __be32 seq, s32 off); 42 s32 nf_ct_seq_offset(const struct nf_conn *ct, enum ip_conntrack_dir, u32 seq);
|
/include/net/irda/ |
D | irlan_filter.h | 32 void irlan_print_filter(struct seq_file *seq, int filter_type);
|
/include/uapi/asm-generic/ |
D | ipcbuf.h | 28 unsigned short seq; member
|
/include/linux/ceph/ |
D | ceph_fs.h | 291 __le64 seq; member 442 __le32 seq, issue_seq, mseq; member 472 __le32 seq, mseq; member 505 __le32 seq; member 663 __le32 seq, issue_seq; member 689 __le32 seq; member 703 __le32 migrate_seq, seq; member 719 __le32 seq; member 747 __le64 seq; /* snap seq for this snap realm */ member 781 __le64 seq; /* snap: version */ member
|
/include/uapi/linux/ |
D | connector.h | 72 __u32 seq; member
|
D | dm-log-userspace.h | 423 uint32_t seq; /* Sequence number for request */ member
|
D | ipc.h | 17 unsigned short seq; member
|