/linux-4.4.14/arch/x86/um/ |
D | ldt.c | 15 static inline int modify_ldt (int func, void *ptr, unsigned long bytecount) in modify_ldt() argument 17 return syscall(__NR_modify_ldt, func, ptr, bytecount); in modify_ldt() 53 static int read_ldt(void __user * ptr, unsigned long bytecount) in read_ldt() argument 61 if (bytecount > LDT_ENTRY_SIZE*LDT_ENTRIES) in read_ldt() 62 bytecount = LDT_ENTRY_SIZE*LDT_ENTRIES; in read_ldt() 63 err = bytecount; in read_ldt() 68 if (size > bytecount) in read_ldt() 69 size = bytecount; in read_ldt() 72 bytecount -= size; in read_ldt() 76 for (i=0; i<ldt->entry_count/LDT_ENTRIES_PER_PAGE && bytecount; in read_ldt() [all …]
|
/linux-4.4.14/arch/x86/kernel/ |
D | ldt.c | 153 static int read_ldt(void __user *ptr, unsigned long bytecount) in read_ldt() argument 166 if (bytecount > LDT_ENTRY_SIZE * LDT_ENTRIES) in read_ldt() 167 bytecount = LDT_ENTRY_SIZE * LDT_ENTRIES; in read_ldt() 170 if (size > bytecount) in read_ldt() 171 size = bytecount; in read_ldt() 178 if (size != bytecount) { in read_ldt() 180 if (clear_user(ptr + size, bytecount - size)) { in read_ldt() 185 retval = bytecount; in read_ldt() 192 static int read_default_ldt(void __user *ptr, unsigned long bytecount) in read_default_ldt() argument 200 if (bytecount > size) in read_default_ldt() [all …]
|
/linux-4.4.14/net/x25/ |
D | x25_facilities.c | 240 unsigned int bytecount = (dte_facs->calling_len + 1) >> 1; in x25_create_facilities() local 242 *p++ = 1 + bytecount; in x25_create_facilities() 244 memcpy(p, dte_facs->calling_ae, bytecount); in x25_create_facilities() 245 p += bytecount; in x25_create_facilities() 249 unsigned int bytecount = (dte_facs->called_len % 2) ? in x25_create_facilities() local 253 *p++ = 1 + bytecount; in x25_create_facilities() 255 memcpy(p, dte_facs->called_ae, bytecount); in x25_create_facilities() 256 p+=bytecount; in x25_create_facilities()
|
/linux-4.4.14/drivers/scsi/ |
D | BusLogic.h | 1240 static inline void blogic_addcount(struct blogic_byte_count *bytecount, in blogic_addcount() argument 1243 bytecount->units += amount; in blogic_addcount() 1244 if (bytecount->units > 999999999) { in blogic_addcount() 1245 bytecount->units -= 1000000000; in blogic_addcount() 1246 bytecount->billions++; in blogic_addcount()
|
/linux-4.4.14/include/linux/usb/ |
D | hcd.h | 587 #define BitTime(bytecount) (7 * 8 * bytecount / 6) /* with integer truncation */ argument 622 int isoc, int bytecount);
|
/linux-4.4.14/drivers/ide/ |
D | ide-iops.c | 69 void ide_fixstring(u8 *s, const int bytecount, const int byteswap) in ide_fixstring() argument 71 u8 *p, *end = &s[bytecount & ~1]; /* bytecount must be even */ in ide_fixstring()
|
/linux-4.4.14/tools/testing/selftests/x86/ |
D | ldt_gdt.c | 172 unsigned long bytecount) in safe_modify_ldt() argument 174 int ret = syscall(SYS_modify_ldt, 0x11, ptr, bytecount); in safe_modify_ldt()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | broadsheetfb.c | 679 const u8 *wfm, int bytecount, int flash_type) in broadsheet_write_spiflash() argument 698 while (bytecount) { in broadsheet_write_spiflash() 701 writecount = min(bytecount, maxlen); in broadsheet_write_spiflash() 709 bytecount -= writecount; in broadsheet_write_spiflash()
|
/linux-4.4.14/drivers/usb/core/ |
D | hcd.c | 1166 long usb_calc_bus_time (int speed, int is_input, int isoc, int bytecount) in usb_calc_bus_time() argument 1173 tmp = (67667L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time() 1176 tmp = (66700L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time() 1181 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time() 1184 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time() 1190 tmp = HS_NSECS_ISO (bytecount); in usb_calc_bus_time() 1192 tmp = HS_NSECS (bytecount); in usb_calc_bus_time()
|
/linux-4.4.14/drivers/usb/dwc2/ |
D | hcd_queue.c | 102 int bytecount = in dwc2_qh_init() local 108 bytecount)); in dwc2_qh_init()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000/ |
D | e1000.h | 159 unsigned int bytecount; member
|
D | e1000_main.c | 2839 unsigned int f, bytecount, segs; in e1000_tx_map() local 2950 bytecount = ((segs - 1) * skb_headlen(skb)) + skb->len; in e1000_tx_map() 2954 tx_ring->buffer_info[i].bytecount = bytecount; in e1000_tx_map() 3862 total_tx_bytes += buffer_info->bytecount; in e1000_clean_tx_irq()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.h | 177 unsigned int bytecount; member
|
D | i40e_txrx.c | 185 total_bytes += tx_buf->bytecount; in i40e_clean_tx_irq() 1786 first->bytecount = skb->len - hdr_len + (gso_segs * hdr_len); in i40evf_tx_map() 1866 first->bytecount); in i40evf_tx_map()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 814 first->bytecount += (first->gso_segs - 1) * hdrlen; in fm10k_tso() 1044 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in fm10k_tx_map() 1119 first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN); in fm10k_xmit_frame_ring() 1239 total_bytes += tx_buffer->bytecount; in fm10k_clean_tx_irq()
|
D | fm10k.h | 81 unsigned int bytecount; member
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.h | 178 unsigned int bytecount; member
|
D | i40e_txrx.c | 667 total_bytes += tx_buf->bytecount; in i40e_clean_tx_irq() 2594 first->bytecount = skb->len - hdr_len + (gso_segs * hdr_len); in i40e_tx_map() 2669 first->bytecount); in i40e_tx_map()
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | atmel_usba_udc.c | 438 unsigned int bytecount, nr_busy; in receive_data() local 454 bytecount = USBA_BFEXT(BYTE_COUNT, status); in receive_data() 458 if (req->req.actual + bytecount >= req->req.length) { in receive_data() 460 bytecount = req->req.length - req->req.actual; in receive_data() 464 ep->fifo, bytecount); in receive_data() 465 req->req.actual += bytecount; in receive_data()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf.h | 59 unsigned int bytecount; member
|
D | ixgbevf_main.c | 325 total_bytes += tx_buffer->bytecount; in ixgbevf_clean_tx_irq() 3330 first->bytecount += (first->gso_segs - 1) * *hdr_len; in ixgbevf_tso() 3653 first->bytecount = skb->len; in ixgbevf_xmit_frame()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb.h | 194 unsigned int bytecount; member
|
D | igb_main.c | 4692 first->bytecount += (first->gso_segs - 1) * *hdr_len; in igb_tso() 4941 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in igb_tx_map() 5022 first->bytecount = skb->len; in igb_xmit_frame_ring() 6435 total_bytes += tx_buffer->bytecount; in igb_clean_tx_irq()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | e1000.h | 159 unsigned int bytecount; member
|
D | netdev.c | 1243 total_tx_bytes += buffer_info->bytecount; in e1000_clean_tx_irq() 5469 unsigned int f, bytecount, segs; in e1000_tx_map() local 5531 bytecount = ((segs - 1) * skb_headlen(skb)) + skb->len; in e1000_tx_map() 5535 tx_ring->buffer_info[i].bytecount = bytecount; in e1000_tx_map()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe.h | 187 unsigned int bytecount; member
|
D | ixgbe_fcoe.c | 594 first->bytecount += (first->gso_segs - 1) * *hdr_len; in ixgbe_fso()
|
D | ixgbe_main.c | 1127 total_bytes += tx_buffer->bytecount; in ixgbe_clean_tx_irq() 6985 first->bytecount += (first->gso_segs - 1) * *hdr_len; in ixgbe_tso() 7277 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in ixgbe_tx_map() 7521 first->bytecount = skb->len; in ixgbe_xmit_frame_ring()
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 827 unsigned int segs, bytecount; in igbvf_clean_tx_irq() local 832 bytecount = ((segs - 1) * skb_headlen(skb)) + in igbvf_clean_tx_irq() 835 total_bytes += bytecount; in igbvf_clean_tx_irq()
|