Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 5 of 5) sorted by relevance

/kernel/
Dmodule_signing.c111 size_t nbytes; in mod_extract_mpi_array() local
116 nbytes = ((const u8 *)data)[0] << 8 | ((const u8 *)data)[1]; in mod_extract_mpi_array()
119 if (len != nbytes) in mod_extract_mpi_array()
122 mpi = mpi_read_raw_data(data, nbytes); in mod_extract_mpi_array()
Dcgroup.c2302 size_t nbytes, loff_t *unused_ppos) in cgroup_write_X64() argument
2308 if (!nbytes) in cgroup_write_X64()
2310 if (nbytes >= sizeof(buffer)) in cgroup_write_X64()
2312 if (copy_from_user(buffer, userbuf, nbytes)) in cgroup_write_X64()
2315 buffer[nbytes] = 0; /* nul-terminate */ in cgroup_write_X64()
2328 retval = nbytes; in cgroup_write_X64()
2335 size_t nbytes, loff_t *unused_ppos) in cgroup_write_string() argument
2344 if (nbytes >= max_bytes) in cgroup_write_string()
2347 if (nbytes >= sizeof(local_buffer)) { in cgroup_write_string()
2348 buffer = kmalloc(nbytes + 1, GFP_KERNEL); in cgroup_write_string()
[all …]
Dres_counter.c145 const char __user *userbuf, size_t nbytes, loff_t *pos, in res_counter_read() argument
157 return simple_read_from_buffer((void __user *)userbuf, nbytes, in res_counter_read()
Dcpuset.c1665 size_t nbytes, loff_t *ppos) in cpuset_common_file_read() argument
1691 retval = simple_read_from_buffer(buf, nbytes, ppos, page, s - page); in cpuset_common_file_read()
/kernel/events/
Duprobes.c508 unsigned long nbytes, loff_t offset) in __copy_insn() argument
522 copy_from_page(page, offset, insn, nbytes); in __copy_insn()
531 unsigned long nbytes; in copy_insn() local
534 nbytes = PAGE_SIZE - (uprobe->offset & ~PAGE_MASK); in copy_insn()
544 if (nbytes < bytes) { in copy_insn()
545 int err = __copy_insn(mapping, filp, uprobe->arch.insn + nbytes, in copy_insn()
546 bytes - nbytes, uprobe->offset + nbytes); in copy_insn()
549 bytes = nbytes; in copy_insn()