Home
last modified time | relevance | path

Searched refs:str_len (Results 51 - 75 of 123) sorted by relevance

12345

/kernel/linux/linux-5.10/security/selinux/ss/
H A Dsidtab.c554 const char *str, u32 str_len) in sidtab_sid2str_put()
573 cache = kmalloc(sizeof(struct sidtab_str_cache) + str_len, GFP_ATOMIC); in sidtab_sid2str_put()
587 cache->len = str_len; in sidtab_sid2str_put()
588 memcpy(cache->str, str, str_len); in sidtab_sid2str_put()
553 sidtab_sid2str_put(struct sidtab *s, struct sidtab_entry *entry, const char *str, u32 str_len) sidtab_sid2str_put() argument
/kernel/linux/linux-6.6/security/selinux/ss/
H A Dsidtab.c559 const char *str, u32 str_len) in sidtab_sid2str_put()
578 cache = kmalloc(struct_size(cache, str, str_len), GFP_ATOMIC); in sidtab_sid2str_put()
592 cache->len = str_len; in sidtab_sid2str_put()
593 memcpy(cache->str, str, str_len); in sidtab_sid2str_put()
558 sidtab_sid2str_put(struct sidtab *s, struct sidtab_entry *entry, const char *str, u32 str_len) sidtab_sid2str_put() argument
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dbtf.h21 __u32 str_len; /* length of string section */ member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dbtf.h21 __u32 str_len; /* length of string section */ member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dbtf.h21 __u32 str_len; /* length of string section */ member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dbtf.h32 __u32 str_len; member
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dbtf.h21 __u32 str_len; /* length of string section */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dbtf.h32 __u32 str_len; member
/third_party/libbpf/include/uapi/linux/
H A Dbtf.h21 __u32 str_len; /* length of string section */ member
/third_party/libbpf/src/
H A Dbtf.c221 h->str_len = bswap_32(h->str_len); in btf_bswap_hdr()
254 if (meta_left < (long long)hdr->str_off + hdr->str_len) { in btf_parse_hdr()
261 hdr->type_off, hdr->type_len, hdr->str_off, hdr->str_len); in btf_parse_hdr()
277 const char *end = start + btf->hdr->str_len; in btf_parse_str_sec()
279 if (btf->base_btf && hdr->str_len == 0) in btf_parse_str_sec()
281 if (!hdr->str_len || hdr->str_len - 1 > BTF_MAX_STR_OFFSET || end[-1]) { in btf_parse_str_sec()
997 btf->start_str_off = base_btf->hdr->str_len; in btf_new_empty()
1015 btf->hdr->str_len in btf_new_empty()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dsyscall.c43 .str_len = sizeof(__u32), in btf_load()
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-uclogic-params.c456 const size_t str_len = 16; in uclogic_params_frame_init_v1_buttonpad() local
469 str_buf = kzalloc(str_len, GFP_KERNEL); in uclogic_params_frame_init_v1_buttonpad()
475 rc = usb_string(usb_dev, 123, str_buf, str_len); in uclogic_params_frame_init_v1_buttonpad()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dacerhdf.c590 unsigned long str_len = 0, start_len = 0; in str_starts_with() local
592 str_len = strlen(str); in str_starts_with()
595 if (str_len >= start_len && in str_starts_with()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-cff1-table.hh1314 size_t str_len; in get_glyph_name() local
1319 str_len = byte_str.length; in get_glyph_name()
1325 str_len = ubyte_str.length; in get_glyph_name()
1327 if (!str_len) return false; in get_glyph_name()
1328 unsigned int len = hb_min (buf_len - 1, str_len); in get_glyph_name()
/kernel/linux/linux-5.10/tools/perf/util/cs-etm-decoder/
H A Dcs-etm-decoder.c144 const int str_len) in cs_etm_decoder__print_str_cb()
146 if (p_context && str_len) in cs_etm_decoder__print_str_cb()
142 cs_etm_decoder__print_str_cb(const void *p_context, const char *msg, const int str_len) cs_etm_decoder__print_str_cb() argument
/third_party/elfio/c_wrapper/
H A Delfio_c_wrapper.cpp454 int str_len ) in elfio_dynamic_get_entry()
458 strncpy( str, str_str.c_str(), (size_t)str_len - 1 ); in elfio_dynamic_get_entry()
/third_party/elfio/examples/c_wrapper/
H A Delfio_c_wrapper.cpp455 int str_len ) in elfio_dynamic_get_entry()
459 strncpy( str, str_str.c_str(), (size_t)str_len - 1 ); in elfio_dynamic_get_entry()
/third_party/ffmpeg/libavformat/
H A Dmpegtsenc.c937 size_t str_len; in encode_str8() local
940 str_len = strlen(str); in encode_str8()
950 if (str_len > 254) in encode_str8()
952 buf[0] = str_len + 1; in encode_str8()
954 memcpy(&buf[2], str, str_len); in encode_str8()
960 if (str_len > 255) in encode_str8()
962 buf[0] = str_len; in encode_str8()
963 memcpy(&buf[1], str, str_len); in encode_str8()
/third_party/selinux/libsepol/cil/src/
H A Dcil_post.c57 size_t str_len; member
171 fc->str_len = 0; in cil_post_fc_fill_data()
193 fc->str_len++; in cil_post_fc_fill_data()
203 fc->str_len++; in cil_post_fc_fill_data()
231 } else if (a_data->str_len < b_data->str_len) { in cil_post_filecon_compare()
233 } else if (b_data->str_len < a_data->str_len) { in cil_post_filecon_compare()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dlibbpf_internal.h152 const char *str_sec, size_t str_len);
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_events_filter.c901 int str_len = str_item >> 16; in filter_pred_strloc() local
905 cmp = pred->regex->match(addr, pred->regex, str_len); in filter_pred_strloc()
924 int str_len = str_item >> 16; in filter_pred_strrelloc() local
928 cmp = pred->regex->match(addr, pred->regex, str_len); in filter_pred_strrelloc()
/third_party/ltp/tools/sparse/sparse-src/
H A Dsymbol.c400 int str_len = 0; in count_array_initializer() local
417 str_len = entry->string->length; in count_array_initializer()
427 if (count == 1 && str_len) in count_array_initializer()
428 nr = str_len; in count_array_initializer()
/third_party/toybox/toys/pending/
H A Dbc.c299 struct str_len id;
319 int bc_id_cmp(struct str_len *e1, struct str_len *e2);
980 static size_t bc_map_find(BcVec *v, struct str_len *ptr) { in bc_map_find()
987 struct str_len *id = bc_vec_item(v, mid); in bc_map_find()
998 int bc_map_insert(BcVec *v, struct str_len *ptr, size_t *i) { in bc_map_insert()
1009 size_t bc_map_index(BcVec *v, struct str_len *ptr) { in bc_map_index()
2327 int bc_id_cmp(struct str_len *e1, struct str_len *e2) { in bc_id_cmp()
2332 free(((struct str_len *)i in bc_id_free()
[all...]
/kernel/linux/linux-6.6/tools/perf/util/cs-etm-decoder/
H A Dcs-etm-decoder.c200 const int str_len) in cs_etm_decoder__print_str_cb()
204 if (p_context && str_len && !decoder->suppress_printing) in cs_etm_decoder__print_str_cb()
198 cs_etm_decoder__print_str_cb(const void *p_context, const char *msg, const int str_len) cs_etm_decoder__print_str_cb() argument
/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/
H A Disst-config.c914 int str_len = sizeof(str); in isolate_cpus() local
961 str_len - curr_index, ","); in isolate_cpus()
963 if (curr_index >= str_len) in isolate_cpus()
966 index = snprintf(&str[curr_index], str_len - curr_index, "%d", in isolate_cpus()
969 if (curr_index >= str_len) in isolate_cpus()

Completed in 37 milliseconds

12345