Home
last modified time | relevance | path

Searched refs:bytecount (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.3-rc2/arch/x86/um/
A Dldt.c66 err = bytecount; in read_ldt()
71 if (size > bytecount) in read_ldt()
72 size = bytecount; in read_ldt()
75 bytecount -= size; in read_ldt()
82 if (size > bytecount) in read_ldt()
83 size = bytecount; in read_ldt()
88 bytecount -= size; in read_ldt()
97 if (clear_user(ptr, bytecount)) in read_ldt()
109 bytecount = 5*LDT_ENTRY_SIZE; in read_default_ldt()
111 err = bytecount; in read_default_ldt()
[all …]
/linux-6.3-rc2/arch/x86/kernel/
A Dldt.c517 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-6.3-rc2/net/x25/
A Dx25_facilities.c235 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-6.3-rc2/drivers/usb/dwc2/
A Dhcd_queue.c681 int bytecount = qh->maxp_mult * qh->maxp; in dwc2_uframe_schedule_split() local
806 if (first_data_bytes > bytecount) in dwc2_uframe_schedule_split()
807 first_data_bytes = bytecount; in dwc2_uframe_schedule_split()
829 qh, first_data_bytes, bytecount); in dwc2_uframe_schedule_split()
857 middle_count = bytecount; in dwc2_uframe_schedule_split()
858 end_count = bytecount; in dwc2_uframe_schedule_split()
891 middle_count = min_t(int, 188, bytecount); in dwc2_uframe_schedule_split()
1492 int bytecount = maxp_mult * maxp; in dwc2_qh_init() local
1523 ep_is_isoc, bytecount)); in dwc2_qh_init()
1525 ep_is_isoc, bytecount); in dwc2_qh_init()
[all …]
/linux-6.3-rc2/drivers/scsi/
A DBusLogic.h1222 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-6.3-rc2/drivers/input/rmi4/
A Drmi_smbus.c80 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-6.3-rc2/drivers/watchdog/
A Dmei_wdt.c118 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-6.3-rc2/include/linux/usb/
A Dhcd.h619 #define BitTime(bytecount) (7 * 8 * bytecount / 6) /* with integer truncation */ argument
654 int isoc, int bytecount);
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_txrx_lib.c288 total_bytes += tx_buf->bytecount; in ice_clean_xdp_irq()
399 tx_head->bytecount = xdp_get_buff_len(xdp); in __ice_xmit_xdp_ring()
A Dice_txrx.h180 unsigned int bytecount; member
A Dice_txrx.c257 total_bytes += tx_buf->bytecount; in ice_clean_tx_irq()
1763 kick = __netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount, in ice_tx_map()
2115 first->bytecount += (first->gso_segs - 1) * off->header_len; in ice_tso()
2380 first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN); in ice_xmit_frame_ring()
/linux-6.3-rc2/drivers/video/fbdev/
A Dbroadsheetfb.c679 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-6.3-rc2/drivers/usb/core/
A Dhcd.c1094 long usb_calc_bus_time (int speed, int is_input, int isoc, int bytecount) in usb_calc_bus_time() argument
1101 tmp = (67667L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time()
1104 tmp = (66700L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time()
1109 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time()
1112 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time()
1118 tmp = HS_NSECS_ISO (bytecount); in usb_calc_bus_time()
1120 tmp = HS_NSECS (bytecount); in usb_calc_bus_time()
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_xsk.c422 tx_bi->bytecount = desc.len; in ixgbe_xmit_zc()
478 total_bytes += tx_bi->bytecount; in ixgbe_clean_xdp_tx_irq()
/linux-6.3-rc2/tools/testing/selftests/x86/
A Dldt_gdt.c224 unsigned long bytecount) in safe_modify_ldt() argument
226 int ret = syscall(SYS_modify_ldt, 0x11, ptr, bytecount); in safe_modify_ldt()
/linux-6.3-rc2/drivers/net/ethernet/intel/fm10k/
A Dfm10k_main.c773 first->bytecount += (first->gso_segs - 1) * hdrlen; in fm10k_tso()
1007 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in fm10k_tx_map()
1080 first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN); in fm10k_xmit_frame_ring()
1214 total_bytes += tx_buffer->bytecount; in fm10k_clean_tx_irq()
A Dfm10k.h65 unsigned int bytecount; member
/linux-6.3-rc2/drivers/net/ethernet/intel/e1000/
A De1000.h132 unsigned int bytecount; member
/linux-6.3-rc2/drivers/usb/gadget/udc/
A Datmel_usba_udc.c489 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-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_txrx.h267 unsigned int bytecount; member
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/
A Diavf_txrx.h267 unsigned int bytecount; member
A Diavf_txrx.c226 total_bytes += tx_buf->bytecount; in iavf_clean_tx_irq()
1953 first->bytecount += (first->gso_segs - 1) * *hdr_len; in iavf_tso()
2362 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in iavf_tx_map()
2463 first->bytecount = skb->len; in iavf_xmit_frame_ring()
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbevf/
A Dixgbevf.h37 unsigned int bytecount; member
/linux-6.3-rc2/drivers/net/ethernet/wangxun/libwx/
A Dwx_lib.c552 total_bytes += tx_buffer->bytecount; in wx_clean_tx_irq()
788 netdev_tx_sent_queue(wx_txring_txq(tx_ring), first->bytecount); in wx_tx_map()
864 first->bytecount = skb->len; in wx_xmit_frame_ring()
/linux-6.3-rc2/drivers/net/ethernet/intel/igc/
A Digc_main.c1066 buffer->bytecount = skb->len; in igc_init_empty_frame()
1092 first->bytecount; in igc_init_tx_empty_descriptor()
1093 olinfo_status = first->bytecount << IGC_ADVTXD_PAYLEN_SHIFT; in igc_init_tx_empty_descriptor()
1348 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in igc_tx_map()
1484 first->bytecount += (first->gso_segs - 1) * *hdr_len; in igc_tso()
1563 first->bytecount = skb->len; in igc_xmit_frame_ring()
2274 head->bytecount = xdp_get_frame_len(xdpf); in igc_xdp_init_tx_descriptor()
2279 olinfo_status = head->bytecount << IGC_ADVTXD_PAYLEN_SHIFT; in igc_xdp_init_tx_descriptor()
2319 netdev_tx_sent_queue(txring_txq(ring), head->bytecount); in igc_xdp_init_tx_descriptor()
2802 bi->bytecount = xdp_desc.len; in igc_xdp_xmit_zc()
[all …]

Completed in 73 milliseconds

12