Lines Matching refs:p

335 	void *p;  in __q6asm_memory_unmap()  local
343 p = kzalloc(pkt_size, GFP_KERNEL); in __q6asm_memory_unmap()
344 if (!p) in __q6asm_memory_unmap()
347 pkt = p; in __q6asm_memory_unmap()
348 mem_unmap = p + APR_HDR_SIZE; in __q6asm_memory_unmap()
431 void *p; in __q6asm_memory_map_regions() local
450 p = kzalloc(pkt_size, GFP_KERNEL); in __q6asm_memory_map_regions()
451 if (!p) in __q6asm_memory_map_regions()
454 pkt = p; in __q6asm_memory_map_regions()
455 cmd = p + APR_HDR_SIZE; in __q6asm_memory_map_regions()
456 mregions = p + APR_HDR_SIZE + sizeof(*cmd); in __q6asm_memory_map_regions()
932 void *p; in q6asm_open_write() local
937 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_open_write()
938 if (!p) in q6asm_open_write()
941 pkt = p; in q6asm_open_write()
942 open = p + APR_HDR_SIZE; in q6asm_open_write()
1015 void *p; in __q6asm_run() local
1018 p = kzalloc(pkt_size, GFP_ATOMIC); in __q6asm_run()
1019 if (!p) in __q6asm_run()
1022 pkt = p; in __q6asm_run()
1023 run = p + APR_HDR_SIZE; in __q6asm_run()
1100 void *p; in q6asm_media_format_block_multi_ch_pcm() local
1104 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_media_format_block_multi_ch_pcm()
1105 if (!p) in q6asm_media_format_block_multi_ch_pcm()
1108 pkt = p; in q6asm_media_format_block_multi_ch_pcm()
1109 fmt = p + APR_HDR_SIZE; in q6asm_media_format_block_multi_ch_pcm()
1146 void *p; in q6asm_stream_media_format_block_flac() local
1150 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_stream_media_format_block_flac()
1151 if (!p) in q6asm_stream_media_format_block_flac()
1154 pkt = p; in q6asm_stream_media_format_block_flac()
1155 fmt = p + APR_HDR_SIZE; in q6asm_stream_media_format_block_flac()
1183 void *p; in q6asm_stream_media_format_block_wma_v9() local
1187 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_stream_media_format_block_wma_v9()
1188 if (!p) in q6asm_stream_media_format_block_wma_v9()
1191 pkt = p; in q6asm_stream_media_format_block_wma_v9()
1192 fmt = p + APR_HDR_SIZE; in q6asm_stream_media_format_block_wma_v9()
1221 void *p; in q6asm_stream_media_format_block_wma_v10() local
1225 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_stream_media_format_block_wma_v10()
1226 if (!p) in q6asm_stream_media_format_block_wma_v10()
1229 pkt = p; in q6asm_stream_media_format_block_wma_v10()
1230 fmt = p + APR_HDR_SIZE; in q6asm_stream_media_format_block_wma_v10()
1260 void *p; in q6asm_stream_media_format_block_alac() local
1264 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_stream_media_format_block_alac()
1265 if (!p) in q6asm_stream_media_format_block_alac()
1268 pkt = p; in q6asm_stream_media_format_block_alac()
1269 fmt = p + APR_HDR_SIZE; in q6asm_stream_media_format_block_alac()
1302 void *p; in q6asm_stream_media_format_block_ape() local
1306 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_stream_media_format_block_ape()
1307 if (!p) in q6asm_stream_media_format_block_ape()
1310 pkt = p; in q6asm_stream_media_format_block_ape()
1311 fmt = p + APR_HDR_SIZE; in q6asm_stream_media_format_block_ape()
1342 void *p; in q6asm_stream_remove_silence() local
1346 p = kzalloc(pkt_size, GFP_ATOMIC); in q6asm_stream_remove_silence()
1347 if (!p) in q6asm_stream_remove_silence()
1350 pkt = p; in q6asm_stream_remove_silence()
1351 samples = p + APR_HDR_SIZE; in q6asm_stream_remove_silence()
1406 void *p; in q6asm_enc_cfg_blk_pcm_format_support() local
1409 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_enc_cfg_blk_pcm_format_support()
1410 if (!p) in q6asm_enc_cfg_blk_pcm_format_support()
1413 pkt = p; in q6asm_enc_cfg_blk_pcm_format_support()
1414 enc_cfg = p + APR_HDR_SIZE; in q6asm_enc_cfg_blk_pcm_format_support()
1460 void *p; in q6asm_read() local
1463 p = kzalloc(pkt_size, GFP_ATOMIC); in q6asm_read()
1464 if (!p) in q6asm_read()
1467 pkt = p; in q6asm_read()
1468 read = p + APR_HDR_SIZE; in q6asm_read()
1506 void *p; in __q6asm_open_read() local
1509 p = kzalloc(pkt_size, GFP_KERNEL); in __q6asm_open_read()
1510 if (!p) in __q6asm_open_read()
1513 pkt = p; in __q6asm_open_read()
1514 open = p + APR_HDR_SIZE; in __q6asm_open_read()
1582 void *p; in q6asm_write_async() local
1585 p = kzalloc(pkt_size, GFP_ATOMIC); in q6asm_write_async()
1586 if (!p) in q6asm_write_async()
1589 pkt = p; in q6asm_write_async()
1590 write = p + APR_HDR_SIZE; in q6asm_write_async()