/linux-master/arch/x86/um/ |
H A D | ldt.c | 16 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 D | ldt.c | 502 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 D | x25_facilities.c | 235 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 D | hcd_queue.c | 681 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 D | rmi_smbus.c | 80 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 D | BusLogic.h | 1222 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 D | mei_wdt.c | 112 * @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 D | hcd.h | 638 #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 D | ice_txrx_lib.c | 330 /* 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 D | ice_txrx.h | 176 unsigned int bytecount; member in struct:ice_tx_buf
|
H A D | ice_txrx.c | 257 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 D | broadsheetfb.c | 679 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 D | idpf_singleq_txrx.c | 289 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 D | ldt_gdt.c | 224 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 D | ixgbe_xsk.c | 418 tx_bi->bytecount = desc.len; 474 total_bytes += tx_bi->bytecount;
|
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 771 /* 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 D | fm10k.h | 65 unsigned int bytecount; member in struct:fm10k_tx_buffer
|
/linux-master/drivers/net/ethernet/intel/e1000/ |
H A D | e1000.h | 132 unsigned int bytecount; member in struct:e1000_tx_buffer
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_txrx.h | 266 unsigned int bytecount; member in struct:iavf_tx_buffer
|
H A D | iavf_txrx.c | 245 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 D | i40e_txrx.h | 269 unsigned int bytecount; member in struct:i40e_tx_buffer
|
/linux-master/drivers/usb/core/ |
H A D | hcd.c | 1063 * @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 D | atmel_usba_udc.c | 488 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 D | ixgbevf.h | 37 unsigned int bytecount; member in struct:ixgbevf_tx_buffer
|
/linux-master/fs/xfs/scrub/ |
H A D | trace.h | 916 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))
|