Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 25 of 47) sorted by relevance

12

/openbmc/qemu/target/ppc/
H A Dmem_helper.c59 static void *probe_contiguous(CPUPPCState *env, target_ulong addr, uint32_t nb, in probe_contiguous() argument
67 if (likely(nb <= nb_pg1)) { in probe_contiguous()
69 return probe_access(env, addr, nb, access_type, mmu_idx, raddr); in probe_contiguous()
73 nb_pg2 = nb - nb_pg1; in probe_contiguous()
129 static void do_lsw(CPUPPCState *env, target_ulong addr, uint32_t nb, in do_lsw() argument
136 if (unlikely(nb == 0)) { in do_lsw()
141 host = probe_contiguous(env, addr, nb, MMU_DATA_LOAD, mmu_idx, raddr); in do_lsw()
145 for (; nb > 3; nb -= 4) { in do_lsw()
150 switch (nb) { in do_lsw()
165 for (; nb > 3; nb -= 4) { in do_lsw()
[all …]
H A Dinternal.h66 #define EXTRACT_HELPER(name, shift, nb) \ argument
69 return extract32(opcode, shift, nb); \
72 #define EXTRACT_SHELPER(name, shift, nb) \ argument
75 return sextract32(opcode, shift, nb); \
/openbmc/u-boot/common/
H A Ddlmalloc.c647 #define is_small_request(nb) (nb < MAX_SMALLBIN_SIZE - SMALLBIN_WIDTH) argument
1063 static void malloc_extend_top(INTERNAL_SIZE_T nb) in malloc_extend_top() argument
1065 static void malloc_extend_top(nb) INTERNAL_SIZE_T nb; in malloc_extend_top()
1080 INTERNAL_SIZE_T sbrk_size = nb + top_pad + MINSIZE;
1255 INTERNAL_SIZE_T nb; local
1270 nb = request2size(bytes); /* padded request size; */
1274 if (is_small_request(nb)) /* Faster version for small requests */
1276 idx = smallbin_index(nb);
1294 check_malloced_chunk(victim, nb);
1303 idx = bin_index(nb);
[all …]
H A Ddlmalloc.src1517 #define is_small_request(nb) (nb < MAX_SMALLBIN_SIZE - SMALLBIN_WIDTH)
1928 static void malloc_extend_top(INTERNAL_SIZE_T nb)
1930 static void malloc_extend_top(nb) INTERNAL_SIZE_T nb;
1945 INTERNAL_SIZE_T sbrk_size = nb + top_pad + MINSIZE;
2045 The requested size is first converted into a usable form, `nb'.
2120 INTERNAL_SIZE_T nb;
2124 nb = request2size(bytes); /* padded request size; */
2128 if (is_small_request(nb)) /* Faster version for small requests */
2130 idx = smallbin_index(nb);
2148 check_malloced_chunk(victim, nb);
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/ippool/ippool/
H A D0001-read-returns-ssize_t.patch8 if (nb < 0) {
26 - size_t nb = read(fd, ptr, count - chars_read);
27 + ssize_t nb = read(fd, ptr, count - chars_read);
28 if (nb < 0) {
/openbmc/qemu/tests/qtest/
H A Dnetdev-socket.c83 static int inet_get_free_port_multiple(int nb, int *port, bool ipv6) in inet_get_free_port_multiple() argument
85 g_autofree int *sock = g_new(int, nb); in inet_get_free_port_multiple()
88 for (i = 0; i < nb; i++) { in inet_get_free_port_multiple()
100 nb = i; in inet_get_free_port_multiple()
101 for (i = 0; i < nb; i++) { in inet_get_free_port_multiple()
105 return nb; in inet_get_free_port_multiple()
110 int nb, port; in inet_get_free_port() local
112 nb = inet_get_free_port_multiple(1, &port, ipv6); in inet_get_free_port()
113 g_assert_cmpint(nb, ==, 1); in inet_get_free_port()
371 int nb; in test_dgram_inet() local
[all …]
/openbmc/qemu/contrib/plugins/
H A Dcflow.c104 NodeData *nb = (NodeData *) b; in hottest() local
106 return na->dest_count > nb->dest_count ? -1 : in hottest()
107 na->dest_count == nb->dest_count ? 0 : 1; in hottest()
113 NodeData *nb = (NodeData *) b; in exception() local
115 return na->early_exit > nb->early_exit ? -1 : in exception()
116 na->early_exit == nb->early_exit ? 0 : 1; in exception()
122 NodeData *nb = (NodeData *) b; in popular() local
124 return na->dests->len > nb->dests->len ? -1 : in popular()
125 na->dests->len == nb->dests->len ? 0 : 1; in popular()
/openbmc/u-boot/include/linux/mtd/
H A Dubi.h239 typedef int (*notifier_fn_t)(void *nb,
249 int ubi_register_volume_notifier(struct notifier_block *nb,
251 int ubi_unregister_volume_notifier(struct notifier_block *nb);
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/libmad/libmad/
H A DCVE-2017-8374.patch109 -mad_fixed_t I_sample(struct mad_bitptr *ptr, unsigned int nb)
110 +mad_fixed_t I_sample(struct mad_bitptr *ptr, unsigned int nb, struct mad_stream *stream)
117 + if (mad_bit_length(ptr, &frameend_ptr) < nb) {
122 sample = mad_bit_read(ptr, nb);
127 unsigned int nch, bound, ch, s, sb, nb;
157 nb = mad_bit_read(&stream->ptr, 4);
159 if (nb == 15) {
169 nb = mad_bit_read(&stream->ptr, 4);
171 if (nb == 15) {
186 nb = allocation[ch][sb];
[all …]
/openbmc/qemu/hw/nubus/
H A Dmac-nubus-bridge.c19 NubusBridge *nb = NUBUS_BRIDGE(obj); in mac_nubus_bridge_init() local
21 NubusBus *bus = &nb->bus; in mac_nubus_bridge_init()
/openbmc/qemu/target/i386/
H A Dcpu-dump.c348 int eflags, i, nb; in x86_cpu_dump_state() local
517 nb = (env->hflags & HF_CS64_MASK) ? 32 : 8; in x86_cpu_dump_state()
518 for (i = 0; i < nb; i++) { in x86_cpu_dump_state()
534 nb = env->hflags & HF_CS64_MASK ? 16 : 8; in x86_cpu_dump_state()
535 for (i = 0; i < nb; i++) { in x86_cpu_dump_state()
544 nb = env->hflags & HF_CS64_MASK ? 16 : 8; in x86_cpu_dump_state()
545 for (i = 0; i < nb; i++) { in x86_cpu_dump_state()
/openbmc/openbmc/poky/meta/recipes-connectivity/ppp/ppp/
H A D0001-pppdump-Fixed-building-with-GCC-15-548.patch54 int nb, c2;
64 int nb, nl, dn, proto, rv;
/openbmc/u-boot/lib/zlib/
H A Dzutil.c64 void zcfree(voidpf opaque, voidpf ptr, unsigned nb) in zcfree() argument
/openbmc/openbmc/poky/meta/recipes-core/musl/
H A Dmusl-locales_git.bb41 LICENSE:locale-base-nb-no = "MIT"
59 locale-base-nb-no \
77 FILES:locale-base-nb-no += "${datadir}/i18n/locales/musl/nb_NO.UTF-8"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/thrift/
H A Dthrift_0.21.0.bb62 PACKAGE_BEFORE_PN = "${PN}-compiler lib${BPN} lib${BPN}z lib${BPN}nb lib${BPN}-c-glib"
65 FILES:lib${BPN}nb = "${libdir}/libthriftnb.so.*"
/openbmc/u-boot/drivers/usb/gadget/
H A Ddesignware_udc.c186 u32 i, nw, nb; in usbgetpckfromfifo() local
195 nb = len % sizeof(u32); in usbgetpckfromfifo()
209 for (i = 0; i < nb; i++) { in usbgetpckfromfifo()
225 u32 i, nw, nb; in usbputpcktofifo() local
231 nb = len % sizeof(int); in usbputpcktofifo()
239 for (i = 0; i < nb; i++) { in usbputpcktofifo()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dkapi.c826 int ubi_register_volume_notifier(struct notifier_block *nb, in ubi_register_volume_notifier() argument
831 err = blocking_notifier_chain_register(&ubi_notifiers, nb); in ubi_register_volume_notifier()
844 ubi_enumerate_volumes(nb); in ubi_register_volume_notifier()
858 int ubi_unregister_volume_notifier(struct notifier_block *nb) in ubi_unregister_volume_notifier() argument
860 return blocking_notifier_chain_unregister(&ubi_notifiers, nb); in ubi_unregister_volume_notifier()
/openbmc/u-boot/arch/arm/dts/
H A Dsama5d3.dtsi1384 atmel,nb-banks = <1>;
1390 atmel,nb-banks = <3>;
1398 atmel,nb-banks = <3>;
1406 atmel,nb-banks = <2>;
1413 atmel,nb-banks = <2>;
1420 atmel,nb-banks = <2>;
1427 atmel,nb-banks = <2>;
1434 atmel,nb-banks = <2>;
1441 atmel,nb-banks = <2>;
1447 atmel,nb-banks = <2>;
[all …]
H A Darmada-37xx.dtsi116 nb_periph_clk: nb-periph-clk@13000 {
117 compatible = "marvell,armada-3700-periph-clock-nb";
136 pinctrl_nb: pinctrl-nb@13800 {
137 compatible = "marvell,armada3710-nb-pinctrl",
H A Dsama5d4.dtsi142 atmel,nb-banks = <1>;
148 atmel,nb-banks = <3>;
156 atmel,nb-banks = <3>;
164 atmel,nb-banks = <2>;
172 atmel,nb-banks = <2>;
180 atmel,nb-banks = <2>;
188 atmel,nb-banks = <2>;
196 atmel,nb-banks = <2>;
204 atmel,nb-banks = <2>;
211 atmel,nb-banks = <2>;
[all …]
H A Dat91sam9rl.dtsi301 atmel,nb-banks = <1>;
307 atmel,nb-banks = <2>;
315 atmel,nb-banks = <2>;
323 atmel,nb-banks = <3>;
330 atmel,nb-banks = <3>;
337 atmel,nb-banks = <3>;
345 atmel,nb-banks = <3>;
/openbmc/qemu/docs/interop/
H A Dbarrier.rst331 ``{ int32 t nb, { int32_t id, int32_t val }[] }``
335 ``nb`` = numbers of ``{ id, val }`` entries
361 ``{ int16_t nb, char *content }``
365 ``nb`` = number of dragging objects
387 ``{ int16_t nb, major *minor }``
/openbmc/qemu/ui/
H A Dinput-barrier.h92 int nb; member
H A Dinput-barrier.c254 read_int(msg->set.nb, p, len); in readcmd()
255 msg->set.nb /= 2; in readcmd()
256 if (msg->set.nb > BARRIER_MAX_OPTIONS) { in readcmd()
257 msg->set.nb = BARRIER_MAX_OPTIONS; in readcmd()
260 while (len && i < msg->set.nb) { in readcmd()
/openbmc/u-boot/lib/
H A Dgzip.c33 static void zfree(void *x, void *addr, unsigned nb) in zfree() argument

12