Home
last modified time | relevance | path

Searched refs:size (Results 26701 - 26725 of 46360) sorted by relevance

1...<<1061106210631064106510661067106810691070>>...1855

/kernel/linux/linux-6.6/tools/net/ynl/lib/
H A Dynl.py154 offset += format.size
592 size = 0
595 size += format.size
596 return size
607 offset += format.size
/kernel/linux/linux-6.6/sound/soc/sprd/
H A Dsprd-mcdt.c559 * @size: data size
569 int sprd_mcdt_chan_write(struct sprd_mcdt_chan *chan, char *tx_buf, u32 size) in sprd_mcdt_chan_write() argument
573 int avail, i = 0, words = size / 4; in sprd_mcdt_chan_write()
592 if (size > avail) { in sprd_mcdt_chan_write()
594 "Data size is larger than the available fifo size\n"); in sprd_mcdt_chan_write()
611 * @size: data size
618 * Returns data size o
620 sprd_mcdt_chan_read(struct sprd_mcdt_chan *chan, char *rx_buf, u32 size) sprd_mcdt_chan_read() argument
[all...]
/kernel/linux/linux-6.6/security/tomoyo/
H A Dcommon.h46 * large (e.g. 64k) hash size. 256 will be sufficient.
654 u32 size; /* Memory size allocated for this entry. */ member
1001 int size);
1004 int tomoyo_update_domain(struct tomoyo_acl_info *new_entry, const int size,
1012 int tomoyo_update_policy(struct tomoyo_acl_head *new_entry, const int size,
1041 void *tomoyo_commit_ok(void *data, const unsigned int size);
1056 void tomoyo_print_ip(char *buf, const unsigned int size,
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/
H A Dperf-hwbreak.c62 attr->size = sizeof(struct perf_event_attr); in perf_event_attr_set()
150 size_t size; in perf_systemwide_event_open() local
163 size = CPU_ALLOC_SIZE(ncpus); in perf_systemwide_event_open()
170 CPU_ZERO_S(size, mask); in perf_systemwide_event_open()
172 if (sched_getaffinity(0, size, mask)) { in perf_systemwide_event_open()
179 if (!CPU_ISSET_S(cpu, size, mask)) in perf_systemwide_event_open()
/kernel/linux/linux-6.6/sound/isa/ad1816a/
H A Dad1816a_lib.c215 unsigned int size, rate; in snd_ad1816a_playback_prepare() local
219 chip->p_dma_size = size = snd_pcm_lib_buffer_bytes(substream); in snd_ad1816a_playback_prepare()
223 snd_dma_program(chip->dma1, runtime->dma_addr, size, in snd_ad1816a_playback_prepare()
247 unsigned int size, rate; in snd_ad1816a_capture_prepare() local
251 chip->c_dma_size = size = snd_pcm_lib_buffer_bytes(substream); in snd_ad1816a_capture_prepare()
255 snd_dma_program(chip->dma2, runtime->dma_addr, size, in snd_ad1816a_capture_prepare()
/kernel/linux/linux-6.6/sound/isa/sb/
H A Dsb16_main.c241 unsigned int size, count, dma; in snd_sb16_playback_prepare() local
251 size = chip->p_dma_size = snd_pcm_lib_buffer_bytes(substream); in snd_sb16_playback_prepare()
253 snd_dma_program(dma, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT); in snd_sb16_playback_prepare()
311 unsigned int size, count, dma; in snd_sb16_capture_prepare() local
320 size = chip->c_dma_size = snd_pcm_lib_buffer_bytes(substream); in snd_sb16_capture_prepare()
322 snd_dma_program(dma, runtime->dma_addr, size, DMA_MODE_READ | DMA_AUTOINIT); in snd_sb16_capture_prepare()
/kernel/linux/linux-6.6/sound/pci/emu10k1/
H A Dio.c47 unsigned char size, offset; in snd_emu10k1_ptr_read() local
49 size = (reg >> 24) & 0x3f; in snd_emu10k1_ptr_read()
51 mask = (1 << size) - 1; in snd_emu10k1_ptr_read()
72 unsigned char size, offset; in snd_emu10k1_ptr_write() local
74 size = (reg >> 24) & 0x3f; in snd_emu10k1_ptr_write()
76 mask = (1 << size) - 1; in snd_emu10k1_ptr_write()
/kernel/linux/linux-6.6/sound/pci/echoaudio/
H A Dechoaudio_dsp.c184 u32 i, size; in load_asic_generic() local
194 size = fw->size; in load_asic_generic()
201 if (write_dsp(chip, size) < 0) in load_asic_generic()
204 for (i = 0; i < size; i++) { in load_asic_generic()
257 into sections. The first word of each section is the size in words, in install_resident_loader()
270 /* Skip the header section; the first word in the array is the size in install_resident_loader()
275 /* Skip the section size, LRS block type, and DSP memory type */ in install_resident_loader()
1135 list[head].size = cpu_to_le32(length); in sglist_add_mapping()
/kernel/linux/linux-6.6/drivers/scsi/pm8001/
H A Dpm8001_ctl.c502 * event_log_size_show - event log size
672 {"Image file size Error", FAIL_FILE_SIZE},
686 if (pm8001_ha->fw_image->size > 4096) { in pm8001_set_nvmd()
698 pm8001_ha->fw_image->size); in pm8001_set_nvmd()
699 payload->wr_length = pm8001_ha->fw_image->size; in pm8001_set_nvmd()
730 if (pm8001_ha->fw_image->size < 28) { in pm8001_update_flash()
740 while (sizeRead < pm8001_ha->fw_image->size) { in pm8001_update_flash()
753 fwControl->size = partitionSize + HEADER_LEN;/* IN */ in pm8001_update_flash()
758 * for the last chunk of data in case file size is in pm8001_update_flash()
/kernel/linux/linux-6.6/lib/
H A Dtest_kmod.c864 const char *buf, size_t size, in test_dev_config_update_uint_sync()
893 /* Always return full write size even if we didn't consume all */ in test_dev_config_update_uint_sync()
894 return size; in test_dev_config_update_uint_sync()
898 const char *buf, size_t size, in test_dev_config_update_uint_range()
917 /* Always return full write size even if we didn't consume all */ in test_dev_config_update_uint_range()
918 return size; in test_dev_config_update_uint_range()
922 const char *buf, size_t size, in test_dev_config_update_int()
935 /* Always return full write size even if we didn't consume all */ in test_dev_config_update_int()
936 return size; in test_dev_config_update_int()
863 test_dev_config_update_uint_sync(struct kmod_test_device *test_dev, const char *buf, size_t size, unsigned int *config, int (*test_sync)(struct kmod_test_device *test_dev)) test_dev_config_update_uint_sync() argument
897 test_dev_config_update_uint_range(struct kmod_test_device *test_dev, const char *buf, size_t size, unsigned int *config, unsigned int min, unsigned int max) test_dev_config_update_uint_range() argument
921 test_dev_config_update_int(struct kmod_test_device *test_dev, const char *buf, size_t size, int *config) test_dev_config_update_int() argument
H A Dtest_rhashtable.c39 MODULE_PARM_DESC(max_size, "Maximum table size (default: calculated)");
45 static int size = 8; variable
46 module_param(size, int, 0);
47 MODULE_PARM_DESC(size, "Initial size hint of table (default: 8)");
481 for (i = 0; i < tbl->size; i++) { in print_ht()
696 test_rht_params.nelem_hint = size; in test_rht_init()
704 size, max_size, shrinking); in test_rht_init()
/kernel/linux/linux-6.6/net/core/
H A Dbpf_sk_storage.c276 void *owner, u32 size) in bpf_sk_storage_charge()
282 if (size <= optmem_max && in bpf_sk_storage_charge()
283 atomic_read(&sk->sk_omem_alloc) + size < optmem_max) { in bpf_sk_storage_charge()
284 atomic_add(size, &sk->sk_omem_alloc); in bpf_sk_storage_charge()
292 void *owner, u32 size) in bpf_sk_storage_uncharge()
296 atomic_sub(size, &sk->sk_omem_alloc); in bpf_sk_storage_uncharge()
275 bpf_sk_storage_charge(struct bpf_local_storage_map *smap, void *owner, u32 size) bpf_sk_storage_charge() argument
291 bpf_sk_storage_uncharge(struct bpf_local_storage_map *smap, void *owner, u32 size) bpf_sk_storage_uncharge() argument
/test/xts/acts/multimedia/avsession/avsession_ndk_standard/avsession_ndk_stage/entry/src/main/cpp/
H A DAvsessionTest.cpp573 if (params.size() != avSessionTestAllParaCnt) { return AV_SESSION_ERR_INVALID_PARA; } in TestAVSessionTestAll()
663 if (params.size() != 1) {return AV_SESSION_ERR_INVALID_PARA;} in TestAVSessionSetPlaybackState()
684 if (params.size() != 1) {return AV_SESSION_ERR_INVALID_PARA;} in TestAVSessionSetFavorite()
704 if (params.size() != 1) {return AV_SESSION_ERR_INVALID_PARA;} in TestAVSessionSetLoopMode()
726 if (params.size() != kExpectedParamCount) {return AV_SESSION_ERR_INVALID_PARA;} in TestAVSessionSetPlaybackPosition()
759 if (params.size() != avSessionSetAvMetaDataParaCnt) { return AV_SESSION_ERR_INVALID_PARA; } in TestAVSessionSetAVMetaData()
/test/xts/hats/hdf/wlan/hdi_service/
H A Dwlan_hdi_direct_test.cpp264 wifiInfo.size = WLAN_FREQ_MAX_NUM; in HWTEST_F()
411 uint32_t size = 2; in HWTEST_F() local
415 int32_t rc = g_wlanObj->SetCountryCode(g_wlanObj, nullptr, codeDigital, size); in HWTEST_F()
418 rc = g_wlanObj->SetCountryCode(g_wlanObj, &ifeature, code, size); in HWTEST_F()
421 rc = g_wlanObj->SetCountryCode(g_wlanObj, &ifeature, nullptr, size); in HWTEST_F()
423 rc = g_wlanObj->SetCountryCode(g_wlanObj, &ifeature, code, size); in HWTEST_F()
/third_party/ffmpeg/libavcodec/
H A Dh264_ps.c251 static int decode_scaling_list(GetBitContext *gb, uint8_t *factors, int size, in decode_scaling_list() argument
256 const uint8_t *scan = size == 16 ? ff_zigzag_scan : ff_zigzag_direct; in decode_scaling_list()
258 memcpy(factors, fallback_list, size * sizeof(uint8_t)); in decode_scaling_list()
260 for (i = 0; i < size; i++) { in decode_scaling_list()
270 memcpy(factors, jvt_list, size * sizeof(uint8_t)); in decode_scaling_list()
629 !memcmp(ps->sps_list[sps_id]->data, sps_buf->data, sps_buf->size)) { in ff_h264_decode_seq_parameter_set()
H A Ddxva2_av1.c272 av_unused uint32_t size) in dxva2_av1_start_frame()
293 uint32_t size) in dxva2_av1_decode_slice()
310 ctx_pic->bitstream_size = size; in dxva2_av1_decode_slice()
325 ctx_pic->bitstream_size + size); in dxva2_av1_decode_slice()
331 memcpy(ctx_pic->bitstream + ctx_pic->bitstream_size, buffer, size); in dxva2_av1_decode_slice()
341 ctx_pic->bitstream_size += size; in dxva2_av1_decode_slice()
382 av_log(avctx, AV_LOG_ERROR, "Bitstream size exceeds hardware buffer"); in commit_bitstream_and_slice_buffer()
270 dxva2_av1_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) dxva2_av1_start_frame() argument
291 dxva2_av1_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) dxva2_av1_decode_slice() argument
H A Dlibopenjpegenc.c73 int remaining = packet->size - writer->pos; in stream_write()
76 int max_growth = INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE - packet->size; in stream_write()
101 int remaining = packet->size - writer->pos; in stream_skip()
104 int max_growth = INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE - packet->size; in stream_skip()
124 if (nb_bytes > packet->size) { in stream_seek()
126 av_grow_packet(packet, (int)nb_bytes - packet->size)) { in stream_seek()
150 /* Codeblock size= 32 * 32 */ in cinema_parameters()
H A Dtruemotion1.c51 int size; member
317 uint8_t header_buffer[128] = { 0 }; /* logical maximum size of the header */ in truemotion1_decode_header()
323 av_log(s->avctx, AV_LOG_ERROR, "invalid header size (%d)\n", s->buf[0]); in truemotion1_decode_header()
327 if (header.header_size + 1 > s->size) { in truemotion1_decode_header()
448 if (s->avctx->width * s->avctx->height / 2048 + header.header_size > s->size) in truemotion1_decode_header()
455 s->index_stream_size = s->size - (s->index_stream - s->buf); in truemotion1_decode_header()
876 int ret, buf_size = avpkt->size; in truemotion1_decode_frame()
880 s->size = buf_size; in truemotion1_decode_frame()
/third_party/backends/backend/
H A Dcardscan.c544 s->opt[i].size = sizeof (SANE_Word); in attach_one()
797 opt->size = maxStringSize (opt->constraint.string_list); in sane_get_option_descriptor()
815 * value (determined by member size in the corresponding option
1517 /* sanei_usb overwrites the transfer size, so make some local copies */ in do_cmd()
1554 DBG(5,"cmd: wrong size %ld/%ld\n", (long)loc_cmdLen, (long)cmdLen); in do_cmd()
1578 DBG(5,"out: wrong size %ld/%ld\n", (long)loc_outLen, (long)outLen); in do_cmd()
1620 * Convenience method to determine longest string size in a list.
1625 size_t size, max_size = 0; in maxStringSize() local
1629 size = strlen (strings[i]) + 1; in maxStringSize()
1630 if (size > max_siz in maxStringSize()
[all...]
H A Dcoolscan-scsidef.h114 #undef WRITE_BUFFER /* correct size write_buffer for scanner */
148 int size;
591 /*#define set_WDB_length(length) (window_descriptor_block.size = (length)) */
592 #define WPDB_OFF(b) (b + set_window.size)
593 #define WDB_OFF(b, n) (b + set_window.size + \
594 window_parameter_data_block.size + \
595 ( window_descriptor_block.size * (n - 1) ) )
596 #define set_WPDB_wdbnum(sb,n) set_WPDB_wdblen(sb,window_descriptor_block.size*n)
H A Dsm3840_lib.c62 unsigned char *bytes, int size, int timeout) in my_usb_bulk_write()
69 my_size = size; in my_usb_bulk_write()
79 unsigned char *bytes, int size, int timeout) in my_usb_bulk_read()
86 my_size = size; in my_usb_bulk_read()
97 unsigned char *bytes, int size, int timeout) in my_usb_control_msg()
104 (SANE_Int) index, (SANE_Int) size, in my_usb_control_msg()
61 my_usb_bulk_write(p_usb_dev_handle dev, int ep, unsigned char *bytes, int size, int timeout) my_usb_bulk_write() argument
78 my_usb_bulk_read(p_usb_dev_handle dev, int ep, unsigned char *bytes, int size, int timeout) my_usb_bulk_read() argument
95 my_usb_control_msg(p_usb_dev_handle dev, int requesttype, int request, int value, int index, unsigned char *bytes, int size, int timeout) my_usb_control_msg() argument
H A Dpint.c85 size_t size, max_size = 0; in max_string_size() local
90 size = strlen (strings[i]) + 1; in max_string_size()
91 if (size > max_size) in max_string_size()
92 max_size = size; in max_string_size()
381 s->opt[i].size = sizeof (SANE_Word); in init_options()
403 s->opt[OPT_MODE].size = max_string_size (mode_list); in init_options()
896 /* inquire resulting size of image after setting it up */ in sane_get_parameters()
/third_party/alsa-utils/seq/aplaymidi/
H A Darecordmidi.c44 int size; /* size of entire data */ member
45 int cur_buf_size; /* size of cur_buf */
404 track->size++; in add_byte()
651 fputc((tracks[i].size >> 24) & 0xff, file); in write_file()
652 fputc((tracks[i].size >> 16) & 0xff, file); in write_file()
653 fputc((tracks[i].size >> 8) & 0xff, file); in write_file()
654 fputc(tracks[i].size & 0xff, file); in write_file()
/third_party/alsa-utils/speaker-test/
H A Dspeaker-test.c509 printf(_("Buffer size range from %lu to %lu\n"),buffer_size_min, buffer_size_max); in set_hwparams()
510 printf(_("Period size range from %lu to %lu\n"),period_size_min, period_size_max); in set_hwparams()
537 printf(_("Using max buffer size %lu\n"), buffer_size); in set_hwparams()
540 fprintf(stderr, _("Unable to set buffer size %lu for playback: %s\n"), in set_hwparams()
809 int size; in read_wav() local
834 for (size = 0; size < bufsize; size += 2) { in read_wav()
839 return size; in read_wav()
846 return size; in read_wav()
[all...]
/third_party/alsa-lib/src/ucm/
H A Ducm_subs.c711 size_t size, nsize, idsize, rvalsize, dpos = 0; in uc_mgr_get_substituted_value() local
721 size = strlen(value) + 1; in uc_mgr_get_substituted_value()
722 r = malloc(size); in uc_mgr_get_substituted_value()
814 nsize = size + rvalsize - idsize; in uc_mgr_get_substituted_value()
815 if (nsize > size) { in uc_mgr_get_substituted_value()
822 size = nsize; in uc_mgr_get_substituted_value()

Completed in 52 milliseconds

1...<<1061106210631064106510661067106810691070>>...1855