/linux/arch/x86/um/ |
A D | ldt.c | 64 err = bytecount; in read_ldt() 69 if (size > bytecount) in read_ldt() 70 size = bytecount; in read_ldt() 73 bytecount -= size; in read_ldt() 80 if (size > bytecount) in read_ldt() 81 size = bytecount; in read_ldt() 86 bytecount -= size; in read_ldt() 95 if (clear_user(ptr, bytecount)) in read_ldt() 107 bytecount = 5*LDT_ENTRY_SIZE; in read_default_ldt() 109 err = bytecount; in read_default_ldt() [all …]
|
/linux/arch/x86/kernel/ |
A D | ldt.c | 517 if (entries_size > bytecount) in read_ldt() 518 entries_size = bytecount; in read_ldt() 525 if (entries_size != bytecount) { in read_ldt() 532 retval = bytecount; in read_ldt() 547 if (bytecount > size) in read_default_ldt() 548 bytecount = size; in read_default_ldt() 549 if (clear_user(ptr, bytecount)) in read_default_ldt() 551 return bytecount; in read_default_ldt() 586 if (bytecount != sizeof(ldt_info)) in write_ldt() 666 unsigned long , bytecount) in SYSCALL_DEFINE3() argument [all …]
|
/linux/net/x25/ |
A D | x25_facilities.c | 235 unsigned int bytecount = (dte_facs->calling_len + 1) >> 1; in x25_create_facilities() local 237 *p++ = 1 + bytecount; in x25_create_facilities() 239 memcpy(p, dte_facs->calling_ae, bytecount); in x25_create_facilities() 240 p += bytecount; in x25_create_facilities() 244 unsigned int bytecount = (dte_facs->called_len % 2) ? in x25_create_facilities() local 248 *p++ = 1 + bytecount; in x25_create_facilities() 250 memcpy(p, dte_facs->called_ae, bytecount); in x25_create_facilities() 251 p+=bytecount; in x25_create_facilities()
|
/linux/drivers/usb/dwc2/ |
A D | hcd_queue.c | 711 int bytecount = qh->maxp_mult * qh->maxp; in dwc2_uframe_schedule_split() local 836 if (first_data_bytes > bytecount) in dwc2_uframe_schedule_split() 837 first_data_bytes = bytecount; in dwc2_uframe_schedule_split() 859 qh, first_data_bytes, bytecount); in dwc2_uframe_schedule_split() 887 middle_count = bytecount; in dwc2_uframe_schedule_split() 888 end_count = bytecount; in dwc2_uframe_schedule_split() 921 middle_count = min_t(int, 188, bytecount); in dwc2_uframe_schedule_split() 1522 int bytecount = maxp_mult * maxp; in dwc2_qh_init() local 1553 ep_is_isoc, bytecount)); in dwc2_qh_init() 1555 ep_is_isoc, bytecount); in dwc2_qh_init() [all …]
|
/linux/drivers/scsi/ |
A D | BusLogic.h | 1222 static inline void blogic_addcount(struct blogic_byte_count *bytecount, in blogic_addcount() argument 1225 bytecount->units += amount; in blogic_addcount() 1226 if (bytecount->units > 999999999) { in blogic_addcount() 1227 bytecount->units -= 1000000000; in blogic_addcount() 1228 bytecount->billions++; in blogic_addcount()
|
/linux/drivers/input/rmi4/ |
A D | rmi_smbus.c | 80 u16 rmiaddr, int bytecount, bool isread, u8 *commandcode) in rmi_smb_get_command_code() argument 95 if (entry->readcount == bytecount) in rmi_smb_get_command_code() 111 new_map.readcount = bytecount; in rmi_smb_get_command_code()
|
/linux/drivers/watchdog/ |
A D | mei_wdt.c | 118 u8 bytecount; member 174 req.hdr.bytecount = req_len - offsetof(struct mei_mc_hdr, subcommand); in mei_wdt_ping() 202 req.hdr.bytecount = req_len - offsetof(struct mei_mc_hdr, subcommand); in mei_wdt_stop()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_txrx_lib.c | 238 total_bytes += tx_buf->bytecount; in ice_clean_xdp_irq() 289 tx_buf->bytecount = size; in ice_xmit_xdp_ring()
|
A D | ice_xsk.c | 646 tx_buf->bytecount = desc.len; in ice_xmit_zc() 705 total_bytes += tx_buf->bytecount; in ice_clean_tx_irq_zc()
|
A D | ice_txrx.h | 148 unsigned int bytecount; member
|
A D | ice_txrx.c | 247 total_bytes += tx_buf->bytecount; in ice_clean_tx_irq() 1660 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in ice_tx_map() 2024 first->bytecount += (first->gso_segs - 1) * off->header_len; in ice_tso() 2280 first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN); in ice_xmit_frame_ring()
|
/linux/include/linux/usb/ |
A D | hcd.h | 628 #define BitTime(bytecount) (7 * 8 * bytecount / 6) /* with integer truncation */ argument 663 int isoc, int bytecount);
|
/linux/drivers/video/fbdev/ |
A 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/drivers/usb/core/ |
A D | hcd.c | 1087 long usb_calc_bus_time (int speed, int is_input, int isoc, int bytecount) in usb_calc_bus_time() argument 1094 tmp = (67667L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time() 1097 tmp = (66700L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time() 1102 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time() 1105 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time() 1111 tmp = HS_NSECS_ISO (bytecount); in usb_calc_bus_time() 1113 tmp = HS_NSECS (bytecount); in usb_calc_bus_time()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_xsk.c | 406 tx_bi->bytecount = desc.len; in ixgbe_xmit_zc() 462 total_bytes += tx_bi->bytecount; in ixgbe_clean_xdp_tx_irq()
|
/linux/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_main.c | 765 first->bytecount += (first->gso_segs - 1) * hdrlen; in fm10k_tso() 999 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in fm10k_tx_map() 1072 first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN); in fm10k_xmit_frame_ring() 1206 total_bytes += tx_buffer->bytecount; in fm10k_clean_tx_irq()
|
A D | fm10k.h | 65 unsigned int bytecount; member
|
/linux/tools/testing/selftests/x86/ |
A D | ldt_gdt.c | 224 unsigned long bytecount) in safe_modify_ldt() argument 226 int ret = syscall(SYS_modify_ldt, 0x11, ptr, bytecount); in safe_modify_ldt()
|
/linux/drivers/net/ethernet/intel/e1000/ |
A D | e1000.h | 132 unsigned int bytecount; member
|
/linux/drivers/usb/gadget/udc/ |
A D | atmel_usba_udc.c | 489 unsigned int bytecount, nr_busy; in receive_data() local 505 bytecount = USBA_BFEXT(BYTE_COUNT, status); in receive_data() 509 if (req->req.actual + bytecount >= req->req.length) { in receive_data() 511 bytecount = req->req.length - req->req.actual; in receive_data() 515 ep->fifo, bytecount); in receive_data() 516 req->req.actual += bytecount; in receive_data()
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_txrx.c | 223 total_bytes += tx_buf->bytecount; in iavf_clean_tx_irq() 1929 first->bytecount += (first->gso_segs - 1) * *hdr_len; in iavf_tso() 2338 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in iavf_tx_map() 2439 first->bytecount = skb->len; in iavf_xmit_frame_ring()
|
A D | iavf_txrx.h | 266 unsigned int bytecount; member
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_txrx.h | 267 unsigned int bytecount; member
|
A D | i40e_txrx.c | 966 total_bytes += tx_buf->bytecount; in i40e_clean_tx_irq() 3107 first->bytecount += (first->gso_segs - 1) * *hdr_len; in i40e_tso() 3568 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in i40e_tx_map() 3707 tx_bi->bytecount = size; in i40e_xmit_xdp_ring() 3787 first->bytecount = skb->len; in i40e_xmit_frame_ring()
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
A D | ixgbevf.h | 37 unsigned int bytecount; member
|