Home
last modified time | relevance | path

Searched refs:next_cmd (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmd.c190 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 Di2c-img-scb.c663 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 = CMD_GEN_STOP; in img_i2c_atomic()
[all …]
/linux/include/net/sctp/
H A Dcommand.h192 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 Dsmb2misc.c451 __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()
H A Dsmb2pdu.c592 unsigned int len, next_cmd; in is_chained_smb2_message() local
598 next_cmd = le32_to_cpu(hdr->NextCommand); in is_chained_smb2_message()
599 if (next_cmd > 0) { in is_chained_smb2_message()
600 if ((u64)work->next_smb2_rcv_hdr_off + next_cmd + in is_chained_smb2_message()
604 next_cmd); in is_chained_smb2_message()
/linux/fs/smb/client/
H A Dsmb2ops.c5434 unsigned int next_cmd; in receive_encrypted_standard()
5464 next_cmd = le32_to_cpu(shdr->NextCommand); in receive_encrypted_standard()
5465 server->total_read = next_cmd ? next_cmd : pdu_length; in receive_encrypted_standard()
5472 if (next_cmd) { in smb3_receive_transform()
5473 if (next_cmd < MID_HEADER_SIZE(server) || in smb3_receive_transform()
5474 next_cmd > pdu_length || in smb3_receive_transform()
5475 pdu_length - next_cmd < MID_HEADER_SIZE(server)) { in smb3_receive_transform()
5479 next_cmd, MID_HEADER_SIZE(server), max_next); in smb3_receive_transform()
5490 memcpy(next_buffer, buf + next_cmd, pdu_lengt in smb3_receive_transform()
5370 unsigned int next_cmd; receive_encrypted_standard() local
[all...]
/linux/drivers/target/
H A Dtarget_core_transport.c1932 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 Dirq-gic-v3-its.c1217 struct its_cmd_block *cmd, *sync_cmd, *next_cmd; \
1243 next_cmd = its_post_commands(its); \
1246 if (its_wait_for_range_completion(its, rd_idx, next_cmd)) \