Home
last modified time | relevance | path

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

12

/linux-6.12.1/arch/x86/kernel/
Dldt.c502 static int read_ldt(void __user *ptr, unsigned long bytecount) in read_ldt() argument
515 if (bytecount > LDT_ENTRY_SIZE * LDT_ENTRIES) in read_ldt()
516 bytecount = LDT_ENTRY_SIZE * LDT_ENTRIES; in read_ldt()
519 if (entries_size > bytecount) in read_ldt()
520 entries_size = bytecount; in read_ldt()
527 if (entries_size != bytecount) { in read_ldt()
529 if (clear_user(ptr + entries_size, bytecount - entries_size)) { in read_ldt()
534 retval = bytecount; in read_ldt()
541 static int read_default_ldt(void __user *ptr, unsigned long bytecount) in read_default_ldt() argument
549 if (bytecount > size) in read_default_ldt()
[all …]
/linux-6.12.1/net/x25/
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.12.1/drivers/usb/dwc2/
Dhcd_queue.c645 int bytecount = qh->maxp_mult * qh->maxp; in dwc2_uframe_schedule_split() local
770 if (first_data_bytes > bytecount) in dwc2_uframe_schedule_split()
771 first_data_bytes = bytecount; in dwc2_uframe_schedule_split()
772 other_data_bytes = bytecount - first_data_bytes; in dwc2_uframe_schedule_split()
790 (first_data_bytes != min_t(int, 188, bytecount))) { in dwc2_uframe_schedule_split()
793 qh, first_data_bytes, bytecount); in dwc2_uframe_schedule_split()
821 middle_count = bytecount; in dwc2_uframe_schedule_split()
822 end_count = bytecount; in dwc2_uframe_schedule_split()
855 middle_count = min_t(int, 188, bytecount); in dwc2_uframe_schedule_split()
1456 int bytecount = maxp_mult * maxp; in dwc2_qh_init() local
[all …]
/linux-6.12.1/drivers/scsi/
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.12.1/drivers/input/rmi4/
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.12.1/drivers/watchdog/
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.12.1/include/linux/usb/
Dhcd.h638 #define BitTime(bytecount) (7 * 8 * bytecount / 6) /* with integer truncation */ argument
673 int isoc, int bytecount);
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c302 total_bytes += tx_buf->bytecount; in ice_clean_xdp_irq()
413 tx_head->bytecount = xdp_get_buff_len(xdp); in __ice_xmit_xdp_ring()
Dice_txrx.h176 unsigned int bytecount; member
Dice_txrx.c257 total_bytes += tx_buf->bytecount; in ice_clean_tx_irq()
1723 kick = __netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount, in ice_tx_map()
2075 first->bytecount += (first->gso_segs - 1) * off->header_len; in ice_tso()
2337 first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN); in ice_xmit_frame_ring()
/linux-6.12.1/drivers/video/fbdev/
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.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c417 tx_bi->bytecount = desc.len; in ixgbe_xmit_zc()
473 total_bytes += tx_bi->bytecount; in ixgbe_clean_xdp_tx_irq()
/linux-6.12.1/drivers/usb/core/
Dhcd.c1071 long usb_calc_bus_time (int speed, int is_input, int isoc, int bytecount) in usb_calc_bus_time() argument
1078 tmp = (67667L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time()
1081 tmp = (66700L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time()
1086 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time()
1089 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L; in usb_calc_bus_time()
1095 tmp = HS_NSECS_ISO (bytecount); in usb_calc_bus_time()
1097 tmp = HS_NSECS (bytecount); in usb_calc_bus_time()
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/
Dfbnic_txrx.c16 u32 bytecount; member
78 unsigned int bytecount = FBNIC_XMIT_CB(skb)->bytecount; in fbnic_tx_sent_queue() local
83 return __netdev_tx_sent_queue(dev_queue, bytecount, xmit_more); in fbnic_tx_sent_queue()
262 FBNIC_XMIT_CB(skb)->bytecount = skb->len; in fbnic_xmit_frame_ring()
355 total_bytes += FBNIC_XMIT_CB(skb)->bytecount; in fbnic_clean_twq0()
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c772 first->bytecount += (first->gso_segs - 1) * hdrlen; in fm10k_tso()
1006 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in fm10k_tx_map()
1079 first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN); in fm10k_xmit_frame_ring()
1213 total_bytes += tx_buffer->bytecount; in fm10k_clean_tx_irq()
Dfm10k.h65 unsigned int bytecount; member
/linux-6.12.1/tools/testing/selftests/x86/
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.12.1/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h195 unsigned int bytecount; member
Diavf_txrx.c246 total_bytes += tx_buf->bytecount; in iavf_clean_tx_irq()
1590 first->bytecount += (first->gso_segs - 1) * *hdr_len; in iavf_tso()
1998 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in iavf_tx_map()
2099 first->bytecount = skb->len; in iavf_xmit_frame_ring()
/linux-6.12.1/drivers/net/ethernet/intel/e1000/
De1000.h132 unsigned int bytecount; member
/linux-6.12.1/drivers/usb/gadget/udc/
Datmel_usba_udc.c487 unsigned int bytecount, nr_busy; in receive_data() local
503 bytecount = USBA_BFEXT(BYTE_COUNT, status); in receive_data()
507 if (req->req.actual + bytecount >= req->req.length) { in receive_data()
509 bytecount = req->req.length - req->req.actual; in receive_data()
513 ep->fifo, bytecount); in receive_data()
514 req->req.actual += bytecount; in receive_data()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h269 unsigned int bytecount; member
/linux-6.12.1/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h37 unsigned int bytecount; member
/linux-6.12.1/drivers/net/ethernet/intel/igc/
Digc_main.c1101 buffer->bytecount = skb->len; in igc_init_empty_frame()
1127 first->bytecount; in igc_init_tx_empty_descriptor()
1128 olinfo_status = first->bytecount << IGC_ADVTXD_PAYLEN_SHIFT; in igc_init_tx_empty_descriptor()
1396 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount); in igc_tx_map()
1532 first->bytecount += (first->gso_segs - 1) * *hdr_len; in igc_tso()
1632 first->bytecount = skb->len; in igc_xmit_frame_ring()
1638 if (tx_ring->max_sdu > 0 && first->bytecount > tx_ring->max_sdu) { in igc_xmit_frame_ring()
2377 head->bytecount = xdp_get_frame_len(xdpf); in igc_xdp_init_tx_descriptor()
2382 olinfo_status = head->bytecount << IGC_ADVTXD_PAYLEN_SHIFT; in igc_xdp_init_tx_descriptor()
2422 netdev_tx_sent_queue(txring_txq(ring), head->bytecount); in igc_xdp_init_tx_descriptor()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/e1000e/
De1000.h141 unsigned int bytecount; member

12