Searched refs:bytecount (Results 1 - 25 of 42) sorted by relevance

12

/linux-master/arch/x86/um/
H A Dldt.c16 static inline int modify_ldt (int func, void *ptr, unsigned long bytecount) argument
18 return syscall(__NR_modify_ldt, func, ptr, bytecount);
56 static int read_ldt(void __user * ptr, unsigned long bytecount) argument
64 if (bytecount > LDT_ENTRY_SIZE*LDT_ENTRIES)
65 bytecount = LDT_ENTRY_SIZE*LDT_ENTRIES;
66 err = bytecount;
71 if (size > bytecount)
72 size = bytecount;
75 bytecount -= size;
79 for (i=0; i<ldt->entry_count/LDT_ENTRIES_PER_PAGE && bytecount;
104 read_default_ldt(void __user * ptr, unsigned long bytecount) argument
123 write_ldt(void __user * ptr, unsigned long bytecount, int func) argument
209 do_modify_ldt_skas(int func, void __user *ptr, unsigned long bytecount) argument
[all...]
/linux-master/arch/x86/kernel/
H A Dldt.c502 static int read_ldt(void __user *ptr, unsigned long bytecount) argument
515 if (bytecount > LDT_ENTRY_SIZE * LDT_ENTRIES)
516 bytecount = LDT_ENTRY_SIZE * LDT_ENTRIES;
519 if (entries_size > bytecount)
520 entries_size = bytecount;
527 if (entries_size != bytecount) {
528 /* Zero-fill the rest and pretend we read bytecount bytes. */
529 if (clear_user(ptr + entries_size, bytecount - entries_size)) {
534 retval = bytecount;
541 static int read_default_ldt(void __user *ptr, unsigned long bytecount) argument
578 write_ldt(void __user *ptr, unsigned long bytecount, int oldmode) argument
[all...]
/linux-master/net/x25/
H A Dx25_facilities.c235 unsigned int bytecount = (dte_facs->calling_len + 1) >> 1; local
237 *p++ = 1 + bytecount;
239 memcpy(p, dte_facs->calling_ae, bytecount);
240 p += bytecount;
244 unsigned int bytecount = (dte_facs->called_len % 2) ? local
248 *p++ = 1 + bytecount;
250 memcpy(p, dte_facs->called_ae, bytecount);
251 p+=bytecount;
/linux-master/drivers/usb/dwc2/
H A Dhcd_queue.c681 int bytecount = qh->maxp_mult * qh->maxp; local
806 if (first_data_bytes > bytecount)
807 first_data_bytes = bytecount;
808 other_data_bytes = bytecount - first_data_bytes;
826 (first_data_bytes != min_t(int, 188, bytecount))) {
829 qh, first_data_bytes, bytecount);
857 middle_count = bytecount;
858 end_count = bytecount;
891 middle_count = min_t(int, 188, bytecount);
1492 int bytecount local
[all...]
/linux-master/drivers/input/rmi4/
H A Drmi_smbus.c80 u16 rmiaddr, int bytecount, bool isread, u8 *commandcode)
95 if (entry->readcount == bytecount)
111 new_map.readcount = bytecount;
79 rmi_smb_get_command_code(struct rmi_transport_dev *xport, u16 rmiaddr, int bytecount, bool isread, u8 *commandcode) argument
/linux-master/drivers/scsi/
H A DBusLogic.h1222 static inline void blogic_addcount(struct blogic_byte_count *bytecount, argument
1225 bytecount->units += amount;
1226 if (bytecount->units > 999999999) {
1227 bytecount->units -= 1000000000;
1228 bytecount->billions++;
/linux-master/drivers/watchdog/
H A Dmei_wdt.c112 * @bytecount: Number of bytes in the message beyond this byte
118 u8 bytecount; member in struct:mei_mc_hdr
174 req.hdr.bytecount = req_len - offsetof(struct mei_mc_hdr, subcommand);
202 req.hdr.bytecount = req_len - offsetof(struct mei_mc_hdr, subcommand);
/linux-master/include/linux/usb/
H A Dhcd.h638 #define BitTime(bytecount) (7 * 8 * bytecount / 6) /* with integer truncation */
640 * of (7/6 * 8 * bytecount) = 9.33 * bytecount */
641 /* bytecount = data payload byte count */
673 int isoc, int bytecount);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_txrx_lib.c330 /* bytecount holds size of head + frags */
331 total_bytes += tx_buf->bytecount;
441 /* store info about bytecount and frag count in first desc */
442 tx_head->bytecount = xdp_get_buff_len(xdp);
H A Dice_txrx.h176 unsigned int bytecount; member in struct:ice_tx_buf
H A Dice_txrx.c257 total_bytes += tx_buf->bytecount;
1761 kick = __netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount,
2111 /* update gso_segs and bytecount */
2113 first->bytecount += (first->gso_segs - 1) * off->header_len;
2375 first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN);
/linux-master/drivers/video/fbdev/
H A Dbroadsheetfb.c679 const u8 *wfm, int bytecount, int flash_type)
698 while (bytecount) {
701 writecount = min(bytecount, maxlen);
709 bytecount -= writecount;
678 broadsheet_write_spiflash(struct broadsheetfb_par *par, u32 wfm_addr, const u8 *wfm, int bytecount, int flash_type) argument
/linux-master/drivers/net/ethernet/intel/idpf/
H A Didpf_singleq_txrx.c289 netdev_tx_sent_queue(nq, first->bytecount);
398 first->bytecount = skb->len + ((first->gso_segs - 1) * offload.tso_hdr_len);
400 first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN);
497 total_bytes += tx_buf->bytecount;
/linux-master/tools/testing/selftests/x86/
H A Dldt_gdt.c224 unsigned long bytecount)
226 int ret = syscall(SYS_modify_ldt, 0x11, ptr, bytecount);
223 safe_modify_ldt(int func, struct user_desc *ptr, unsigned long bytecount) argument
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_xsk.c418 tx_bi->bytecount = desc.len;
474 total_bytes += tx_bi->bytecount;
/linux-master/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c771 /* update gso size and bytecount with header size */
773 first->bytecount += (first->gso_segs - 1) * hdrlen;
1006 /* record bytecount for BQL */
1007 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount);
1080 first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN);
1214 total_bytes += tx_buffer->bytecount;
H A Dfm10k.h65 unsigned int bytecount; member in struct:fm10k_tx_buffer
/linux-master/drivers/net/ethernet/intel/e1000/
H A De1000.h132 unsigned int bytecount; member in struct:e1000_tx_buffer
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.h266 unsigned int bytecount; member in struct:iavf_tx_buffer
H A Diavf_txrx.c245 total_bytes += tx_buf->bytecount;
1947 /* update GSO size and bytecount with header size */
1949 first->bytecount += (first->gso_segs - 1) * *hdr_len;
2357 netdev_tx_sent_queue(txring_txq(tx_ring), first->bytecount);
2458 first->bytecount = skb->len;
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.h269 unsigned int bytecount; member in struct:i40e_tx_buffer
/linux-master/drivers/usb/core/
H A Dhcd.c1063 * @bytecount: how many bytes in the transaction.
1071 long usb_calc_bus_time (int speed, int is_input, int isoc, int bytecount) argument
1078 tmp = (67667L * (31L + 10L * BitTime (bytecount))) / 1000L;
1081 tmp = (66700L * (31L + 10L * BitTime (bytecount))) / 1000L;
1086 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L;
1089 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L;
1095 tmp = HS_NSECS_ISO (bytecount);
1097 tmp = HS_NSECS (bytecount);
/linux-master/drivers/usb/gadget/udc/
H A Datmel_usba_udc.c488 unsigned int bytecount, nr_busy; local
504 bytecount = USBA_BFEXT(BYTE_COUNT, status);
508 if (req->req.actual + bytecount >= req->req.length) {
510 bytecount = req->req.length - req->req.actual;
514 ep->fifo, bytecount);
515 req->req.actual += bytecount;
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf.h37 unsigned int bytecount; member in struct:ixgbevf_tx_buffer
/linux-master/fs/xfs/scrub/
H A Dtrace.h916 TP_PROTO(struct xfile *xf, loff_t pos, unsigned long long bytecount),
917 TP_ARGS(xf, pos, bytecount),
923 __field(unsigned long long, bytecount)
932 __entry->bytecount = bytecount;
934 TP_printk("xfino 0x%lx mem_bytes 0x%llx pos 0x%llx bytecount 0x%llx isize 0x%llx",
938 __entry->bytecount,
943 TP_PROTO(struct xfile *xf, loff_t pos, unsigned long long bytecount), \
944 TP_ARGS(xf, pos, bytecount))

Completed in 448 milliseconds

12