Home
last modified time | relevance | path

Searched full:bb (Results 1 – 25 of 2225) sorted by relevance

12345678910>>...89

/openbmc/linux/tools/bpf/bpftool/
H A Dcfg.c50 #define bb_prev(bb) list_prev_entry(bb, l) argument
51 #define bb_next(bb) list_next_entry(bb, l) argument
91 struct bb_node *new_bb, *bb; in func_append_bb() local
93 list_for_each_entry(bb, &func->bbs, l) { in func_append_bb()
94 if (bb->head == insn) in func_append_bb()
95 return bb; in func_append_bb()
96 else if (bb->head > insn) in func_append_bb()
100 bb = bb_prev(bb); in func_append_bb()
103 p_err("OOM when allocating BB node"); in func_append_bb()
109 list_add(&new_bb->l, &bb->l); in func_append_bb()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Devent.py20 import bb
21 import bb.event
22 from bb.msg import BBLogFormatter
36 self.event_calls.append(bb.event.getName(event))
76 importlib.reload(bb.event)
88 bb.event.set_class_handlers(test_handlers)
90 bb.event.get_class_handlers())
95 bb.event.set_handlers(test_handlers)
97 bb.event.get_handlers())
103 bb.event.clean_class_handlers())
[all …]
H A Dparse.py2 # BitBake Test for lib/bb/parse/
12 import bb
17 import bb.parse
18 import bb.data
19 import bb.siggen
35 self.d = bb.data.init()
36 bb.parse.siggen = bb.siggen.init(self.d)
41 def parsehelper(self, content, suffix = ".bb"):
51 d = bb.parse.handle(f.name, self.d)['']
59 with self.assertRaises(bb.parse.ParseError):
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dtoasterui.py17 import bb
21 from bb.ui import uihelper
22 from bb.ui.buildinfohelper import BuildInfoHelper
24 import bb.msg
32 featureSet = [bb.cooker.CookerFeatures.HOB_EXTRA_CACHES, bb.cooker.CookerFeatures.BASEDATASTORE_TRA…
70 logformat = bb.msg.BBLogFormatter(format_str)
73 bb.msg.addDefaultlogFilter(build_log)
86 "bb.build.TaskBase",
87 "bb.build.TaskFailed",
88 "bb.build.TaskFailedSilent",
[all …]
H A Dteamcity.py28 import bb
29 import bb.build
30 import bb.command
31 import bb.cooker
32 import bb.event
33 import bb.runqueue
34 from bb.ui import uihelper
105 if record.levelno in [bb.msg.BBLogFormatter.ERROR, bb.msg.BBLogFormatter.CRITICAL]:
113 if record.levelno == bb.msg.BBLogFormatter.PLAIN:
115 elif record.levelno == bb.msg.BBLogFormatter.WARNING:
[all …]
H A Dknotty.py18 import bb.msg
26 from bb.ui import uihelper
27 import bb.build
28 import bb.command
29 import bb.cooker
30 import bb.event
31 import bb.runqueue
32 import bb.utils
34 featureSet = [bb.cooker.CookerFeatures.SEND_SANITYEVENTS, bb.cooker.CookerFeatures.BASEDATASTORE_TR…
124 …if record.levelno == bb.msg.BBLogFormatter.NOTE and (record.msg.startswith("Running") or record.ms…
[all …]
/openbmc/linux/fs/smb/server/
H A Dsmbfsctl.h32 #define FSCTL_IS_PATHNAME_VALID 0x0009002C /* BB add struct */
33 #define FSCTL_GET_COMPRESSION 0x0009003C /* BB add struct */
34 #define FSCTL_SET_COMPRESSION 0x0009C040 /* BB add struct */
35 #define FSCTL_QUERY_FAT_BPB 0x00090058 /* BB add struct */
37 #define FSCTL_FILESYSTEM_GET_STATS 0x00090060 /* BB add struct */
38 #define FSCTL_GET_NTFS_VOLUME_DATA 0x00090064 /* BB add struct */
39 #define FSCTL_GET_RETRIEVAL_POINTERS 0x00090073 /* BB add struct */
40 #define FSCTL_IS_VOLUME_DIRTY 0x00090078 /* BB add struct */
41 #define FSCTL_ALLOW_EXTENDED_DASD_IO 0x00090083 /* BB add struct */
43 #define FSCTL_FIND_FILES_BY_SID 0x0009008F /* BB add struct */
[all …]
/openbmc/linux/block/
H A Dbadblocks.c21 * @bb: the badblocks structure that holds all badblock information
53 int badblocks_check(struct badblocks *bb, sector_t s, int sectors, in badblocks_check() argument
58 u64 *p = bb->page; in badblocks_check()
63 if (bb->shift > 0) { in badblocks_check()
65 s >>= bb->shift; in badblocks_check()
66 target += (1<<bb->shift) - 1; in badblocks_check()
67 target >>= bb->shift; in badblocks_check()
72 seq = read_seqbegin(&bb->lock); in badblocks_check()
75 hi = bb->count; in badblocks_check()
120 if (read_seqretry(&bb->lock, seq)) in badblocks_check()
[all …]
/openbmc/linux/fs/smb/common/
H A Dsmbfsctl.h63 #define FSCTL_IS_PATHNAME_VALID 0x0009002C /* BB add struct */
64 #define FSCTL_GET_COMPRESSION 0x0009003C /* BB add struct */
65 #define FSCTL_SET_COMPRESSION 0x0009C040 /* BB add struct */
66 #define FSCTL_QUERY_FAT_BPB 0x00090058 /* BB add struct */
68 #define FSCTL_FILESYSTEM_GET_STATS 0x00090060 /* BB add struct */
69 #define FSCTL_GET_NTFS_VOLUME_DATA 0x00090064 /* BB add struct */
70 #define FSCTL_GET_RETRIEVAL_POINTERS 0x00090073 /* BB add struct */
71 #define FSCTL_IS_VOLUME_DIRTY 0x00090078 /* BB add struct */
72 #define FSCTL_ALLOW_EXTENDED_DASD_IO 0x00090083 /* BB add struct */
74 #define FSCTL_FIND_FILES_BY_SID 0x0009008F /* BB add struct */
[all …]
/openbmc/openbmc/poky/meta/classes/
H A Dicecc.bbclass21 # If ICECC_PATH is not set in local.conf then the class will try to locate it using 'bb.utils.which'
25 # or the default one provided by icecc-create-env_0.1.bb will be used.
116 def get_cross_kernel_cc(bb,d):
117 if not icecc_is_kernel(bb, d):
132 return d.getVar('ICECC_PATH') or bb.utils.which(os.getenv("PATH"), "icecc")
134 def use_icecc(bb,d):
140 if icecc_is_allarch(bb, d):
143 if icecc_is_cross_canadian(bb, d):
158 if bb.data.inherits_class(bbclass, d):
159 bb.debug(1, "%s: bbclass %s found in disable, disable icecc" % (pn, bbclass))
[all …]
H A Dprexport.bbclass16 import bb.event
17 if not e.data or bb.data.inherits_class('native', e.data) or \
18 bb.data.inherits_class('crosssdk', e.data):
21 if isinstance(e, bb.event.RecipeParsed):
28 bb.fatal("prexport_handler: export failed!")
31 bb.note("prexport_handler: No AUTOPR values found for %s" % ver)
36 srcpv = bb.fetch2.get_srcrev(e.data)
41 bb.fatal("prexport_handler: export failed!")
44 elif isinstance(e, bb.event.ParseStarted):
45 import bb.utils
[all …]
H A Dreport-error.bbclass69 if isinstance(e, bb.event.BuildStarted):
70 bb.utils.mkdirhier(logpath)
76 lock = bb.utils.lockfile(datafile + '.lock')
78 bb.utils.unlockfile(lock)
80 elif isinstance(e, bb.build.TaskFailed):
108 lock = bb.utils.lockfile(datafile + '.lock')
112 bb.utils.unlockfile(lock)
114 elif isinstance(e, bb.event.NoProvider):
115 bb.utils.mkdirhier(logpath)
126 lock = bb.utils.lockfile(datafile + '.lock')
[all …]
/openbmc/openbmc/poky/meta/recipes-core/packagegroups/
H A Dpackagegroup-base.bb16 ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "packagegroup-base-acpi", "",d)} \
17 ${@bb.utils.contains("MACHINE_FEATURES", "alsa", "packagegroup-base-alsa", "", d)} \
18 ${@bb.utils.contains("MACHINE_FEATURES", "ext2", "packagegroup-base-ext2", "", d)} \
19 ${@bb.utils.contains("MACHINE_FEATURES", "vfat", "packagegroup-base-vfat", "", d)} \
20 … ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "packagegroup-base-keyboard", "", d)} \
21 ${@bb.utils.contains("MACHINE_FEATURES", "pci", "packagegroup-base-pci", "",d)} \
22 ${@bb.utils.contains("MACHINE_FEATURES", "pcmcia", "packagegroup-base-pcmcia", "", d)} \
23 ${@bb.utils.contains("MACHINE_FEATURES", "phone", "packagegroup-base-phone", "", d)} \
24 ${@bb.utils.contains("MACHINE_FEATURES", "serial", "packagegroup-base-serial", "", d)} \
25 … ${@bb.utils.contains("MACHINE_FEATURES", "usbgadget", "packagegroup-base-usbgadget", "", d)} \
[all …]
/openbmc/qemu/contrib/plugins/
H A Dbbv.c13 typedef struct Bb { struct
17 } Bb; argument
44 qemu_plugin_scoreboard_free(((Bb *)data)->count); in free_bb()
53 static qemu_plugin_u64 bb_count_u64(Bb *bb) in bb_count_u64() argument
55 return qemu_plugin_scoreboard_u64(bb->count); in bb_count_u64()
63 vcpu_filename = g_strdup_printf("%s.%u.bb", filename, vcpu_index); in vcpu_init()
85 Bb *bb = value; in vcpu_interval_exec() local
86 uint64_t bb_count = qemu_plugin_u64_get(bb_count_u64(bb), vcpu_index); in vcpu_interval_exec()
92 fprintf(vcpu->file, ":%u:%" PRIu64 " ", bb->index, bb_count); in vcpu_interval_exec()
93 qemu_plugin_u64_set(bb_count_u64(bb), vcpu_index, 0); in vcpu_interval_exec()
[all …]
/openbmc/linux/crypto/
H A Drmd160.c51 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd160_transform() local
55 bb = state[1]; in rmd160_transform()
68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform()
69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform()
70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform()
71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform()
72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd160_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd160_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd160_transform()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dcookerdata.py19 import bb
20 from bb import data
21 import bb.parse
71 options['default_loglevel'] = bb.msg.loggerDefaultLogLevel
72 options['debug_domains'] = bb.msg.loggerDefaultDomains
122 self.debug_domains = bb.msg.loggerDefaultDomains
123 self.default_loglevel = bb.msg.loggerDefaultLogLevel
175 raise bb.BBHandledException()
180 return bb.parse.handle(fn, data, include, baseconfig=True)
184 bb.parse.BBHandler.inherit(bbclass, "configuration INHERITs", 0, data)
[all …]
H A Dcooker.py20 import bb, bb.command
21 from bb import utils, data, parse, event, cache, providers, taskdata, runqueue, build
36 class NoSpecificMatch(bb.BBHandledException):
46 class CollectionError(bb.BBHandledException):
145 self.configuration = bb.cookerdata.CookerConfiguration()
154 bb.debug(1, "BBCooker starting %s" % time.time())
161 bb.parse.clear_cache()
162 bb.parse.BBHandler.cached_statements = {}
181 self.command = bb.command.Command(self, self.process_server)
190 bb.debug(1, "BBCooker startup complete %s" % time.time())
[all …]
/openbmc/openbmc/poky/meta/classes-global/
H A Dsstate.bbclass38 bb.fatal("Unable to reduce sstate name to less than 255 chararacters")
139 if bb.data.inherits_class('native', d):
141 elif bb.data.inherits_class('crosssdk', d):
143 elif bb.data.inherits_class('cross', d):
145 elif bb.data.inherits_class('nativesdk', d):
147 elif bb.data.inherits_class('cross-canadian', d):
149 elif bb.data.inherits_class('allarch', d) and d.getVar("PACKAGE_ARCH") == "all":
154 …if bb.data.inherits_class('native', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherit…
184 bb.fatal("sstate code running without task context?!")
196 bb.fatal("sstate variables not setup correctly?!")
[all …]
H A Dbase.bbclass86 (method, host, path, user, pswd, parm) = bb.fetch.decodeurl(url)
88 raise bb.fetch.MalformedUrl(url)
94 except bb.fetch.MalformedUrl:
95 bb.fatal(d.getVar('PN') + ": LIC_FILES_CHKSUM contains an invalid URL: " + url)
106 bb.utils.mkdirhier(dest)
114 srctool = bb.utils.which(path, tool, executable=True)
120 srctool = bb.utils.which(path, tool, executable=True, direction=1)
127bb.fatal("The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PAT…
134 fetcher_hashes_dummyfunc[vardepvalue] = "${@bb.fetch.get_hashvalue(d)}"
138 do_fetch[file-checksums] = "${@bb.fetch.get_checksum_file_list(d)}"
[all …]
/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-selftest16 import bb
23 tests = ["bb.tests.codeparser",
24 "bb.tests.color",
25 "bb.tests.cooker",
26 "bb.tests.cow",
27 "bb.tests.data",
28 "bb.tests.event",
29 "bb.tests.fetch",
30 "bb.tests.parse",
31 "bb.tests.runqueue",
[all …]
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee/
H A Doptee-os-ts.inc16 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-its', \
18 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-its', \
22 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-storage', \
24 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-storage', \
28 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-crypto', \
30 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-crypto', \
34 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-attestation', \
36 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-attestation', \
40 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-env-test', \
42 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-env-test', \
[all …]
/openbmc/linux/net/tipc/
H A Dbcast.c98 struct tipc_bc_base *bb = tipc_bc_base(net); in tipc_bcbase_calc_bc_threshold() local
101 bb->bc_threshold = 1 + (cluster_size * bb->rc_ratio / 100); in tipc_bcbase_calc_bc_threshold()
109 struct tipc_bc_base *bb = tipc_bc_base(net); in tipc_bcbase_select_primary() local
110 int all_dests = tipc_link_bc_peers(bb->link); in tipc_bcbase_select_primary()
111 int max_win = tipc_link_max_win(bb->link); in tipc_bcbase_select_primary()
112 int min_win = tipc_link_min_win(bb->link); in tipc_bcbase_select_primary()
115 bb->primary_bearer = INVALID_BEARER_ID; in tipc_bcbase_select_primary()
116 bb->bcast_support = true; in tipc_bcbase_select_primary()
122 if (!bb->dests[i]) in tipc_bcbase_select_primary()
126 if (mtu < tipc_link_mtu(bb->link)) { in tipc_bcbase_select_primary()
[all …]
/openbmc/openbmc/poky/meta/conf/machine/include/mips/
H A Darch-mips.inc11 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', ' -meb', ' -mel', d)}"
16 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'o32', ' -mabi=32', '', d)}"
20 ABIEXTENSION .= "${@bb.utils.filter('TUNE_FEATURES', 'n32', d)}"
21 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n32', ' -mabi=n32', '', d)}"
24 MACHINE_FEATURES_BACKFILL_CONSIDERED:append = " ${@bb.utils.contains('TUNE_FEATURES', 'n32', 'qemu-…
28 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n64', ' -mabi=64', '', d)}"
29 LD64ARG = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '-m elf64btsmip', '-m elf64ltsmip', d…
30 TUNE_LDARGS += "${@bb.utils.contains('TUNE_FEATURES', 'n64', '${LD64ARG}', '', d)}"
34 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard', ' -mhard-float', ' -msoft-float',…
35 TARGET_FPU = "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard', '', 'soft', d)}"
[all …]
/openbmc/openbmc/poky/meta/conf/machine/include/microblaze/
H A Darch-microblaze.inc5 MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "microblaze", "microblaze:", "", d)}"
10 MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "64-bit", "microblaze64:", "", d)}"
16 MBPKGARCH_ENDIAN = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "eb", "el", d)}"
18 TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "bigendian", " -mbig-endian", " -mlittle-endi…
31 TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "barrel-shift", " -mxl-barrel-shift", " -mno-…
32 TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "pattern-compare", " -mxl-pattern-compare", "…
33 TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "frequency-optimized", " -mxl-frequency", "",…
34 TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "64-bit", " -m64", "", d)}"
37 TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "reorder", \
38 bb.utils.contains("TUNE_FEATURES", "v8.30", \
[all …]
/openbmc/openbmc/poky/meta/lib/oe/package_manager/
H A Dcommon_deb_ipk.py12 import bb
38 bb.fatal("Unable to list available packages. Command '%s' "
41 bb.note("Command '%s' returned stderr: %s" % (cmd, proc.stderr))
53 bb.fatal("Unable to get information for package '%s' while "
56 ar_cmd = bb.utils.which(os.getenv("PATH"), "ar")
57 tar_cmd = bb.utils.which(os.getenv("PATH"), "tar")
61 bb.fatal("Unable to extract package for '%s'."
73 bb.fatal("Unable to extract %s package. Failed to identify "
80 bb.utils.remove(tmp_dir, recurse=True)
81 bb.fatal("Unable to extract %s package. Command '%s' "
[all …]

12345678910>>...89