Searched refs:KMALLOC (Results 1 - 25 of 74) sorted by relevance

123

/asus-wl-520gu-7.0.1.45/src/cfe/cfe/lib/
H A Dlib_string2.c61 buf = KMALLOC(lib_strlen(str)+1,0);
H A Dlib_arena.c108 an = (arena_node_t *) KMALLOC(sizeof(arena_node_t),sizeof(uint64_t));
201 newnode = (arena_node_t *) KMALLOC(sizeof(arena_node_t),sizeof(uint64_t));
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/include/
H A Dlib_malloc.h74 #define KMALLOC(size,align) kmalloc(&kmempool,(size),(align)) macro
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/main/
H A Dcfe_memfs.c124 fsctx = KMALLOC(sizeof(memory_fsctx_t), 0);
146 file = KMALLOC(sizeof(memory_file_t), 0);
H A Dcfe_zlibfs.c153 ptr = KMALLOC(items*size,0);
171 fsctx = KMALLOC(sizeof(zlibfs_fsctx_t),0);
256 file = KMALLOC(sizeof(zlibfs_file_t),0);
277 file->zlibfs_inbuf = KMALLOC(ZLIBFS_BUFSIZE,0);
278 file->zlibfs_outbuf = KMALLOC(ZLIBFS_BUFSIZE,0);
H A Dcfe_rawfs.c128 fsctx = KMALLOC(sizeof(raw_fsctx_t),0);
165 file = KMALLOC(sizeof(raw_file_t),0);
H A Dcfe_attach.c171 dev = (cfe_device_t *) KMALLOC(sizeof(cfe_device_t),0);
H A Denv_subr.c263 env = KMALLOC(sizeof(cfe_envvar_t) + namelen + 1 + strlen(value) + 1,0);
319 buffer = KMALLOC(size,0);
438 buffer = KMALLOC(size,0);
H A Dcfe_filesys.c150 ctx = (fileio_ctx_t *) KMALLOC(sizeof(fileio_ctx_t),0);
H A Dcfe_httpfs.c133 fsctx = KMALLOC(sizeof(http_fsctx_t),0);
164 file = KMALLOC(sizeof(http_file_t),0);
H A Dcfe_ldr_elf.c171 shtab = (Elf32_Shdr *) KMALLOC(size,0);
245 phtab = (Elf32_Phdr *) KMALLOC(nbytes,0);
/asus-wl-520gu-7.0.1.45/src/shared/
H A Dcfe_osl.c24 osh = (osl_t *)KMALLOC(sizeof(osl_t), 0);
48 if (!(buf = KMALLOC(LBUFSZ, 0)))
125 if (!(buf = KMALLOC(size, DMA_CONSISTENT_ALIGN)))
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/dev/
H A Ddev_atapi.c190 softc = (idecommon_t *) KMALLOC(sizeof(idecommon_t),0);
191 disp = (idecommon_dispatch_t *) KMALLOC(sizeof(idecommon_dispatch_t),0);
H A Ddev_bcm5821.c233 sc = (bcm5821_state_t *) KMALLOC(sizeof(bcm5821_state_t),0);
580 message = KMALLOC(msg_len, CACHE_LINE_SIZE);
584 digest = KMALLOC(16, CACHE_LINE_SIZE);
588 mcr = KMALLOC(MCR_WORDS(1)*4, CACHE_LINE_SIZE);
591 cmd = KMALLOC(64, CACHE_LINE_SIZE); /* Always allocate >= 64 bytes */
635 message = KMALLOC(msg_len, CACHE_LINE_SIZE);
638 mcr = KMALLOC(MCR_WORDS(1)*4, CACHE_LINE_SIZE);
643 cmd = KMALLOC(TLS_HMAC_CMD_WORDS*4, CACHE_LINE_SIZE);
666 hash = KMALLOC(5*4, CACHE_LINE_SIZE);
772 input = KMALLOC(input_siz
[all...]
H A Ddev_ide_pci.c296 softc = (idecommon_t *) KMALLOC(sizeof(idecommon_t),0);
297 disp = (idecommon_dispatch_t *) KMALLOC(sizeof(idecommon_dispatch_t),0);
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/common/src/
H A Dmips_arena.c160 pte = KMALLOC(1024,1024);
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/usb/
H A Dusbd.c105 pipe = KMALLOC(sizeof(usbpipe_t),0);
266 dev = KMALLOC(sizeof(usbdev_t),0);
323 ur = KMALLOC(sizeof(usbreq_t),0);
684 requestbuf = KMALLOC(32,0);
738 req = KMALLOC(32,0);
741 databuf = KMALLOC(length,0);
862 respbuf = KMALLOC(maxlen*2+2,0);
935 respbuf = KMALLOC(64,0);
963 respbuf = KMALLOC(maxlen,0);
1091 buf = KMALLOC(le
[all...]
H A Dusbserial.c228 bptr = KMALLOC(len,0);
364 softc = KMALLOC(sizeof(usbserial_softc_t),0);
411 softc->user_devinbuf = KMALLOC(softc->user_devinbufsize,0);
429 softc->user_intbuf = KMALLOC(32,0);
515 softc = (usb_uart_t *) KMALLOC(sizeof(usb_uart_t),0);
H A Dusbmass.c292 cbwcsw = KMALLOC(64,32);
293 sector = KMALLOC(64,32);
390 cbwcsw = KMALLOC(64,32);
502 cbwcsw = KMALLOC(64,32);
594 cbwcsw = KMALLOC(64,32);
595 sector = KMALLOC(64,32);
711 softc = KMALLOC(sizeof(usbmass_softc_t),0);
861 softc = (usbdisk_t *) KMALLOC(sizeof(usbdisk_t),0);
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/net/
H A Dnet_ether.c620 eth = KMALLOC(sizeof(ether_info_t),0);
639 eth->eth_ports = KMALLOC(ETH_MAX_PORTS*sizeof(ether_port_t),0);
652 eth->eth_bufpool = (ebuf_t *) KMALLOC(sizeof(ebuf_t)*ETH_MAX_BUFFERS,0);
H A Dnet_tcpbuf.c116 buf->tmb_buf = KMALLOC(size,0);
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/board/bcm947xx/src/
H A Dui_bcm947xx.c128 if (!(buf = KMALLOC(NVRAM_SPACE, 0)))
136 if (!(buf = KMALLOC(NVRAM_SPACE, 0)))
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/cpu/sb1250/src/
H A Ddev_sb1250_pcmcia.c356 softc = (idecommon_t *) KMALLOC(sizeof(idecommon_t),0);
357 disp = (idecommon_dispatch_t *) KMALLOC(sizeof(idecommon_dispatch_t),0);
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/ui/
H A Dui_command.c349 cmd = KMALLOC(sizeof(cmdtab_t)+strlen(&(t->token))+1,0);
674 cmd = (ui_command_t *) KMALLOC(sizeof(ui_command_t),0);
724 ui_token_t *t = (ui_token_t *) KMALLOC(sizeof(ui_token_t) + len,0);
869 dest = KMALLOC(maxlen+1,0);
H A Dui_tcpcmds.c373 bigbuf = KMALLOC(4096,0);
531 bigbuf = KMALLOC(4096,0);
702 bigbuf = KMALLOC(buflen,0);

Completed in 217 milliseconds

123