Home
last modified time | relevance | path

Searched refs:buffer (Results 10476 - 10500 of 14774) sorted by relevance

1...<<411412413414415416417418419420>>...591

/kernel/linux/linux-6.6/drivers/tty/
H A Dvcc.c35 /* This buffer is required to support the tty write_room interface
40 struct vio_vcc buffer; member
283 * GFP_ATOMIC flag to allocate buffer in vcc_rx_check()
401 pkt = &port->buffer; in vcc_tx_timer()
834 pkt = &port->buffer; in vcc_write()
855 /* Since we know we have enough room in VCC buffer for tosend in vcc_write()
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Drndis.c571 resp->RequestID = buf->RequestID; /* Still LE in msg buffer */ in rndis_init_response()
614 resp->RequestID = buf->RequestID; /* Still LE in msg buffer */ in rndis_query_response()
666 resp->RequestID = buf->RequestID; /* Still LE in msg buffer */ in rndis_set_response()
719 resp->RequestID = buf->RequestID; /* Still LE in msg buffer */ in rndis_keepalive_response()
1129 static ssize_t rndis_proc_write(struct file *file, const char __user *buffer, in rndis_proc_write() argument
1138 if (get_user(c, buffer)) in rndis_proc_write()
1168 buffer++; in rndis_proc_write()
/kernel/linux/linux-6.6/kernel/
H A Dkexec_core.c119 * The assembly stub in the control code buffer is passed a linked list
131 * - allocating a page table with the control code buffer identity
202 /* Ensure our buffer sizes are strictly less than in sanity_check_segment_list()
524 pr_warn("Could not allocate vmcoreinfo buffer\n"); in kimage_crash_copy_vmcoreinfo()
529 pr_warn("Could not vmap vmcoreinfo buffer\n"); in kimage_crash_copy_vmcoreinfo()
651 * error occurred much later after buffer allocation. in kimage_free()
949 void *buffer, size_t *lenp, loff_t *ppos) in kexec_limit_handler()
961 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in kexec_limit_handler()
982 return proc_dointvec(&tmp, write, buffer, lenp, ppos); in kexec_limit_handler()
948 kexec_limit_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) kexec_limit_handler() argument
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dhtc.c185 u8 *buffer, in ath11k_htc_process_trailer()
195 record = (struct ath11k_htc_record *)buffer; in ath11k_htc_process_trailer()
203 /* no room left in buffer for record */ in ath11k_htc_process_trailer()
235 buffer += sizeof(record->hdr) + record->hdr.len; in ath11k_htc_process_trailer()
678 /* we controlled the buffer creation, it's aligned */ in ath11k_htc_connect_service()
184 ath11k_htc_process_trailer(struct ath11k_htc *htc, u8 *buffer, int length, enum ath11k_htc_ep_id src_eid) ath11k_htc_process_trailer() argument
/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dnvme.h838 union nvme_result *result, void *buffer, unsigned bufflen,
842 unsigned int dword11, void *buffer, size_t buflen,
845 unsigned int dword11, void *buffer, size_t buflen,
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c57 asyh->olut.buffer, in nv50_head_flush_set_wndw()
277 asyh->olut.buffer = !asyh->olut.buffer; in nv50_head_atomic_check_lut()
H A Dwndw.c158 nv50_lut_load(&wndw->ilut, asyw->xlut.i.buffer, in nv50_wndw_flush_set()
410 asyw->xlut.i.buffer = !asyw->xlut.i.buffer; in nv50_wndw_atomic_check_lut()
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg.c214 * @reply: Pointer to buffer holding reply.
371 /* Receive buffer */ in vmw_recv_msg()
388 /* Ack buffer */ in vmw_recv_msg()
430 * @buffer: if NULL, *reply_len will contain reply size.
436 char *buffer, size_t *length) in vmw_host_get_guestinfo()
463 if (buffer && reply && reply_len > 0) { in vmw_host_get_guestinfo()
471 memcpy(buffer, reply + 2, reply_len); in vmw_host_get_guestinfo()
435 vmw_host_get_guestinfo(const char *guest_info_param, char *buffer, size_t *length) vmw_host_get_guestinfo() argument
/kernel/linux/linux-6.6/net/netfilter/
H A Dnft_exthdr.c172 unsigned int len, void *buffer, unsigned int *tcphdr_len) in nft_tcp_header_pointer()
179 tcph = skb_header_pointer(pkt->skb, nft_thoff(pkt), sizeof(*tcph), buffer); in nft_tcp_header_pointer()
187 return skb_header_pointer(pkt->skb, nft_thoff(pkt), *tcphdr_len, buffer); in nft_tcp_header_pointer()
171 nft_tcp_header_pointer(const struct nft_pktinfo *pkt, unsigned int len, void *buffer, unsigned int *tcphdr_len) nft_tcp_header_pointer() argument
/kernel/linux/linux-6.6/security/keys/encrypted-keys/
H A Dencrypted.c567 /* Throwaway buffer to hold the unused zero padding at the end */ in derived_key_decrypt()
933 static long encrypted_read(const struct key *key, char *buffer, in encrypted_read() argument
952 if (!buffer || buflen < asciiblob_len) in encrypted_read()
981 memcpy(buffer, ascii_buf, asciiblob_len); in encrypted_read()
/kernel/linux/linux-6.6/security/
H A Dcommoncap.c381 struct inode *inode, const char *name, void **buffer, in cap_inode_getsecurity()
445 /* use allocated v3 buffer */ in cap_inode_getsecurity()
449 *buffer = nscap; in cap_inode_getsecurity()
479 *buffer = cap; in cap_inode_getsecurity()
380 cap_inode_getsecurity(struct mnt_idmap *idmap, struct inode *inode, const char *name, void **buffer, bool alloc) cap_inode_getsecurity() argument
/kernel/linux/linux-6.6/mm/kfence/
H A Dcore.c84 static int param_get_sample_interval(char *buffer, const struct kernel_param *kp) in param_get_sample_interval() argument
87 return sprintf(buffer, "0\n"); in param_get_sample_interval()
89 return param_get_ulong(buffer, kp); in param_get_sample_interval()
1177 /* This is a redzone, report a buffer overflow. */ in kfence_handle_page_fault()
/test/xts/acts/distributeddatamgr/relationalStoretest/rdbnapitest/entry/src/main/cpp/napi/
H A Drdb_store_backup_test.cpp64 char *buffer = (char*)malloc((bufferSize) + 1); in RdbFilePath() local
65 napi_get_value_string_utf8(env, args[0], buffer, bufferSize+1, &bufferSize); in RdbFilePath()
68 sprintf(RDB_TEST_PATH, "%s/", buffer); in RdbFilePath()
/test/xts/acts/graphic/graphicnapidrawingtest/
H A DNativeDrawingMatrixTest.cpp749 * @tc.desc: test for Copies nine scalar values contained by Matrix into buffer.
757 float buffer[9]; in HWTEST_F() local
760 EXPECT_EQ(OH_Drawing_MatrixGetAll(matrix, buffer), OH_DRAWING_SUCCESS); in HWTEST_F()
762 EXPECT_TRUE(IsScalarAlmostEqual(buffer[i], emptyBuffer[i])); in HWTEST_F()
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest/src/
H A Dhdi_model_prepare_test.cpp681 // map memory to get output buffer in HWTEST_F()
685 auto buffer = (float*)memAddress; in HWTEST_F() local
687 std::vector<float> outputValue(buffer, buffer + ADDEND_DATA_SIZE); in HWTEST_F()
/third_party/ffmpeg/libavcodec/
H A Dh263dec.c219 const uint8_t *start = s->gb.buffer + get_bits_count(&s->gb) / 8; in decode_slice()
624 ret = avctx->hwaccel->start_frame(avctx, s->gb.buffer, in ff_h263_decode_frame()
625 s->gb.buffer_end - s->gb.buffer); in ff_h263_decode_frame()
H A Dshorten.c172 static void fix_bitshift(ShortenContext *s, int32_t *buffer) in fix_bitshift() argument
178 buffer[i] = 0; in fix_bitshift()
181 buffer[i] *= 1U << s->bitshift; in fix_bitshift()
534 /* allocate internal bitstream buffer */ in shorten_decode_frame()
542 av_log(avctx, AV_LOG_ERROR, "error allocating bitstream buffer\n"); in shorten_decode_frame()
549 /* append current packet data to bitstream buffer */ in shorten_decode_frame()
567 /* do not decode until buffer has at least max_framesize bytes or in shorten_decode_frame()
592 av_log(avctx, AV_LOG_ERROR, "error allocating bitstream buffer\n"); in shorten_decode_frame()
741 /* get output buffer */ in shorten_decode_frame()
H A Dvaapi_hevc.c118 av_unused const uint8_t *buffer, in vaapi_hevc_start_frame()
408 const uint8_t *buffer, in vaapi_hevc_decode_slice()
509 pic->last_buffer = buffer; in vaapi_hevc_decode_slice()
117 vaapi_hevc_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) vaapi_hevc_start_frame() argument
407 vaapi_hevc_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vaapi_hevc_decode_slice() argument
/third_party/ffmpeg/libavfilter/
H A Daf_afir.c203 seg->buffer = ff_get_audio_buffer(ctx->inputs[0], seg->part_size); in init_segment()
207 if (!seg->buffer || !seg->sumin || !seg->sumout || !seg->blockin || !seg->blockout || !seg->coeff || !seg->input || !seg->output) in init_segment()
238 av_frame_free(&seg->buffer); in uninit_segment()
/third_party/curl/lib/vtls/
H A Dwolfssl.c1130 static size_t wolfssl_version(char *buffer, size_t size) in wolfssl_version() argument
1133 return msnprintf(buffer, size, "wolfSSL/%s", wolfSSL_lib_version()); in wolfssl_version()
1135 return msnprintf(buffer, size, "wolfSSL/%s", WOLFSSL_VERSION); in wolfssl_version()
/third_party/backends/backend/
H A Dcardscan.c614 DBG(5, "load_calibration: not enough mem for buffer: %ld\n",(long)bytes); in load_calibration()
1037 DBG(5, "heat_lamp_gray: not enough mem for buffer: %lu\n", in heat_lamp_gray()
1099 DBG(5, "heat_lamp_color: not enough mem for buffer: %lu\n", in heat_lamp_color()
1179 /* have sent all of current buffer */ in sane_read()
1206 /* data in current buffer, send some of it */ in sane_read()
1212 memcpy(buf,s->buffer+s->bytes_tx,*len); in sane_read()
1237 DBG(5, "read_from_scanner_gray: not enough mem for buffer: %lu\n", in read_from_scanner_gray()
1259 /*memcpy(s->buffer,buf+HEADER_SIZE,s->gray_block_size);*/ in read_from_scanner_gray()
1261 /* reorder the gray data into the struct's buffer */ in read_from_scanner_gray()
1271 s->buffer[ in read_from_scanner_gray()
[all...]
H A Dcanon_pp-dev.c176 /* Read 6 byte buffer status block */
273 /* Buffer for buffer info block */ in sanei_canon_pp_init_scan()
296 /* Ask the scanner about the buffer */ in sanei_canon_pp_init_scan()
300 /* Read buffer information block */ in sanei_canon_pp_init_scan()
304 DBG(1, "init_scan: ** Warning: Checksum error reading buffer " in sanei_canon_pp_init_scan()
475 char buffer[10]; in sanei_canon_pp_load_weights() local
483 ret = safe_read(fd, buffer, strlen(header) + 1); in sanei_canon_pp_load_weights()
484 if ((ret < 0) || strcmp(buffer, header) != 0) in sanei_canon_pp_load_weights()
623 "input buffer\n"); in sanei_canon_pp_read_segment()
627 /* Allocate memory for input buffer */ in sanei_canon_pp_read_segment()
[all...]
/third_party/curl/lib/
H A Dftplistparser.c364 size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb, in Curl_ftp_parselist() argument
387 parser->os_type = ISDIGIT(buffer[0]) ? OS_TYPE_WIN_NT : OS_TYPE_UNIX; in Curl_ftp_parselist()
393 char c = buffer[i]; in Curl_ftp_parselist()
/third_party/FreeBSD/sys/dev/usb/input/
H A Duhid.c57 #define UHID_BSIZE 1024 /* bytes, buffer size */
175 void mouse_report_events(InputDevice *input_dev, void *buffer, int len) in mouse_report_events() argument
182 const char *buf = buffer; in mouse_report_events()
207 mouse_report_events(sc->input_dev, pc->buffer, actlen); in uhid_intr_read_callback()
459 /* dummy buffer */ in uhid_get_report()
/third_party/icu/tools/unicode/c/genprops/
H A Dnamespropsbuilder.cpp315 CharString buffer; in setProps() local
326 buffer.append(corr, limit-corr, errorCode); in setProps()
327 names[3]=buffer.data(); in setProps()

Completed in 39 milliseconds

1...<<411412413414415416417418419420>>...591