Home
last modified time | relevance | path

Searched refs:field_len (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/net/bluetooth/
H A Deir.h71 u8 field_len = eir[0]; in eir_get_data() local
73 if (field_len == 0) in eir_get_data()
76 parsed += field_len + 1; in eir_get_data()
82 eir += field_len + 1; in eir_get_data()
87 if (field_len == 1) in eir_get_data()
91 *data_len = field_len - 1; in eir_get_data()
H A Dmgmt.c10017 u8 field_len = eir[0]; in eir_has_uuids() local
10021 if (field_len == 0) in eir_has_uuids()
10024 if (eir_len - parsed < field_len + 1) in eir_has_uuids()
10030 for (i = 0; i + 3 <= field_len; i += 2) { in eir_has_uuids()
10040 for (i = 0; i + 5 <= field_len; i += 4) { in eir_has_uuids()
10052 for (i = 0; i + 17 <= field_len; i += 16) { in eir_has_uuids()
10060 parsed += field_len + 1; in eir_has_uuids()
10061 eir += field_len + 1; in eir_has_uuids()
H A Dhci_event.c5029 u8 field_len = eir[0]; in eir_get_length() local
5031 if (field_len == 0) in eir_get_length()
5034 parsed += field_len + 1; in eir_get_length()
5035 eir += field_len + 1; in eir_get_length()
/openbmc/linux/lib/
H A Dtest_scanf.c318 int field_len; in append_fmt() local
321 field_len = vsnprintf(buf + *buf_pos, buf_len - *buf_pos, val_fmt, ap); in append_fmt()
324 if (field_len < 0) in append_fmt()
325 field_len = 0; in append_fmt()
327 *buf_pos += field_len; in append_fmt()
329 return field_len; in append_fmt()
/openbmc/linux/net/netfilter/
H A Dnft_set_pipapo.h262 if (desc->field_len[i] > NFT_PIPAPO_MAX_BYTES) in pipapo_estimate_size()
269 rules = ilog2(desc->field_len[i] * BITS_PER_BYTE) * 2; in pipapo_estimate_size()
H A Dnft_payload.c279 u32 priv_len, u32 field_len) in nft_payload_offload_mask() argument
285 if (priv_len == field_len) { in nft_payload_offload_mask()
288 } else if (priv_len > field_len) { in nft_payload_offload_mask()
292 memset(&mask, 0xff, field_len); in nft_payload_offload_mask()
296 delta = field_len - priv_len; in nft_payload_offload_mask()
301 memcpy(&reg->mask, &mask, field_len); in nft_payload_offload_mask()
H A Dnf_tables_api.c4544 htonl(set->field_len[i]))) in nf_tables_fill_set_concat()
4846 if (desc->field_count >= ARRAY_SIZE(desc->field_len)) in nft_set_desc_concat_parse()
4861 desc->field_len[desc->field_count++] = len; in nft_set_desc_concat_parse()
4883 num_regs += DIV_ROUND_UP(desc->field_len[i], sizeof(u32)); in nft_set_desc_concat()
4983 if (set->field_len[i] != desc->field_len[i]) in nft_set_is_same()
5257 set->field_len[i] = desc.field_len[i]; in nf_tables_newset()
H A Dnft_set_pipapo.c2168 int len = desc->field_len[i] ? : set->klen;
/openbmc/linux/security/integrity/ima/
H A Dima_template_lib.c151 u32 field_len = !ima_canonical_fmt ? in ima_show_template_data_binary() local
154 ima_putc(m, &field_len, sizeof(field_len)); in ima_show_template_data_binary()
/openbmc/linux/tools/workqueue/
H A Dwq_dump.py172 field_len = max(len(str(cpu)), max_pool_id_len) variable
/openbmc/linux/include/net/netfilter/
H A Dnf_tables.h353 u8 field_len[NFT_REG32_COUNT]; member
577 u8 field_len[NFT_REG32_COUNT]; member
/openbmc/linux/kernel/trace/
H A Dtrace_events_filter.c842 cmp = pred->regex->match(addr, pred->regex, pred->regex->field_len); in filter_pred_string()
1872 pred->regex->field_len = field->size; in parse_pred()
H A Dtrace.h1496 int field_len; member
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c693 wrp_reg_subpart(struct nfp_prog *nfp_prog, swreg dst, swreg src, u8 field_len, in wrp_reg_subpart() argument
697 u8 mask = (1 << field_len) - 1; in wrp_reg_subpart()
707 u8 field_len, u8 offset) in wrp_reg_or_subpart() argument
710 u8 mask = ((1 << field_len) - 1) << offset; in wrp_reg_or_subpart()
/openbmc/qemu/target/ppc/
H A Dkvm.c1804 int field_len = strlen(field); in read_cpuinfo() local
1816 if (!strncmp(line, field, field_len)) { in read_cpuinfo()
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2100.c511 u16 field_len; in ipw2100_get_ordinal() local
556 field_len = *((u16 *) & field_info); in ipw2100_get_ordinal()
562 total_length = field_len * field_count; in ipw2100_get_ordinal()
H A Dipw2200.c665 u32 addr, field_info, field_len, field_count, total_len; in ipw_get_ordinal() local
774 field_len = *((u16 *) & field_info); in ipw_get_ordinal()
780 total_len = field_len * field_count; in ipw_get_ordinal()