Searched refs:next_cmd (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_cmd.c | 190 uint32_t next_cmd = vmw_fifo_mem_read(dev_priv, SVGA_FIFO_NEXT_CMD); in vmw_fifo_is_full() local 194 return ((max - next_cmd) + (stop - min) <= bytes); in vmw_fifo_is_full() 284 uint32_t next_cmd; in vmw_local_fifo_reserve() local 291 next_cmd = vmw_fifo_mem_read(dev_priv, SVGA_FIFO_NEXT_CMD); in vmw_local_fifo_reserve() 306 if (next_cmd >= stop) { in vmw_local_fifo_reserve() 307 if (likely((next_cmd + bytes < max || in vmw_local_fifo_reserve() 308 (next_cmd + bytes == max && stop > min)))) in vmw_local_fifo_reserve() 321 if (likely((next_cmd + bytes < stop))) in vmw_local_fifo_reserve() 340 (next_cmd >> 2)); in vmw_local_fifo_reserve() 387 uint32_t next_cmd, in vmw_fifo_res_copy() argument [all …]
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-img-scb.c | 663 int next_cmd = -1; in img_i2c_sequence() local 687 next_cmd = *i2c->seq; in img_i2c_sequence() 689 if (!next_cmd) { in img_i2c_sequence() 694 if (next_cmd == CMD_GEN_DATA) { in img_i2c_sequence() 699 img_i2c_atomic_op(i2c, next_cmd, next_data); in img_i2c_sequence() 736 int next_cmd = -1; in img_i2c_atomic() local 748 next_cmd = CMD_GEN_STOP; in img_i2c_atomic() 756 next_cmd = CMD_GEN_DATA; in img_i2c_atomic() 761 next_cmd = CMD_RET_ACK; in img_i2c_atomic() 768 next_cmd in img_i2c_atomic() [all...] |
| /linux/include/net/sctp/ |
| H A D | command.h | 192 struct sctp_cmd *next_cmd; member 203 seq->next_cmd = seq->last_used_slot; in sctp_init_cmd_seq() 230 if (seq->next_cmd <= seq->last_used_slot) in sctp_next_cmd() 233 return --seq->next_cmd; in sctp_next_cmd()
|
| /linux/fs/smb/server/ |
| H A D | smb2misc.c | 451 __u32 req_struct_size, next_cmd = le32_to_cpu(hdr->NextCommand); in ksmbd_smb2_check_message() local 453 if ((u64)work->next_smb2_rcv_hdr_off + next_cmd > len) { in ksmbd_smb2_check_message() 455 next_cmd); in ksmbd_smb2_check_message() 459 if (next_cmd > 0) in ksmbd_smb2_check_message() 460 len = next_cmd; in ksmbd_smb2_check_message() 505 (work->next_smb2_rcv_hdr_off || next_cmd)) { in ksmbd_smb2_check_message()
|
| H A D | smb2pdu.c | 686 unsigned int len, next_cmd; in smb3_verify_channel_sequence() 692 next_cmd = le32_to_cpu(hdr->NextCommand); in smb3_verify_channel_sequence() 693 if (next_cmd > 0) { in smb3_verify_channel_sequence() 697 if ((u64)work->next_smb2_rcv_hdr_off + next_cmd + in smb3_verify_channel_sequence() 701 next_cmd); in smb3_verify_channel_sequence() 711 next_hdr = (struct smb2_hdr *)((char *)hdr + next_cmd); in smb3_verify_channel_sequence() 592 unsigned int len, next_cmd; is_chained_smb2_message() local
|
| /linux/fs/smb/client/ |
| H A D | smb2ops.c | 5464 unsigned int next_cmd; in receive_encrypted_standard() 5494 next_cmd = le32_to_cpu(shdr->NextCommand); in receive_encrypted_standard() 5495 server->total_read = next_cmd ? next_cmd : pdu_length; in receive_encrypted_standard() 5502 if (next_cmd) { in receive_encrypted_standard() 5503 if (next_cmd < MID_HEADER_SIZE(server) || in receive_encrypted_standard() 5504 next_cmd > pdu_length || in receive_encrypted_standard() 5505 pdu_length - next_cmd < MID_HEADER_SIZE(server)) { in receive_encrypted_standard() 5509 next_cmd, MID_HEADER_SIZE(server), max_next); in receive_encrypted_standard() 5520 memcpy(next_buffer, buf + next_cmd, pdu_lengt in receive_encrypted_standard() 5435 unsigned int next_cmd; receive_encrypted_standard() local [all...] |
| /linux/drivers/target/ |
| H A D | target_core_transport.c | 1932 struct se_cmd *se_cmd, *next_cmd; in target_queued_submit_work() local 1943 llist_for_each_entry_safe(se_cmd, next_cmd, cmd_list, se_cmd_list) { in target_queued_submit_work()
|
| /linux/drivers/irqchip/ |
| H A D | irq-gic-v3-its.c | 1219 struct its_cmd_block *cmd, *sync_cmd, *next_cmd; \ 1245 next_cmd = its_post_commands(its); \ 1248 if (its_wait_for_range_completion(its, rd_idx, next_cmd)) \
|