taglinefilesource code
operation334drivers/block/xd.cstatic int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count)
operation341drivers/block/xd.cprintk("xd_readwrite: operation = %s, drive = %d, buffer = 0x%X, block = %d, count = %d\n",operation == READ ? "read" : "write",drive,buffer,block,count);
operation357drivers/block/xd.cmode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200);
operation358drivers/block/xd.cxd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control);
operation773drivers/char/ftape/fdc-io.cint setup_fdc_and_dma(buffer_struct * buff, unsigned char operation)
operation782drivers/char/ftape/fdc-io.cif (operation == FDC_READ || operation == FDC_READ_DELETED) {
operation811drivers/char/ftape/fdc-io.c} else if (operation == FDC_WRITE || operation == FDC_WRITE_DELETED) {
operation869drivers/char/ftape/fdc-io.cout[0] = operation;
operation171drivers/char/ftape/ftape-rw.hextern int setup_fdc_and_dma(buffer_struct * buff, byte operation);
operation2561drivers/char/tpqic02.cstruct mtop operation;
operation2673drivers/char/tpqic02.cerror = verify_area(VERIFY_READ, (char *) ioarg, sizeof(operation));
operation2678drivers/char/tpqic02.cstp = (char *) &operation;
operation2680drivers/char/tpqic02.cfor (i=0; i<sizeof(operation); i++)
operation2692drivers/char/tpqic02.cprintk("OP op=%4x, count=%4x\n", operation.mt_op, operation.mt_count);
operation2694drivers/char/tpqic02.cif (operation.mt_count < 0)
operation2697drivers/char/tpqic02.cioctl_status.mt_resid = operation.mt_count;
operation2698drivers/char/tpqic02.cif (operation.mt_op == MTSEEK) {
operation2701drivers/char/tpqic02.cseek_addr_buf[0] = (operation.mt_count>>16)&0xff;
operation2702drivers/char/tpqic02.cseek_addr_buf[1] = (operation.mt_count>>8)&0xff;
operation2703drivers/char/tpqic02.cseek_addr_buf[2] = (operation.mt_count)&0xff;
operation2704drivers/char/tpqic02.cif (operation.mt_count>>24)
operation2706drivers/char/tpqic02.cif ((error = do_ioctl_cmd(operation.mt_op)) != 0)
operation2710drivers/char/tpqic02.cwhile (operation.mt_count > 0) {
operation2711drivers/char/tpqic02.coperation.mt_count--;
operation2712drivers/char/tpqic02.cif ((error = do_ioctl_cmd(operation.mt_op)) != 0)
operation2714drivers/char/tpqic02.cioctl_status.mt_resid = operation.mt_count;
operation117include/linux/xd.hstatic int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count);