Home
last modified time | relevance | path

Searched refs:nbyte (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/net/sched/
Dem_nbyte.c25 struct tcf_em_nbyte *nbyte = data; in em_nbyte_change() local
27 if (data_len < sizeof(*nbyte) || in em_nbyte_change()
28 data_len < (sizeof(*nbyte) + nbyte->len)) in em_nbyte_change()
31 em->datalen = sizeof(*nbyte) + nbyte->len; in em_nbyte_change()
42 struct nbyte_data *nbyte = (struct nbyte_data *) em->data; in em_nbyte_match() local
43 unsigned char *ptr = tcf_get_base_ptr(skb, nbyte->hdr.layer); in em_nbyte_match()
45 ptr += nbyte->hdr.off; in em_nbyte_match()
47 if (!tcf_valid_offset(skb, ptr, nbyte->hdr.len)) in em_nbyte_match()
50 return !memcmp(ptr, nbyte->pattern, nbyte->hdr.len); in em_nbyte_match()
/kernel/uniproton/src/fs/
Dfs.c47 ssize_t read(int fd, void *buf, size_t nbyte) in read() argument
49 ssize_t ret = OsVfsRead(fd, buf, nbyte); in read()
53 ssize_t write(int fd, const void *buf, size_t nbyte) in write() argument
55 ssize_t ret = OsVfsWrite(fd, buf, nbyte); in write()
187 ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset) in pread() argument
189 ssize_t ret = OsVfsPread(fd, buf, nbyte, offset); in pread()
193 ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset) in pwrite() argument
195 ssize_t ret = OsVfsPwrite(fd, buf, nbyte, offset); in pwrite()
/kernel/liteos_m/components/fs/fatfs/
Dfatfs.c441 ssize_t FatfsRead(struct File *file, char *buf, size_t nbyte) in FatfsRead() argument
457 res = f_read(fp, buf, nbyte, &lenRead); in FatfsRead()
466 ssize_t FatfsWrite(struct File *file, const char *buf, size_t nbyte) in FatfsWrite() argument
483 res = f_write(fp, buf, nbyte, &lenWrite); in FatfsWrite()
484 if ((res == FR_OK) && (lenWrite == 0) && (nbyte != 0) && (overFlow == FALSE)) { in FatfsWrite()
489 if ((res != FR_OK) || (nbyte != lenWrite)) { in FatfsWrite()
/kernel/linux/linux-5.10/fs/
Dbinfmt_elf.c136 unsigned long nbyte; in padzero() local
138 nbyte = ELF_PAGEOFFSET(elf_bss); in padzero()
139 if (nbyte) { in padzero()
140 nbyte = ELF_MIN_ALIGN - nbyte; in padzero()
141 if (clear_user((void __user *) elf_bss, nbyte)) in padzero()
1065 unsigned long nbyte; in load_elf_binary() local
1075 nbyte = ELF_PAGEOFFSET(elf_bss); in load_elf_binary()
1076 if (nbyte) { in load_elf_binary()
1077 nbyte = ELF_MIN_ALIGN - nbyte; in load_elf_binary()
1078 if (nbyte > elf_brk - elf_bss) in load_elf_binary()
[all …]
/kernel/linux/linux-5.10/drivers/firmware/tegra/
Dbpmp-debugfs.c43 static int seqbuf_read(struct seqbuf *seqbuf, void *buf, size_t nbyte) in seqbuf_read() argument
45 nbyte = min(nbyte, seqbuf_avail(seqbuf)); in seqbuf_read()
46 memcpy(buf, seqbuf->buf + seqbuf->pos, nbyte); in seqbuf_read()
47 seqbuf->pos += nbyte; in seqbuf_read()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/include/
Dbrcmu_utils.h47 #define MAXNBVAL(nbyte) MAXBITVAL((nbyte) * 8) argument
/kernel/liteos_m/components/fs/vfs/
Dvfs_fs.c594 if (nbyte == 0) { in read()
601 if (nbyte > 1024) { /* 1024, max random_size */ in read()
602 nbyte = 1024; /* hks_generate_random: random_size must <= 1024 */ in read()
604 struct hks_blob key = {HKS_BLOB_TYPE_RAW, (uint8_t *)buf, nbyte}; in read()
609 return (ssize_t)nbyte; in read()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dcyttsp4_core.c767 int nbyte; in cyttsp4_get_touch_axis() local
770 for (nbyte = 0, *axis = 0, next = 0; nbyte < size; nbyte++) { in cyttsp4_get_touch_axis()
/kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/
Dallegro-core.c668 u32 *dst, size_t nbyte) in allegro_mbox_read() argument
691 if (size > nbyte) in allegro_mbox_read()