bytecount         410 arch/x86/kernel/ldt.c static int read_ldt(void __user *ptr, unsigned long bytecount)
bytecount         423 arch/x86/kernel/ldt.c 	if (bytecount > LDT_ENTRY_SIZE * LDT_ENTRIES)
bytecount         424 arch/x86/kernel/ldt.c 		bytecount = LDT_ENTRY_SIZE * LDT_ENTRIES;
bytecount         427 arch/x86/kernel/ldt.c 	if (entries_size > bytecount)
bytecount         428 arch/x86/kernel/ldt.c 		entries_size = bytecount;
bytecount         435 arch/x86/kernel/ldt.c 	if (entries_size != bytecount) {
bytecount         437 arch/x86/kernel/ldt.c 		if (clear_user(ptr + entries_size, bytecount - entries_size)) {
bytecount         442 arch/x86/kernel/ldt.c 	retval = bytecount;
bytecount         449 arch/x86/kernel/ldt.c static int read_default_ldt(void __user *ptr, unsigned long bytecount)
bytecount         457 arch/x86/kernel/ldt.c 	if (bytecount > size)
bytecount         458 arch/x86/kernel/ldt.c 		bytecount = size;
bytecount         459 arch/x86/kernel/ldt.c 	if (clear_user(ptr, bytecount))
bytecount         461 arch/x86/kernel/ldt.c 	return bytecount;
bytecount         464 arch/x86/kernel/ldt.c static int write_ldt(void __user *ptr, unsigned long bytecount, int oldmode)
bytecount         474 arch/x86/kernel/ldt.c 	if (bytecount != sizeof(ldt_info))
bytecount         554 arch/x86/kernel/ldt.c 		unsigned long , bytecount)
bytecount         560 arch/x86/kernel/ldt.c 		ret = read_ldt(ptr, bytecount);
bytecount         563 arch/x86/kernel/ldt.c 		ret = write_ldt(ptr, bytecount, 1);
bytecount         566 arch/x86/kernel/ldt.c 		ret = read_default_ldt(ptr, bytecount);
bytecount         569 arch/x86/kernel/ldt.c 		ret = write_ldt(ptr, bytecount, 0);
bytecount          16 arch/x86/um/ldt.c static inline int modify_ldt (int func, void *ptr, unsigned long bytecount)
bytecount          18 arch/x86/um/ldt.c 	return syscall(__NR_modify_ldt, func, ptr, bytecount);
bytecount          54 arch/x86/um/ldt.c static int read_ldt(void __user * ptr, unsigned long bytecount)
bytecount          62 arch/x86/um/ldt.c 	if (bytecount > LDT_ENTRY_SIZE*LDT_ENTRIES)
bytecount          63 arch/x86/um/ldt.c 		bytecount = LDT_ENTRY_SIZE*LDT_ENTRIES;
bytecount          64 arch/x86/um/ldt.c 	err = bytecount;
bytecount          69 arch/x86/um/ldt.c 		if (size > bytecount)
bytecount          70 arch/x86/um/ldt.c 			size = bytecount;
bytecount          73 arch/x86/um/ldt.c 		bytecount -= size;
bytecount          77 arch/x86/um/ldt.c 		for (i=0; i<ldt->entry_count/LDT_ENTRIES_PER_PAGE && bytecount;
bytecount          80 arch/x86/um/ldt.c 			if (size > bytecount)
bytecount          81 arch/x86/um/ldt.c 				size = bytecount;
bytecount          86 arch/x86/um/ldt.c 			bytecount -= size;
bytecount          92 arch/x86/um/ldt.c 	if (bytecount == 0 || err == -EFAULT)
bytecount          95 arch/x86/um/ldt.c 	if (clear_user(ptr, bytecount))
bytecount         102 arch/x86/um/ldt.c static int read_default_ldt(void __user * ptr, unsigned long bytecount)
bytecount         106 arch/x86/um/ldt.c 	if (bytecount > 5*LDT_ENTRY_SIZE)
bytecount         107 arch/x86/um/ldt.c 		bytecount = 5*LDT_ENTRY_SIZE;
bytecount         109 arch/x86/um/ldt.c 	err = bytecount;
bytecount         115 arch/x86/um/ldt.c 	if (clear_user(ptr, bytecount))
bytecount         121 arch/x86/um/ldt.c static int write_ldt(void __user * ptr, unsigned long bytecount, int func)
bytecount         131 arch/x86/um/ldt.c 	if (bytecount != sizeof(ldt_info))
bytecount         208 arch/x86/um/ldt.c 			       unsigned long bytecount)
bytecount         214 arch/x86/um/ldt.c 			ret = read_ldt(ptr, bytecount);
bytecount         218 arch/x86/um/ldt.c 			ret = write_ldt(ptr, bytecount, func);
bytecount         221 arch/x86/um/ldt.c 			ret = read_default_ldt(ptr, bytecount);
bytecount         374 arch/x86/um/ldt.c 		unsigned long , bytecount)
bytecount         377 arch/x86/um/ldt.c 	return (unsigned int)do_modify_ldt_skas(func, ptr, bytecount);
bytecount          70 drivers/ide/ide-iops.c void ide_fixstring(u8 *s, const int bytecount, const int byteswap)
bytecount          72 drivers/ide/ide-iops.c 	u8 *p, *end = &s[bytecount & ~1]; /* bytecount must be even */
bytecount          80 drivers/input/rmi4/rmi_smbus.c 		u16 rmiaddr, int bytecount, bool isread, u8 *commandcode)
bytecount          95 drivers/input/rmi4/rmi_smbus.c 				if (entry->readcount == bytecount)
bytecount         111 drivers/input/rmi4/rmi_smbus.c 	new_map.readcount = bytecount;
bytecount         133 drivers/net/ethernet/intel/e1000/e1000.h 	unsigned int bytecount;
bytecount        2830 drivers/net/ethernet/intel/e1000/e1000_main.c 	unsigned int f, bytecount, segs;
bytecount        2940 drivers/net/ethernet/intel/e1000/e1000_main.c 	bytecount = ((segs - 1) * skb_headlen(skb)) + skb->len;
bytecount        2944 drivers/net/ethernet/intel/e1000/e1000_main.c 	tx_ring->buffer_info[i].bytecount = bytecount;
bytecount        3847 drivers/net/ethernet/intel/e1000/e1000_main.c 				total_tx_bytes += buffer_info->bytecount;
bytecount         137 drivers/net/ethernet/intel/e1000e/e1000.h 			unsigned int bytecount;
bytecount        1236 drivers/net/ethernet/intel/e1000e/netdev.c 				total_tx_bytes += buffer_info->bytecount;
bytecount        5563 drivers/net/ethernet/intel/e1000e/netdev.c 	unsigned int f, bytecount, segs;
bytecount        5624 drivers/net/ethernet/intel/e1000e/netdev.c 	bytecount = ((segs - 1) * skb_headlen(skb)) + skb->len;
bytecount        5628 drivers/net/ethernet/intel/e1000e/netdev.c 	tx_ring->buffer_info[i].bytecount = bytecount;
bytecount          65 drivers/net/ethernet/intel/fm10k/fm10k.h 	unsigned int bytecount;
bytecount         783 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	first->bytecount += (first->gso_segs - 1) * hdrlen;
bytecount        1017 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount);
bytecount        1090 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN);
bytecount        1224 drivers/net/ethernet/intel/fm10k/fm10k_main.c 		total_bytes += tx_buffer->bytecount;
bytecount         809 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		total_bytes += tx_buf->bytecount;
bytecount        2974 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	first->bytecount += (first->gso_segs - 1) * *hdr_len;
bytecount        3432 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount);
bytecount        3522 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	tx_bi->bytecount = size;
bytecount        3601 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	first->bytecount = skb->len;
bytecount         289 drivers/net/ethernet/intel/i40e/i40e_txrx.h 	unsigned int bytecount;
bytecount         671 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		tx_bi->bytecount = desc.len;
bytecount         753 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		total_bytes += tx_bi->bytecount;
bytecount         223 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		total_bytes += tx_buf->bytecount;
bytecount        1940 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	first->bytecount += (first->gso_segs - 1) * *hdr_len;
bytecount        2349 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount);
bytecount        2450 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	first->bytecount = skb->len;
bytecount         266 drivers/net/ethernet/intel/iavf/iavf_txrx.h 	unsigned int bytecount;
bytecount         136 drivers/net/ethernet/intel/ice/ice_txrx.c 		total_bytes += tx_buf->bytecount;
bytecount        1682 drivers/net/ethernet/intel/ice/ice_txrx.c 	netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount);
bytecount        1942 drivers/net/ethernet/intel/ice/ice_txrx.c 	first->bytecount += (first->gso_segs - 1) * off->header_len;
bytecount        2140 drivers/net/ethernet/intel/ice/ice_txrx.c 	first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN);
bytecount          58 drivers/net/ethernet/intel/ice/ice_txrx.h 	unsigned int bytecount;
bytecount         204 drivers/net/ethernet/intel/igb/igb.h 	unsigned int bytecount;
bytecount        5755 drivers/net/ethernet/intel/igb/igb_main.c 	first->bytecount += (first->gso_segs - 1) * *hdr_len;
bytecount        5994 drivers/net/ethernet/intel/igb/igb_main.c 	netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount);
bytecount        6089 drivers/net/ethernet/intel/igb/igb_main.c 	first->bytecount = skb->len;
bytecount        7780 drivers/net/ethernet/intel/igb/igb_main.c 		total_bytes += tx_buffer->bytecount;
bytecount         805 drivers/net/ethernet/intel/igbvf/netdev.c 				unsigned int segs, bytecount;
bytecount         810 drivers/net/ethernet/intel/igbvf/netdev.c 				bytecount = ((segs - 1) * skb_headlen(skb)) +
bytecount         813 drivers/net/ethernet/intel/igbvf/netdev.c 				total_bytes += bytecount;
bytecount         187 drivers/net/ethernet/intel/igc/igc.h 	unsigned int bytecount;
bytecount        1030 drivers/net/ethernet/intel/igc/igc_main.c 	netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount);
bytecount        1124 drivers/net/ethernet/intel/igc/igc_main.c 	first->bytecount = skb->len;
bytecount        1736 drivers/net/ethernet/intel/igc/igc_main.c 		total_bytes += tx_buffer->bytecount;
bytecount         218 drivers/net/ethernet/intel/ixgbe/ixgbe.h 	unsigned int bytecount;
bytecount         571 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c 		first->bytecount += (first->gso_segs - 1) * *hdr_len;
bytecount        1147 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		total_bytes += tx_buffer->bytecount;
bytecount        8027 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	first->bytecount += (first->gso_segs - 1) * *hdr_len;
bytecount        8294 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount);
bytecount        8569 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	tx_buffer->bytecount = len;
bytecount        8637 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	first->bytecount = skb->len;
bytecount         601 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 		tx_bi->bytecount = desc.len;
bytecount         657 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 		total_bytes += tx_bi->bytecount;
bytecount          37 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h 	unsigned int bytecount;
bytecount         301 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		total_bytes += tx_buffer->bytecount;
bytecount        1008 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	tx_buffer->bytecount = len;
bytecount        3815 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	first->bytecount += (first->gso_segs - 1) * *hdr_len;
bytecount        4152 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	first->bytecount = skb->len;
bytecount        1233 drivers/scsi/BusLogic.h static inline void blogic_addcount(struct blogic_byte_count *bytecount,
bytecount        1236 drivers/scsi/BusLogic.h 	bytecount->units += amount;
bytecount        1237 drivers/scsi/BusLogic.h 	if (bytecount->units > 999999999) {
bytecount        1238 drivers/scsi/BusLogic.h 		bytecount->units -= 1000000000;
bytecount        1239 drivers/scsi/BusLogic.h 		bytecount->billions++;
bytecount        1085 drivers/usb/core/hcd.c long usb_calc_bus_time (int speed, int is_input, int isoc, int bytecount)
bytecount        1092 drivers/usb/core/hcd.c 			tmp = (67667L * (31L + 10L * BitTime (bytecount))) / 1000L;
bytecount        1095 drivers/usb/core/hcd.c 			tmp = (66700L * (31L + 10L * BitTime (bytecount))) / 1000L;
bytecount        1100 drivers/usb/core/hcd.c 			tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L;
bytecount        1103 drivers/usb/core/hcd.c 			tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L;
bytecount        1109 drivers/usb/core/hcd.c 			tmp = HS_NSECS_ISO (bytecount);
bytecount        1111 drivers/usb/core/hcd.c 			tmp = HS_NSECS (bytecount);
bytecount         711 drivers/usb/dwc2/hcd_queue.c 	int bytecount = qh->maxp_mult * qh->maxp;
bytecount         836 drivers/usb/dwc2/hcd_queue.c 		if (first_data_bytes > bytecount)
bytecount         837 drivers/usb/dwc2/hcd_queue.c 			first_data_bytes = bytecount;
bytecount         838 drivers/usb/dwc2/hcd_queue.c 		other_data_bytes = bytecount - first_data_bytes;
bytecount         856 drivers/usb/dwc2/hcd_queue.c 		    (first_data_bytes != min_t(int, 188, bytecount))) {
bytecount         859 drivers/usb/dwc2/hcd_queue.c 				     qh, first_data_bytes, bytecount);
bytecount         887 drivers/usb/dwc2/hcd_queue.c 				middle_count = bytecount;
bytecount         888 drivers/usb/dwc2/hcd_queue.c 				end_count = bytecount;
bytecount         921 drivers/usb/dwc2/hcd_queue.c 				middle_count = min_t(int, 188, bytecount);
bytecount        1522 drivers/usb/dwc2/hcd_queue.c 	int bytecount = maxp_mult * maxp;
bytecount        1553 drivers/usb/dwc2/hcd_queue.c 				       ep_is_isoc, bytecount));
bytecount        1555 drivers/usb/dwc2/hcd_queue.c 					      ep_is_isoc, bytecount);
bytecount        1618 drivers/usb/dwc2/hcd_queue.c 		     speed, bytecount);
bytecount         488 drivers/usb/gadget/udc/atmel_usba_udc.c 	unsigned int bytecount, nr_busy;
bytecount         504 drivers/usb/gadget/udc/atmel_usba_udc.c 		bytecount = USBA_BFEXT(BYTE_COUNT, status);
bytecount         508 drivers/usb/gadget/udc/atmel_usba_udc.c 		if (req->req.actual + bytecount >= req->req.length) {
bytecount         510 drivers/usb/gadget/udc/atmel_usba_udc.c 			bytecount = req->req.length - req->req.actual;
bytecount         514 drivers/usb/gadget/udc/atmel_usba_udc.c 				ep->fifo, bytecount);
bytecount         515 drivers/usb/gadget/udc/atmel_usba_udc.c 		req->req.actual += bytecount;
bytecount         679 drivers/video/fbdev/broadsheetfb.c 				const u8 *wfm, int bytecount, int flash_type)
bytecount         698 drivers/video/fbdev/broadsheetfb.c 	while (bytecount) {
bytecount         701 drivers/video/fbdev/broadsheetfb.c 		writecount = min(bytecount, maxlen);
bytecount         709 drivers/video/fbdev/broadsheetfb.c 		bytecount -= writecount;
bytecount         118 drivers/watchdog/mei_wdt.c 	u8 bytecount;
bytecount         174 drivers/watchdog/mei_wdt.c 	req.hdr.bytecount = req_len - offsetof(struct mei_mc_hdr, subcommand);
bytecount         202 drivers/watchdog/mei_wdt.c 	req.hdr.bytecount = req_len - offsetof(struct mei_mc_hdr, subcommand);
bytecount         616 include/linux/usb/hcd.h #define BitTime(bytecount) (7 * 8 * bytecount / 6) /* with integer truncation */
bytecount         651 include/linux/usb/hcd.h 			int isoc, int bytecount);
bytecount         235 net/x25/x25_facilities.c 		unsigned int bytecount = (dte_facs->calling_len + 1) >> 1;
bytecount         237 net/x25/x25_facilities.c 		*p++ = 1 + bytecount;
bytecount         239 net/x25/x25_facilities.c 		memcpy(p, dte_facs->calling_ae, bytecount);
bytecount         240 net/x25/x25_facilities.c 		p += bytecount;
bytecount         244 net/x25/x25_facilities.c 		unsigned int bytecount = (dte_facs->called_len % 2) ?
bytecount         248 net/x25/x25_facilities.c 		*p++ = 1 + bytecount;
bytecount         250 net/x25/x25_facilities.c 		memcpy(p, dte_facs->called_ae, bytecount);
bytecount         251 net/x25/x25_facilities.c 		p+=bytecount;
bytecount         224 tools/testing/selftests/x86/ldt_gdt.c 			   unsigned long bytecount)
bytecount         226 tools/testing/selftests/x86/ldt_gdt.c 	int ret = syscall(SYS_modify_ldt, 0x11, ptr, bytecount);