Lines Matching refs:nbytes
27 size_t nbytes, loff_t *ppos) in proc_bus_pci_read() argument
48 if (nbytes >= size) in proc_bus_pci_read()
49 nbytes = size; in proc_bus_pci_read()
50 if (pos + nbytes > size) in proc_bus_pci_read()
51 nbytes = size - pos; in proc_bus_pci_read()
52 cnt = nbytes; in proc_bus_pci_read()
107 return nbytes; in proc_bus_pci_read()
111 size_t nbytes, loff_t *ppos) in proc_bus_pci_write() argument
121 if (nbytes >= size) in proc_bus_pci_write()
122 nbytes = size; in proc_bus_pci_write()
123 if (pos + nbytes > size) in proc_bus_pci_write()
124 nbytes = size - pos; in proc_bus_pci_write()
125 cnt = nbytes; in proc_bus_pci_write()
181 return nbytes; in proc_bus_pci_write()