/linux-master/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.h | 129 /* If this is an Empty SCB, index of first edb in seq->edb_arr. */ 201 struct asd_seq_data seq; /* sequencer related */ member in struct:asd_ha_struct 282 static inline void asd_tc_index_release(struct asd_seq_data *seq, int index) argument 284 seq->tc_index_array[index] = NULL; 285 clear_bit(index, seq->tc_index_bitmap); 290 static inline int asd_tc_index_get(struct asd_seq_data *seq, void *ptr) argument 294 index = find_first_zero_bit(seq->tc_index_bitmap, 295 seq->tc_index_bitmap_bits); 296 if (index == seq->tc_index_bitmap_bits) 299 seq 307 asd_tc_index_find(struct asd_seq_data *seq, int index) argument [all...] |
/linux-master/drivers/target/tcm_fc/ |
H A D | tfc_io.c | 70 ep = fc_seq_exch(cmd->seq); 72 cmd->seq = fc_seq_start_next(cmd->seq); 91 struct fc_seq *seq = cmd->seq; local 93 if (!seq) { 163 error = fc_seq_send(lport, seq, fp); 198 struct fc_seq *seq = cmd->seq; local 220 ep = fc_seq_exch(seq); 329 struct fc_seq *seq; local [all...] |
/linux-master/block/ |
H A D | blk-flush.c | 122 return 1 << ffz(rq->flush.seq); 154 * @seq: sequences to complete (mask of %REQ_FSEQ_*, can be zero) 157 * @rq just completed @seq part of its flush sequence, record the 165 unsigned int seq, blk_status_t error) 171 BUG_ON(rq->flush.seq & seq); 172 rq->flush.seq |= seq; 176 seq = blk_flush_cur_seq(rq); 178 seq 163 blk_flush_complete_seq(struct request *rq, struct blk_flush_queue *fq, unsigned int seq, blk_status_t error) argument 261 unsigned int seq = blk_flush_cur_seq(rq); local [all...] |
/linux-master/include/linux/ |
H A D | trace_seq.h | 13 * Have the trace seq to be 8K which is typically PAGE_SIZE * 2 on 25 struct seq_buf seq; member in struct:trace_seq 33 seq_buf_init(&s->seq, s->buffer, TRACE_SEQ_BUFFER_SIZE); 46 * Use this instead of @s->seq.len if you need to pass the amount 48 * The @s->seq.len on overflow is bigger than the buffer size and 53 return seq_buf_used(&s->seq); 68 return s->buffer + seq_buf_used(&s->seq); 80 return s->full || seq_buf_has_overflowed(&s->seq);
|
H A D | seqlock.h | 33 * via seqcount_t under KCSAN: upon beginning a seq-reader critical section, 160 unsigned seq = READ_ONCE(s->seqcount.sequence); \ 163 return seq; \ 165 if (preemptible && unlikely(seq & 1)) { \ 173 seq = READ_ONCE(s->seqcount.sequence); \ 176 return seq; \ 531 * neither writes before nor after the barrier are enclosed in a seq-writer 534 * seqcount_t seq; 542 * int s = read_seqcount_begin(&seq); 546 * } while (read_seqcount_retry(&seq, 1073 read_seqbegin_or_lock(seqlock_t *lock, int *seq) argument 1088 need_seqretry(seqlock_t *lock, int seq) argument 1101 done_seqretry(seqlock_t *lock, int seq) argument 1128 read_seqbegin_or_lock_irqsave(seqlock_t *lock, int *seq) argument 1153 done_seqretry_irqrestore(seqlock_t *lock, int seq, unsigned long flags) argument [all...] |
/linux-master/drivers/md/ |
H A D | dm-log-userspace-transfer.c | 47 uint32_t seq; member in struct:receiving_pkg 67 msg->seq = tfr->seq; 85 uint32_t rtn_seq = (msg) ? msg->seq : (tfr) ? tfr->seq : 0; 99 if (rtn_seq != pkg->seq) 145 (unsigned int)sizeof(*tfr), msg->len, msg->seq); 204 tfr->seq = dm_ulog_seq++; 219 pkg.seq = tfr->seq; [all...] |
/linux-master/net/ax25/ |
H A D | ax25_uid.c | 146 static void *ax25_uid_seq_start(struct seq_file *seq, loff_t *pos) 153 static void *ax25_uid_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 158 static void ax25_uid_seq_stop(struct seq_file *seq, void *v) 164 static int ax25_uid_seq_show(struct seq_file *seq, void *v) argument 169 seq_printf(seq, "Policy: %d\n", ax25_uid_policy); 174 seq_printf(seq, "%6d %s\n", 175 from_kuid_munged(seq_user_ns(seq), pt->uid),
|
/linux-master/tools/testing/selftests/netfilter/ |
H A D | nft_trans_stress.sh | 63 for c in $(seq 1 400); do 68 for c in $(seq 1 400); do 82 for i in $(seq 0 $cpunum);do 91 for i in $(seq 1 10) ; do ip netns exec "$testns" nft -f "$tmp" & done 105 for i in $(seq 1 10) ; do 116 for i in $(seq 1 10) ; do 140 for i in $(seq 1 10) ; do
|
/linux-master/fs/dlm/ |
H A D | recover.c | 96 int save_slots, uint64_t seq) 110 error = dlm_rcom_status(ls, memb->nodeid, 0, seq); 129 uint32_t status_flags, uint64_t seq) 140 error = dlm_rcom_status(ls, nodeid, status_flags, seq); 154 static int wait_status(struct dlm_ls *ls, uint32_t status, uint64_t seq) argument 160 error = wait_status_all(ls, status, 0, seq); 164 error = wait_status_low(ls, status_all, 0, seq); 169 int dlm_recover_members_wait(struct dlm_ls *ls, uint64_t seq) argument 183 error = wait_status_all(ls, DLM_RS_NODES, 1, seq); 203 DLM_RSF_NEED_SLOTS, seq); 95 wait_status_all(struct dlm_ls *ls, uint32_t wait_status, int save_slots, uint64_t seq) argument 128 wait_status_low(struct dlm_ls *ls, uint32_t wait_status, uint32_t status_flags, uint64_t seq) argument 213 dlm_recover_directory_wait(struct dlm_ls *ls, uint64_t seq) argument 218 dlm_recover_locks_wait(struct dlm_ls *ls, uint64_t seq) argument 223 dlm_recover_done_wait(struct dlm_ls *ls, uint64_t seq) argument 445 recover_master(struct dlm_rsb *r, unsigned int *count, uint64_t seq) argument 524 dlm_recover_masters(struct dlm_ls *ls, uint64_t seq) argument 618 recover_locks_queue(struct dlm_rsb *r, struct list_head *head, uint64_t seq) argument 634 recover_locks(struct dlm_rsb *r, uint64_t seq) argument 661 dlm_recover_locks(struct dlm_ls *ls, uint64_t seq) argument [all...] |
H A D | debug_fs.c | 429 static int table_seq_show(struct seq_file *seq, void *iter_ptr) argument 435 print_format1(ri->rsb, seq); 439 seq_puts(seq, "id nodeid remid pid xid exflags flags sts grmode rqmode time_ms r_nodeid r_len r_name\n"); 442 print_format2(ri->rsb, seq); 446 seq_puts(seq, "rsb ptr nodeid first_lkid flags !root_list_empty !recover_list_empty recover_locks_count len\n"); 449 print_format3(ri->rsb, seq); 453 seq_puts(seq, "rsb ptr nodeid master_nodeid dir_nodeid our_nodeid toss_time flags len str|hex name\n"); 456 print_format4(ri->rsb, seq); 460 seq_puts(seq, "lkb_id lkb_flags mode flags sb_status sb_flags\n"); 463 print_format5(ri->rsb, seq); 476 table_seq_start(struct seq_file *seq, loff_t *pos) argument 558 table_seq_next(struct seq_file *seq, void *iter_ptr, loff_t *pos) argument 624 table_seq_stop(struct seq_file *seq, void *iter_ptr) argument 677 struct seq_file *seq; local 691 struct seq_file *seq; local 706 struct seq_file *seq = file->private_data; local 734 struct seq_file *seq; local 748 struct seq_file *seq; local 762 struct seq_file *seq; local [all...] |
/linux-master/kernel/printk/ |
H A D | printk_ringbuffer.c | 222 * u64 seq; 226 * prb_for_each_record(0, &test_rb, &seq, &r) { 227 * if (info.seq != seq) 228 * pr_warn("lost %llu records\n", info.seq - seq); 231 * pr_warn("record %llu text truncated\n", info.seq); 235 * pr_info("%llu: %llu: %s\n", info.seq, info.ts_nsec, 486 *seq_out = info->seq; /* also part of desc_read:C */ 1493 static bool _prb_read_valid(struct printk_ringbuffer *rb, u64 *seq, 1606 u64 seq; local 1866 desc_read_finalized_seq(struct prb_desc_ring *desc_ring, unsigned long id, u64 seq, struct prb_desc *desc_out) argument 1907 prb_read(struct printk_ringbuffer *rb, u64 seq, struct printk_record *r, unsigned int *line_count) argument 1952 u64 seq; local 2107 _prb_read_valid(struct printk_ringbuffer *rb, u64 *seq, struct printk_record *r, unsigned int *line_count) argument 2179 prb_read_valid(struct printk_ringbuffer *rb, u64 seq, struct printk_record *r) argument 2209 prb_read_valid_info(struct printk_ringbuffer *rb, u64 seq, struct printk_info *info, unsigned int *line_count) argument 2236 u64 seq = 0; local 2263 u64 seq; local [all...] |
H A D | printk_ringbuffer.h | 12 * All fields are set by the printk code except for @seq, which is 16 u64 seq; /* sequence number */ member in struct:printk_info 261 .seq = -(u64)_DESCS_COUNT(descbits), \ 265 /* reports the first seq value during the bootstrap phase */ \ 266 .seq = 0, \ 365 * iteration. For the sequence number, @r->info->seq should be checked. 370 for ((s) = from; prb_read_valid(rb, s, r); (s) = (r)->info->seq + 1) 383 * iteration. For the sequence number, @r->info->seq should be checked. 388 for ((s) = from; prb_read_valid_info(rb, s, i, lc); (s) = (i)->seq + 1) 390 bool prb_read_valid(struct printk_ringbuffer *rb, u64 seq, 412 u64 seq; local [all...] |
/linux-master/tools/tracing/rtla/src/ |
H A D | osnoise_hist.c | 257 struct trace_seq *s = tool->trace.seq; 304 trace_seq_printf(trace->seq, "count:"); 313 trace_seq_printf(trace->seq, "%9d ", data->hist[cpu].count); 315 trace_seq_printf(trace->seq, "\n"); 318 trace_seq_printf(trace->seq, "min: "); 327 trace_seq_printf(trace->seq, "%9llu ", data->hist[cpu].min_sample); 330 trace_seq_printf(trace->seq, "\n"); 333 trace_seq_printf(trace->seq, "avg: "); 343 trace_seq_printf(trace->seq, "%9.2f ", 346 trace_seq_printf(trace->seq, " [all...] |
H A D | timerlat_hist.c | 239 struct trace_seq *s = tool->trace.seq; 294 trace_seq_printf(trace->seq, "count:"); 304 trace_seq_printf(trace->seq, "%9d ", 308 trace_seq_printf(trace->seq, "%9d ", 312 trace_seq_printf(trace->seq, "%9d ", 315 trace_seq_printf(trace->seq, "\n"); 318 trace_seq_printf(trace->seq, "min: "); 328 trace_seq_printf(trace->seq, "%9llu ", 332 trace_seq_printf(trace->seq, "%9llu ", 336 trace_seq_printf(trace->seq, " [all...] |
/linux-master/kernel/ |
H A D | user_namespace.c | 602 static int uid_m_show(struct seq_file *seq, void *v) argument 604 struct user_namespace *ns = seq->private; 609 lower_ns = seq_user_ns(seq); 615 seq_printf(seq, "%10u %10u %10u\n", 623 static int gid_m_show(struct seq_file *seq, void *v) argument 625 struct user_namespace *ns = seq->private; 630 lower_ns = seq_user_ns(seq); 636 seq_printf(seq, "%10u %10u %10u\n", 644 static int projid_m_show(struct seq_file *seq, void *v) argument 646 struct user_namespace *ns = seq 665 m_start(struct seq_file *seq, loff_t *ppos, struct uid_gid_map *map) argument 681 uid_m_start(struct seq_file *seq, loff_t *ppos) argument 688 gid_m_start(struct seq_file *seq, loff_t *ppos) argument 695 projid_m_start(struct seq_file *seq, loff_t *ppos) argument 702 m_next(struct seq_file *seq, void *v, loff_t *pos) argument 708 m_stop(struct seq_file *seq, void *v) argument 929 struct seq_file *seq = file->private_data; local 1114 struct seq_file *seq = file->private_data; local 1131 struct seq_file *seq = file->private_data; local 1148 struct seq_file *seq = file->private_data; local 1205 proc_setgroups_show(struct seq_file *seq, void *v) argument 1219 struct seq_file *seq = file->private_data; local [all...] |
/linux-master/drivers/target/iscsi/ |
H A D | iscsi_target_erl0.c | 92 struct iscsi_seq *seq; local 94 seq = iscsit_get_seq_holder(cmd, be32_to_cpu(hdr->offset), 96 if (!seq) 101 cmd->seq_ptr = seq; 104 if (seq->status == 106 (seq->offset != be32_to_cpu(hdr->offset) || 107 seq->data_sn != be32_to_cpu(hdr->datasn))) 110 if (seq->status == 112 seq->data_sn != be32_to_cpu(hdr->datasn)) 116 if (seq 212 struct iscsi_seq *seq = NULL; local 355 struct iscsi_seq *seq = cmd->seq_ptr; local 413 struct iscsi_seq *seq = cmd->seq_ptr; local 538 struct iscsi_seq *seq = NULL; local [all...] |
H A D | iscsi_target_tmr.c | 483 struct iscsi_seq *seq = NULL; local 517 seq = &cmd->seq_list[i]; 519 if (seq->type != SEQTYPE_UNSOLICITED) 523 (seq->offset - seq->orig_offset); 525 seq->data_sn = 0; 526 seq->offset = seq->orig_offset; 527 seq->next_burst_len = 0; 528 seq 669 struct iscsi_seq *seq; local [all...] |
/linux-master/kernel/bpf/ |
H A D | task_iter.c | 140 static void *task_seq_start(struct seq_file *seq, loff_t *pos) argument 142 struct bpf_iter_seq_task_info *info = seq->private; 154 static void *task_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 156 struct bpf_iter_seq_task_info *info = seq->private; 176 static int __task_seq_show(struct seq_file *seq, struct task_struct *task, argument 183 meta.seq = seq; 193 static int task_seq_show(struct seq_file *seq, void *v) argument 195 return __task_seq_show(seq, v, false); 198 static void task_seq_stop(struct seq_file *seq, voi argument 316 task_file_seq_start(struct seq_file *seq, loff_t *pos) argument 329 task_file_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 350 __task_file_seq_show(struct seq_file *seq, struct file *file, bool in_stop) argument 370 task_file_seq_show(struct seq_file *seq, void *v) argument 375 task_file_seq_stop(struct seq_file *seq, void *v) argument 584 task_vma_seq_start(struct seq_file *seq, loff_t *pos) argument 596 task_vma_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 613 __task_vma_seq_show(struct seq_file *seq, bool in_stop) argument 631 task_vma_seq_show(struct seq_file *seq, void *v) argument 636 task_vma_seq_stop(struct seq_file *seq, void *v) argument 689 bpf_iter_task_show_fdinfo(const struct bpf_iter_aux_info *aux, struct seq_file *seq) argument [all...] |
/linux-master/fs/bcachefs/ |
H A D | journal_reclaim.c | 83 u64 seq; local 98 for (seq = journal_last_unwritten_seq(j); 99 seq <= journal_cur_seq(j); 100 seq++) { 101 unwritten = j->buf[seq & JOURNAL_BUF_MASK].sectors; 313 bool __bch2_journal_pin_put(struct journal *j, u64 seq) argument 315 struct journal_entry_pin_list *pin_list = journal_seq_pin(j, seq); 320 void bch2_journal_pin_put(struct journal *j, u64 seq) argument 322 if (__bch2_journal_pin_put(j, seq)) { 340 pin_list = journal_seq_pin(j, pin->seq); 372 bch2_journal_pin_set_locked(struct journal *j, u64 seq, struct journal_entry_pin *pin, journal_pin_flush_fn flush_fn, enum journal_pin_type type) argument 398 u64 seq = READ_ONCE(src->seq); local 427 bch2_journal_pin_set(struct journal *j, u64 seq, struct journal_entry_pin *pin, journal_pin_flush_fn flush_fn) argument 473 journal_get_next_pin(struct journal *j, u64 seq_to_flush, unsigned allowed_below_seq, unsigned allowed_above_seq, u64 *seq) argument 511 u64 seq; local 849 u64 iter, seq = 0; local [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_dfs.c | 152 struct mt76x02_dfs_sequence *seq) 156 list_add(&seq->head, &dfs_pd->seq_pool); 166 struct mt76x02_dfs_sequence *seq; local 169 seq = devm_kzalloc(dev->mt76.dev, sizeof(*seq), GFP_ATOMIC); 171 seq = list_first_entry(&dfs_pd->seq_pool, 174 list_del(&seq->head); 177 if (seq) 180 return seq; 208 struct mt76x02_dfs_sequence *seq, *tmp_se local 151 mt76x02_dfs_seq_pool_put(struct mt76x02_dev *dev, struct mt76x02_dfs_sequence *seq) argument 433 struct mt76x02_dfs_sequence seq, *seq_p; local 518 struct mt76x02_dfs_sequence *seq, *tmp_seq; local 548 struct mt76x02_dfs_sequence *seq; local [all...] |
/linux-master/samples/connector/ |
H A D | ucon.c | 44 static __u32 seq; variable 57 nlh->nlmsg_seq = seq++; 65 ulog("%s: [%08x.%08x] len=%u, seq=%u, ack=%u.\n", 66 __func__, msg->id.idx, msg->id.val, msg->len, msg->seq, msg->ack); 172 data->seq = seq++; 226 ctime(&tm), data->id.idx, data->id.val, data->seq, data->ack);
|
/linux-master/drivers/acpi/ |
H A D | proc.c | 19 acpi_system_wakeup_device_seq_show(struct seq_file *seq, void *offset) argument 23 seq_printf(seq, "Device\tS-state\t Status Sysfs node\n"); 33 seq_printf(seq, "%s\t S%d\t", 40 seq_printf(seq, "%c%-8s\n", 54 seq_printf(seq, "\t\t"); 56 seq_printf(seq, "%c%-8s %s:%s\n",
|
/linux-master/drivers/usb/storage/ |
H A D | karma.c | 98 static unsigned char seq = 1; local 105 us->iobuf[6] = seq; 119 if (data->recv[5] == seq) 130 seq++; 131 if (seq == 0) 132 seq = 1;
|
/linux-master/drivers/platform/surface/aggregator/ |
H A D | ssh_msgb.h | 116 * @seq: The sequence ID of the frame/packet. 118 static inline void msgb_push_frame(struct msgbuf *msgb, u8 ty, u16 len, u8 seq) argument 127 __msgb_push_u8(msgb, seq); /* Frame sequence ID. */ 135 * @seq: The sequence ID of the frame/packet to be ACKed. 137 static inline void msgb_push_ack(struct msgbuf *msgb, u8 seq) argument 143 msgb_push_frame(msgb, SSH_FRAME_TYPE_ACK, 0x00, seq); 168 * @seq: The sequence ID (SEQ) of the frame/packet. 172 static inline void msgb_push_cmd(struct msgbuf *msgb, u8 seq, u16 rqid, argument 182 msgb_push_frame(msgb, type, sizeof(struct ssh_command) + rqst->length, seq);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | xdping_kern.c | 100 __be16 seq; local 116 if (!pinginfo || pinginfo->seq != icmph->un.echo.sequence) 142 seq = bpf_htons(bpf_ntohs(icmph->un.echo.sequence) + 1); 143 icmph->un.echo.sequence = seq; 147 pinginfo->seq = seq;
|