Searched refs:out_ptr (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/fs/ |
D | exec.c | 1031 char *out_ptr = corename; in format_corename() local 1040 if (out_ptr == out_end) in format_corename() 1042 *out_ptr++ = *pat_ptr++; in format_corename() 1049 if (out_ptr == out_end) in format_corename() 1051 *out_ptr++ = '%'; in format_corename() 1056 rc = snprintf(out_ptr, out_end - out_ptr, in format_corename() 1058 if (rc > out_end - out_ptr) in format_corename() 1060 out_ptr += rc; in format_corename() 1064 rc = snprintf(out_ptr, out_end - out_ptr, in format_corename() 1066 if (rc > out_end - out_ptr) in format_corename() [all …]
|
/linux-2.4.37.9/drivers/usb/ |
D | mdc800.c | 167 int out_ptr; // Index to the first not readen byte member 377 mdc800->out_ptr=0; in mdc800_usb_download_notify() 600 mdc800->out_ptr=0; in mdc800_device_open() 687 sts=left > (mdc800->out_count-mdc800->out_ptr)?mdc800->out_count-mdc800->out_ptr:left; in mdc800_device_read() 695 mdc800->out_ptr=0; in mdc800_device_read() 731 if (copy_to_user(ptr, &mdc800->out [mdc800->out_ptr], sts)) { in mdc800_device_read() 737 mdc800->out_ptr+=sts; in mdc800_device_read() 789 mdc800->out_ptr=0; in mdc800_device_write() 882 mdc800->out_ptr=0; in mdc800_device_write()
|
/linux-2.4.37.9/drivers/scsi/ |
D | qlogicpti.c | 1031 struct qlogicpti *qpti, u_int in_ptr, u_int out_ptr) in load_cmd() argument 1061 if (in_ptr == out_ptr) in load_cmd() 1106 static inline void update_can_queue(struct Scsi_Host *host, u_int in_ptr, u_int out_ptr) in update_can_queue() argument 1110 int num_free = QLOGICPTI_REQ_QUEUE_LEN - REQ_QUEUE_DEPTH(in_ptr, out_ptr) - 64; in update_can_queue() 1246 u_int out_ptr; in qlogicpti_queuecommand() local 1255 out_ptr = sbus_readw(qpti->qregs + MBOX4); in qlogicpti_queuecommand() 1257 if (in_ptr == out_ptr) in qlogicpti_queuecommand() 1263 if (NEXT_REQ_PTR(in_ptr) == out_ptr) { in qlogicpti_queuecommand() 1272 if ((in_ptr = load_cmd(Cmnd, cmd, qpti, in_ptr, out_ptr)) == -1) in qlogicpti_queuecommand() 1275 update_can_queue(host, in_ptr, out_ptr); in qlogicpti_queuecommand() [all …]
|
D | qlogicfc.c | 1142 u_int in_ptr, out_ptr; in isp2x00_queuecommand() local 1177 out_ptr = inw(host->io_port + MBOX4); in isp2x00_queuecommand() 1181 REQ_QUEUE_DEPTH(in_ptr, out_ptr))); in isp2x00_queuecommand() 1185 if (in_ptr == out_ptr) { in isp2x00_queuecommand() 1204 if (((in_ptr + 1) & QLOGICFC_REQ_QUEUE_LEN) == out_ptr) { in isp2x00_queuecommand() 1272 if (in_ptr == out_ptr) { in isp2x00_queuecommand() 1344 num_free = QLOGICFC_REQ_QUEUE_LEN - REQ_QUEUE_DEPTH(in_ptr, out_ptr); in isp2x00_queuecommand() 1440 u_int in_ptr, out_ptr, handle, num_free; in isp2x00_intr_handler() local 1455 out_ptr = hostdata->res_out_ptr; in isp2x00_intr_handler() 1539 …tk("qlogicfc%d : response queue depth %d\n", hostdata->host_id, RES_QUEUE_DEPTH(in_ptr, out_ptr))); in isp2x00_intr_handler() [all …]
|
D | qlogicisp.c | 797 u_int in_ptr, out_ptr; in isp1020_queuecommand() local 814 out_ptr = isp_inw(host, + MBOX4); in isp1020_queuecommand() 818 REQ_QUEUE_DEPTH(in_ptr, out_ptr))); in isp1020_queuecommand() 822 if (in_ptr == out_ptr) { in isp1020_queuecommand() 842 if (((in_ptr + 1) & QLOGICISP_REQ_QUEUE_LEN) == out_ptr) { in isp1020_queuecommand() 898 if (in_ptr == out_ptr) { in isp1020_queuecommand() 959 num_free = QLOGICISP_REQ_QUEUE_LEN - REQ_QUEUE_DEPTH(in_ptr, out_ptr); in isp1020_queuecommand() 986 u_int in_ptr, out_ptr; in isp1020_intr_handler() local 1023 out_ptr = hostdata->res_out_ptr; in isp1020_intr_handler() 1027 QUEUE_DEPTH(in_ptr, out_ptr, RES_QUEUE_LEN))); in isp1020_intr_handler() [all …]
|