Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 13 of 13) sorted by relevance

/arch/mips/mm/
Dsc-debugfs.c35 ssize_t buf_size; in sc_prefetch_write() local
39 buf_size = min(count, sizeof(buf) - 1); in sc_prefetch_write()
40 if (copy_from_user(buf, user_buf, buf_size)) in sc_prefetch_write()
43 buf[buf_size] = '\0'; in sc_prefetch_write()
/arch/s390/include/asm/
Dpci_debug.h24 len -= pci_debug_err_id->buf_size; in zpci_err_hex()
25 addr += pci_debug_err_id->buf_size; in zpci_err_hex()
Ddebug.h41 int buf_size; member
99 int buf_size);
102 int buf_size, umode_t mode, uid_t uid,
/arch/alpha/include/asm/
Dconsole.h15 extern long callback_getenv(long id, const char *buf, unsigned long buf_size);
16 extern long callback_setenv(long id, const char *buf, unsigned long buf_size);
/arch/s390/kernel/
Ddebug.c77 int nr_areas, int buf_size, umode_t mode);
245 int buf_size, int level, int mode) in debug_info_alloc() argument
275 rc->buf_size = buf_size; in debug_info_alloc()
276 rc->entry_size = sizeof(debug_entry_t) + buf_size; in debug_info_alloc()
337 int buf_size, umode_t mode) in debug_info_create() argument
341 rc = debug_info_alloc(name, pages_per_area, nr_areas, buf_size, in debug_info_create()
385 in->nr_areas, in->buf_size, in->level, mode); in debug_info_copy()
695 int nr_areas, int buf_size, umode_t mode, in debug_register_mode() argument
709 rc = debug_info_create(name, pages_per_area, nr_areas, buf_size, mode); in debug_register_mode()
731 int nr_areas, int buf_size) in debug_register() argument
[all …]
/arch/powerpc/platforms/powernv/
Dopal-flash.c107 uint32_t buf_size; /* Image size */ member
138 __be32 size = cpu_to_be32(validate_flash_data.buf_size); in opal_flash_validate()
144 validate_flash_data.buf_size = be32_to_cpu(size); in opal_flash_validate()
174 if (args_buf->buf_size > (VALIDATE_BUF_SIZE - len)) { in validate_show()
178 memcpy(buf + len, args_buf->buf, args_buf->buf_size); in validate_show()
179 len += args_buf->buf_size; in validate_show()
216 args_buf->buf_size = VALIDATE_BUF_SIZE; in validate_store()
/arch/ia64/kernel/
Dperfmon_default_smpl.c56 if (arg->buf_size < PFM_DEFAULT_SMPL_MIN_BUF_SIZE) return -EINVAL; in default_validate()
58 DPRINT(("buf_size=%lu\n", arg->buf_size)); in default_validate()
71 *size = arg->buf_size; in default_get_size()
85 hdr->hdr_buf_size = arg->buf_size; in default_init()
Dunwind.c2314 sys_getunwind (void __user *buf, size_t buf_size) in sys_getunwind() argument
2316 if (buf && buf_size >= unw.gate_table_size) in sys_getunwind()
/arch/ia64/include/uapi/asm/
Dperfmon_default_smpl.h19 unsigned long buf_size; /* size of the buffer in bytes */ member
/arch/powerpc/platforms/ps3/
Dgelic_udbg.c51 __be32 buf_size; member
203 dbg.descr.buf_size = header_size + msgsize; in gelic_sendbuf()
/arch/x86/events/intel/
Dbts.c82 static size_t buf_size(struct page *page) in buf_size() function
128 buf->buf[nbuf].size = buf_size(page) - buf->buf[nbuf].displacement; in bts_buffer_setup_aux()
161 if (buf->end < phys->offset + buf_size(page)) in bts_config_buffer()
400 gap = buf_size(phys->page) - phys->displacement - phys->size + in bts_buffer_reset()
/arch/s390/hypfs/
Dhypfs_diag.c407 int rc, buf_size; in dbfs_d204_create() local
410 buf_size = PAGE_SIZE * (diag204_buf_pages + 1) + sizeof(d204->hdr); in dbfs_d204_create()
411 base = vzalloc(buf_size); in dbfs_d204_create()
/arch/powerpc/kernel/
Drtas_flash.c155 unsigned int buf_size; /* Size of image buf */ member
460 (u32) __pa(rtas_data_buf), args_buf->buf_size); in validate_flash()
550 args_buf->buf_size = VALIDATE_BUF_SIZE; in validate_flash_release()