Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 25 of 43) sorted by relevance

12

/f-stack/freebsd/bsm/
H A Daudit_internal.h86 #define ADD_U_CHAR(loc, val) \ argument
88 *(loc) = (val); \
89 (loc) += sizeof(u_char); \
95 be16enc((loc), (val)); \
96 (loc) += sizeof(u_int16_t); \
101 be32enc((loc), (val)); \
102 (loc) += sizeof(u_int32_t); \
107 be64enc((loc), (val)); \
108 (loc) += sizeof(u_int64_t); \
114 (loc) += size; \
[all …]
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_rxtx.c3043 loc->mbuf_nseg = NB_SEGS(loc->mbuf); in mlx5_tx_mseg_build()
3082 loc->mbuf = loc->mbuf->next; in mlx5_tx_mseg_build()
3091 loc->mbuf = loc->mbuf->next; in mlx5_tx_mseg_build()
3108 loc->mbuf = loc->mbuf->next; in mlx5_tx_mseg_build()
3383 loc->mbuf = loc->mbuf->next; in mlx5_tx_packet_multi_send()
4888 loc.pkts_loop = loc.pkts_sent; in mlx5_tx_burst_tmpl()
4920 loc.mbuf = *(pkts + loc.pkts_sent); in mlx5_tx_burst_tmpl()
4943 loc.pkts_copy = loc.pkts_sent; in mlx5_tx_burst_tmpl()
4948 loc.pkts_copy = loc.pkts_sent; in mlx5_tx_burst_tmpl()
5078 loc.pkts_sent >= loc.pkts_copy); in mlx5_tx_burst_tmpl()
[all …]
/f-stack/dpdk/drivers/net/bnxt/tf_core/
H A Dbitalloc.c123 if (loc == 0) in ba_alloc_helper()
126 loc--; in ba_alloc_helper()
196 if (loc == 0) in ba_alloc_reverse_helper()
199 loc--; in ba_alloc_reverse_helper()
239 int loc; in ba_alloc_index_helper() local
294 int loc; in ba_inuse_helper() local
332 int loc; in ba_free_helper() local
415 loc = ba_ffs(~storage[*index] & ((bitalloc_word_t)-1 << loc)); in ba_find_next_helper()
416 if (loc > 0) { in ba_find_next_helper()
417 loc--; in ba_find_next_helper()
[all …]
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_fdir.c982 u8 *loc; in ice_fdir_get_gen_prgm_pkt() local
1027 loc = pkt; in ice_fdir_get_gen_prgm_pkt()
1037 loc = &pkt[ICE_FDIR_TUN_PKT_OFF]; in ice_fdir_get_gen_prgm_pkt()
1057 loc[20] = ICE_FDIR_IPV4_PKT_FLAG_DF; in ice_fdir_get_gen_prgm_pkt()
1101 ice_pkt_insert_u8(loc, ICE_IPV4_PROTO_OFFSET, in ice_fdir_get_gen_prgm_pkt()
1153 ice_pkt_insert_u32(loc, ICE_IPV4_ESP_SPI_OFFSET, in ice_fdir_get_gen_prgm_pkt()
1157 ice_pkt_insert_u32(loc, ICE_IPV6_ESP_SPI_OFFSET, in ice_fdir_get_gen_prgm_pkt()
1161 ice_pkt_insert_u32(loc, ICE_IPV4_AH_SPI_OFFSET, in ice_fdir_get_gen_prgm_pkt()
1165 ice_pkt_insert_u32(loc, ICE_IPV6_AH_SPI_OFFSET, in ice_fdir_get_gen_prgm_pkt()
1195 ice_pkt_insert_u16(loc, ICE_MAC_ETHTYPE_OFFSET, in ice_fdir_get_gen_prgm_pkt()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zcommon/
H A Dzfs_namecheck.c72 const char *loc = path; in get_dataset_depth() local
80 loc[i] != '@' && in get_dataset_depth()
81 loc[i] != '#'; i++) { in get_dataset_depth()
82 if (loc[i] == '/') in get_dataset_depth()
100 const char *loc; in zfs_component_namecheck() local
114 for (loc = path; *loc; loc++) { in zfs_component_namecheck()
115 if (!valid_char(*loc)) { in zfs_component_namecheck()
118 *what = *loc; in zfs_component_namecheck()
227 for (const char *loc = start; loc != end; loc++) { in entity_namecheck() local
228 if (!valid_char(*loc) && *loc != '%') { in entity_namecheck()
[all …]
/f-stack/freebsd/arm/arm/
H A Ddisassem.c280 u_int loc);
282 u_int loc);
284 u_int loc);
315 return(loc + INSN_SIZE); in disasm()
529 return(loc + INSN_SIZE); in disasm()
594 loc += offset; in disasm_insn_ldrstr()
596 loc -= offset; in disasm_insn_ldrstr()
597 di->di_printaddr(loc + 8); in disasm_insn_ldrstr()
623 loc += offset; in disasm_insn_ldrhstrh()
625 loc -= offset; in disasm_insn_ldrhstrh()
[all …]
H A Ddb_disasm.c75 db_disasm(vm_offset_t loc, bool altfmt) in db_disasm() argument
78 return disasm(&db_disasm_interface, loc, altfmt); in db_disasm()
/f-stack/freebsd/mips/nlm/hal/
H A Dmips-extns.h38 static __inline__ int32_t nlm_swapw(int32_t *loc, int32_t val) in nlm_swapw() argument
50 : "+m" (*loc), "=r" (oldval) in nlm_swapw()
51 : "r" (loc), "r" (val) in nlm_swapw()
57 static __inline__ uint32_t nlm_swapwu(int32_t *loc, uint32_t val) in nlm_swapwu() argument
69 : "+m" (*loc), "=r" (oldval) in nlm_swapwu()
70 : "r" (loc), "r" (val) in nlm_swapwu()
77 static __inline__ uint64_t nlm_swapd(int32_t *loc, uint64_t val) in nlm_swapd() argument
89 : "+m" (*loc), "=r" (oldval) in nlm_swapd()
90 : "r" (loc), "r" (val) in nlm_swapd()
/f-stack/dpdk/drivers/bus/pci/linux/
H A Dpci_uio.c140 loc->domain, loc->bus, loc->devid, loc->function); in pci_get_uio_dev()
147 loc->domain, loc->bus, loc->devid, loc->function); in pci_get_uio_dev()
222 struct rte_pci_addr *loc; in pci_uio_alloc_resource() local
224 loc = &dev->addr; in pci_uio_alloc_resource()
230 "skipping\n", loc->domain, loc->bus, loc->devid, loc->function); in pci_uio_alloc_resource()
289 struct rte_pci_addr *loc; in pci_uio_map_resource_by_index() local
296 loc = &dev->addr; in pci_uio_map_resource_by_index()
315 loc->domain, loc->bus, loc->devid, in pci_uio_map_resource_by_index()
316 loc->function, res_idx); in pci_uio_map_resource_by_index()
330 loc->domain, loc->bus, loc->devid, in pci_uio_map_resource_by_index()
[all …]
H A Dpci_vfio.c703 struct rte_pci_addr *loc = &dev->addr; in pci_vfio_map_resource_primary() local
718 loc->domain, loc->bus, loc->devid, loc->function); in pci_vfio_map_resource_primary()
852 struct rte_pci_addr *loc = &dev->addr; in pci_vfio_map_resource_secondary() local
867 loc->domain, loc->bus, loc->devid, loc->function); in pci_vfio_map_resource_secondary()
971 struct rte_pci_addr *loc = &dev->addr; in pci_vfio_unmap_resource_primary() local
978 loc->domain, loc->bus, loc->devid, loc->function); in pci_vfio_unmap_resource_primary()
1028 struct rte_pci_addr *loc = &dev->addr; in pci_vfio_unmap_resource_secondary() local
1035 loc->domain, loc->bus, loc->devid, loc->function); in pci_vfio_unmap_resource_secondary()
/f-stack/freebsd/i386/i386/
H A Ddb_disasm.c926 (loc) += (size);
942 db_addr_t loc; in db_read_address()
955 return (loc);
1025 return (loc);
1063 db_addr_t loc; in db_disasm_esc()
1081 return (loc);
1086 loc = db_read_address(loc, short_addr, regmodrm, &address);
1149 return (loc);
1249 loc = db_disasm_esc(loc, inst, short_addr, size, seg); in db_disasm()
1269 loc = db_read_address(loc, short_addr, regmodrm, &address); in db_disasm()
[all …]
/f-stack/freebsd/amd64/amd64/
H A Ddb_disasm.c1033 (loc) += (size);
1049 db_addr_t loc; in db_read_address()
1063 return (loc);
1112 return (loc);
1149 db_addr_t loc; in db_disasm_esc()
1168 return (loc);
1236 return (loc);
1331 loc = db_disasm_esc(loc, inst, rex, short_addr, size, seg); in db_disasm()
1333 return (loc); in db_disasm()
1724 displ += loc; in db_disasm()
[all …]
/f-stack/dpdk/drivers/bus/pci/
H A Dpci_common.c169 struct rte_pci_addr *loc; in rte_pci_probe_one_driver() local
174 loc = &dev->addr; in rte_pci_probe_one_driver()
182 loc->domain, loc->bus, loc->devid, loc->function, in rte_pci_probe_one_driver()
240 loc->domain, loc->bus, loc->devid, loc->function, in rte_pci_probe_one_driver()
269 struct rte_pci_addr *loc; in rte_pci_detach_dev() local
277 loc = &dev->addr; in rte_pci_detach_dev()
280 loc->domain, loc->bus, loc->devid, in rte_pci_detach_dev()
281 loc->function, dev->device.numa_node); in rte_pci_detach_dev()
/f-stack/tools/libutil/
H A Dgr_util.c602 char *loc; in __gr_scan() local
607 if ((loc = strchr(line, ':')) == NULL) in __gr_scan()
609 *loc = '\0'; in __gr_scan()
610 gr->gr_passwd = loc + 1; in __gr_scan()
614 if ((loc = strchr(loc + 1, ':')) == NULL) in __gr_scan()
616 *loc = '\0'; in __gr_scan()
618 if (sscanf(loc + 1, "%u", &gr->gr_gid) != 1) in __gr_scan()
622 if ((loc = strchr(loc + 1, ':')) == NULL) in __gr_scan()
624 line = loc + 1; in __gr_scan()
/f-stack/freebsd/arm64/arm64/
H A Ddb_disasm.c64 db_disasm(vm_offset_t loc, bool altfmt) in db_disasm() argument
67 return (disasm(&db_disasm_interface, loc, altfmt)); in db_disasm()
H A Ddisassem.c336 disasm(const struct disasm_interface *di, vm_offset_t loc, int altfmt) in disasm() argument
356 insn = di->di_readword(loc); in disasm()
526 di->di_printf("0x%lx", loc + imm); in disasm()
536 return(loc + INSN_SIZE); in disasm()
540 return(loc + INSN_SIZE); in disasm()
/f-stack/freebsd/ddb/
H A Ddb_examine.c239 db_print_loc_and_inst(db_addr_t loc) in db_print_loc_and_inst() argument
243 db_printsym(loc, DB_STGY_PROC); in db_print_loc_and_inst()
244 if (db_search_symbol(loc, DB_STGY_PROC, &off) != C_DB_SYM_NULL) { in db_print_loc_and_inst()
246 (void)db_disasm(loc, false); in db_print_loc_and_inst()
/f-stack/dpdk/lib/librte_member/
H A Drte_member_vbf.c237 uint32_t loc = __builtin_ctzl(mask); in rte_member_lookup_multi_vbf() local
238 set_id[num_matches] = loc + 1; in rte_member_lookup_multi_vbf()
242 mask &= ~(1UL << loc); in rte_member_lookup_multi_vbf()
276 uint32_t loc = __builtin_ctzl(mask[i]); in rte_member_lookup_multi_bulk_vbf() local
277 set_ids[i * match_per_key + match_cnt_t] = loc + 1; in rte_member_lookup_multi_bulk_vbf()
281 mask[i] &= ~(1UL << loc); in rte_member_lookup_multi_bulk_vbf()
/f-stack/freebsd/mips/mips/
H A Ddb_disasm.c139 db_disasm(db_addr_t loc, bool altfmt) in db_disasm() argument
144 if (vtophys((vm_offset_t)loc)) { in db_disasm()
145 db_read_bytes((vm_offset_t)loc, (size_t)sizeof(int), in db_disasm()
147 md_printins(ins, loc); in db_disasm()
150 return (loc + sizeof(int)); in db_disasm()
/f-stack/dpdk/drivers/bus/pci/bsd/
H A Dpci.c117 struct rte_pci_addr *loc; in pci_uio_alloc_resource() local
119 loc = &dev->addr; in pci_uio_alloc_resource()
126 "skipping\n", loc->domain, loc->bus, loc->devid, loc->function); in pci_uio_alloc_resource()
/f-stack/freebsd/netgraph/
H A Dng_lmi.c990 int loc; in nglmi_checkdata() local
994 loc = (m->m_len - packetlen); in nglmi_checkdata()
995 log(LOG_WARNING, "nglmi: error at location %d\n", loc); in nglmi_checkdata()
1001 ((loc == k) ? '>' : ' '), in nglmi_checkdata()
1017 int loc; in nglmi_checkdata() local
1021 loc = (m->m_len - packetlen); in nglmi_checkdata()
1022 log(LOG_WARNING, "nglmi: error at location %d\n", loc); in nglmi_checkdata()
1028 ((loc == k) ? '>' : ' '), in nglmi_checkdata()
/f-stack/freebsd/contrib/device-tree/Bindings/security/tpm/
H A Dibmvtpm.txt20 - ibm,loc-code : specifies the unique and persistent location code
38 ibm,loc-code = "U8286.41A.10082DV-V3-C3";
/f-stack/dpdk/drivers/common/dpaax/caamflib/rta/
H A Dfifo_load_store_cmd.h49 uint64_t loc, uint32_t length, uint32_t flags) in rta_fifo_load() argument
156 __rta_inline_data(program, loc, flags & __COPY_MASK, length); in rta_fifo_load()
158 __rta_out64(program, program->ps, loc); in rta_fifo_load()
/f-stack/freebsd/opencrypto/
H A Dcriov.c128 cuio_getptr(struct uio *uio, int loc, int *off) in cuio_getptr() argument
133 while (loc >= 0 && ind < uio->uio_iovcnt) { in cuio_getptr()
135 if (len > loc) { in cuio_getptr()
136 *off = loc; in cuio_getptr()
139 loc -= len; in cuio_getptr()
143 if (ind > 0 && loc == 0) { in cuio_getptr()
/f-stack/freebsd/amd64/include/
H A Dcpufunc.h700 char *loc; in sgdt() local
702 loc = (char *)addr; in sgdt()
703 __asm __volatile("sgdt %0" : "=m" (*loc) : : "memory"); in sgdt()
715 char *loc; in sidt() local
717 loc = (char *)addr; in sidt()
718 __asm __volatile("sidt %0" : "=m" (*loc) : : "memory"); in sidt()

12