/openbmc/linux/scripts/ |
H A D | Makefile.headersinst | 29 src-headers := $(if $(src-subdirs), $(shell cd $(src) && find $(src-subdirs) -name '*.h')) 30 src-headers := $(filter-out $(no-export-headers), $(src-headers)) 31 gen-headers := $(if $(gen-subdirs), $(shell cd $(gen) && find $(gen-subdirs) -name '*.h')) 32 gen-headers := $(filter-out $(no-export-headers), $(gen-headers)) 36 duplicated := $(filter $(gen-headers), $(src-headers)) 39 gen-headers := $(filter-out $(duplicated), $(gen-headers)) 43 src-headers := $(addprefix $(dst)/, $(src-headers)) 44 gen-headers := $(addprefix $(dst)/, $(gen-headers)) 45 all-headers := $(src-headers) $(gen-headers) 49 old-headers := $(if $(old-subdirs),$(shell find $(old-subdirs) -name '*.h')) [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | redfish_request.py | 67 def request_login(self, headers, url, credential, timeout=10): argument 86 if headers == "None": 87 headers = dict() 88 headers["Content-Type"] = "application/json" 101 self, headers=headers, url=url, data=credential 106 def request_get(self, headers, url, timeout=10, verify=False): argument 125 if headers.get("Content-Type", None) is None: 126 headers["Content-Type"] = "application/json" 133 + json.dumps(headers) 144 url, headers=headers, timeout=timeout, verify=verify [all …]
|
H A D | rest_client.robot | 46 ${headers}= Create Dictionary X-Auth-Token=${XAUTH_TOKEN} Accept=application/json 47 Set To Dictionary ${kwargs} headers ${headers} 72 ${headers}= Create Dictionary Content-Type=application/json 74 Set To Dictionary ${kwargs} headers ${headers} 97 ${headers}= Create Dictionary Content-Type=application/json 100 ${resp}= PUT On Session openbmc ${base_uri} json=${kwargs["data"]} headers=${headers} 121 ${headers} [all...] |
/openbmc/phosphor-misc/http-redirect/ |
H A D | test.awk | 12 function reportfail(resultfile, expect, request, headers) 21 for (h in headers) 22 print("headers:" headers[h]) 28 function test(code, expect, request, headers) 30 runtest(cmd, request, headers) 31 result = check(resultfile, code, expect, request, headers) 34 reportfail(resultfile, expect, request, headers) 37 function check(resultfile, code, expect, request, headers) 56 function runtest(cmd, request, headers, h, OORS) 64 for (h in headers) [all …]
|
H A D | http-redirect.awk | 48 headers[header] = headers[header] " " $0 70 if (header in headers) 71 prior = headers[header] ", " 72 headers[header] = prior content 74 trace("found header >"header"< with content >"headers[header]"<") 98 headers[header] = "" 133 if (!("HOST" in headers)) 136 host = headers["HOST"]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_assign_reuse.c | 22 } headers; variable 39 if (ctx->data + sizeof(headers.tcp) > ctx->data_end) in reuse_accept() 42 if (__builtin_memcmp(&headers.tcp, ctx->data, sizeof(headers.tcp)) != 0) in reuse_accept() 45 if (ctx->data + sizeof(headers.udp) > ctx->data_end) in reuse_accept() 48 if (__builtin_memcmp(&headers.udp, ctx->data, sizeof(headers.udp)) != 0) in reuse_accept() 89 __builtin_memcpy(&headers.tcp, th, sizeof(headers.tcp)); in maybe_assign_tcp() 102 __builtin_memcpy(&headers.udp, uh, sizeof(headers.udp)); in maybe_assign_udp()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 21 ice_tc_count_lkups(u32 flags, struct ice_tc_flower_lyr_2_4_hdrs *headers, in ice_tc_count_lkups() argument 358 struct ice_tc_flower_lyr_2_4_hdrs *headers = &tc_fltr->outer_headers; in ice_tc_fill_rules() local 377 headers = &tc_fltr->inner_headers; in ice_tc_fill_rules() 383 list[i].h_u.ethertype.ethtype_id = headers->l2_key.n_proto; in ice_tc_fill_rules() 384 list[i].m_u.ethertype.ethtype_id = headers->l2_mask.n_proto; in ice_tc_fill_rules() 392 l2_key = &headers->l2_key; in ice_tc_fill_rules() 393 l2_mask = &headers->l2_mask; in ice_tc_fill_rules() 419 list[i].h_u.vlan_hdr.vlan = headers->vlan_hdr.vlan_id; in ice_tc_fill_rules() 431 headers->vlan_hdr.vlan_prio; in ice_tc_fill_rules() 438 vlan_tpid = be16_to_cpu(headers->vlan_hdr.vlan_tpid); in ice_tc_fill_rules() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/ |
H A D | 0011-eglibc-Help-bootstrap-cross-toolchain.patch | 10 * Makefile (install-headers): Preserve old behavior: depend on 11 $(inst_includedir)/gnu/stubs.h only if install-bootstrap-headers 16 * Makefile: Amend make install-headers to install everything 18 part of 'install-headers', not 'install-others'. 19 If install-bootstrap-headers is 'yes', install a dummy copy of 43 +# other headers, so 'make install-headers' produces a useable include 46 +ifeq ($(install-bootstrap-headers),yes) 47 +install-headers: $(inst_includedir)/gnu/stubs.h 53 headers += gnu/lib-names.h 62 +ifeq ($(install-bootstrap-headers),yes) [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/samba/samba/ |
H A D | 0004-Add-options-to-configure-the-use-of-libbsd.patch | 46 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 50 - conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h') 51 - if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'): 52 - conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h') 54 - conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h') 57 - conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h') 61 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 65 + conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h') 66 + if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'): 67 + conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h') [all …]
|
/openbmc/bmcweb/scripts/ |
H A D | parse_registries.py | 419 // These generated headers are a superset of what is needed. 479 headers = [] 481 headers.append('"registries.hpp"') 484 headers.append('"error_message_utils.hpp"') 485 headers.append('"http_response.hpp"') 486 headers.append('"logging.hpp"') 487 headers.append("<boost/beast/http/field.hpp>") 488 headers.append("<boost/beast/http/status.hpp>") 489 headers.append("<boost/url/url_view_base.hpp>") 490 headers [all...] |
/openbmc/linux/Documentation/kbuild/ |
H A D | headers_install.rst | 2 Exporting kernel headers for use by userspace 13 from the "linux" subdirectory. The system's libc headers are usually 14 installed at the default location /usr/include and the kernel headers in 18 Kernel headers are backwards compatible, but not forwards compatible. This 19 means that a program built against a C library using older kernel headers 21 features), but a program built against newer kernel headers may not work on an 30 ARCH indicates which architecture to produce headers for, and defaults to the 31 current architecture. The linux/asm directory of the exported kernel headers 37 INSTALL_HDR_PATH indicates where to install the headers. It defaults to 41 headers are installed in 'INSTALL_HDR_PATH/include'.
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | comminit.c | 268 q->headers.producer = (__le32 *)mem; in aac_queue_init() 269 q->headers.consumer = (__le32 *)(mem+1); in aac_queue_init() 270 *(q->headers.producer) = cpu_to_le32(qsize); in aac_queue_init() 271 *(q->headers.consumer) = cpu_to_le32(qsize); in aac_queue_init() 372 u32 *headers; in aac_comm_init() local 391 if (!aac_alloc_comm(dev, (void * *)&headers, size, QUEUE_ALIGNMENT)) in aac_comm_init() 394 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init() 398 aac_queue_init(dev, &comm->queue[HostNormCmdQueue], headers, HOST_NORM_CMD_ENTRIES); in aac_comm_init() 400 headers += 2; in aac_comm_init() 404 aac_queue_init(dev, &comm->queue[HostHighCmdQueue], headers, HOST_HIGH_CMD_ENTRIES); in aac_comm_init() [all …]
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | sched-migration.py | 333 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state, argument 338 on_cpu_task = self.current_tsk[headers.cpu] 342 headers.ts_format(), headers.cpu, prev_comm, prev_pid, next_comm, next_pid) 346 self.current_tsk[headers.cpu] = next_pid 348 ts = self.timeslices.get_time_slice(headers.ts()) 349 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu) 351 def migrate(self, headers, pid, prio, orig_cpu, dest_cpu): argument 352 ts = self.timeslices.get_time_slice(headers.ts()) 355 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument 358 ts = self.timeslices.get_time_slice(headers.ts()) [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | pcie_intel_fpga.c | 183 static void tlp_write_packet(struct intel_fpga_pcie *pcie, u32 *headers, in tlp_write_packet() argument 186 tlp_write_tx(pcie, headers[0], RP_TX_SOP); in tlp_write_packet() 188 tlp_write_tx(pcie, headers[1], 0); in tlp_write_packet() 190 tlp_write_tx(pcie, headers[2], 0); in tlp_write_packet() 198 u32 headers[TLP_HDR_SIZE]; in tlp_cfg_dword_read() local 201 headers[0] = TLP_CFGRD_DW0(pcie, busno); in tlp_cfg_dword_read() 202 headers[1] = TLP_CFG_DW1(pcie, TLP_READ_TAG, byte_en); in tlp_cfg_dword_read() 203 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_read() 205 tlp_write_packet(pcie, headers, 0); in tlp_cfg_dword_read() 213 u32 headers[TLP_HDR_SIZE]; in tlp_cfg_dword_write() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-graphics/cogl/cogl-1.0/ |
H A D | 0001-configure.ac-don-t-require-eglmesaext.h.patch | 12 fixes commit fb1acfec ("Fix building against libglvnd-provided EGL headers") 32 - [AC_MSG_ERROR([Unable to locate required EGL headers])]) 36 - [AC_MSG_ERROR([Unable to locate required EGL headers])], 41 - [AC_MSG_ERROR([Unable to locate required EGL headers])], 55 +dnl Test for the existence of egl headers. 57 +dnl In that case AC_CHECK_HEADERS failes if X11 headers are not available. 60 +dnl require additional headers. 64 + [AC_MSG_ERROR([Unable to locate required EGL headers])], 72 + [AC_MSG_ERROR([Unable to locate required EGL headers])],
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-test/cunit/files/ |
H A D | fixup-install-docdir.patch | 15 diff -uNr a/doc/headers/Makefile.am b/doc/headers/Makefile.am 16 --- a/doc/headers/Makefile.am 2014-10-30 22:06:29.704574162 +0100 17 +++ b/doc/headers/Makefile.am 2014-10-30 22:07:43.578524791 +0100 21 -dochdrdir = $(prefix)/doc/@PACKAGE@/headers 22 +dochdrdir = $(docdir)/headers
|
/openbmc/qemu/scripts/ |
H A D | update-linux-headers.sh | 37 usage: update-kernel-headers.sh LINUX_PATH [OUTPUT_PATH] 39 LINUX_PATH Linux kernel directory to obtain the headers from 135 cat <<EOF >$output/linux-headers/asm-$arch/$header 174 cat <<EOF >$output/linux-headers/asm-$arch/kvm_para.h 233 cat <<EOF >$output/linux-headers/linux/kvm_para.h 237 cat <<EOF >$output/linux-headers/linux/virtio_config.h 240 cat <<EOF >$output/linux-headers/linux/virtio_ring.h 243 cat <<EOF >$output/linux-headers/linux/vhost_types.h 271 cat <<EOF >$output/include/standard-headers/linux/types.h 276 cat <<EOF >$output/include/standard-headers/linux/if_ether.h
|
/openbmc/openbmc-test-automation/redfish/service_root/ |
H A D | test_service_root.robot | 65 ${headers}= Create Dictionary Content-Type=application/json 69 ... openbmc /redfish/v1/SessionService/Sessions headers=${headers} 111 ${headers}= Create Dictionary Content-Type=application/json 114 …}= POST On Session openbmc /redfish/v1/SessionService/Sessions data=${data} headers=${headers} 117 ${headers}= Create Dictionary Content-Type=application/json 118 ... X-Auth-Token=${resp.headers["X-Auth-Token"]} 119 …{resp}= DELETE On Session openbmc ${REDFISH_SESSION}${/}${resp.json()["Id"]} headers=${headers}
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-altera.c | 99 void (*tlp_write_pkt)(struct altera_pcie *pcie, u32 *headers, 284 static void tlp_write_packet(struct altera_pcie *pcie, u32 *headers, in tlp_write_packet() argument 289 tlp_rp_regdata.reg0 = headers[0]; in tlp_write_packet() 290 tlp_rp_regdata.reg1 = headers[1]; in tlp_write_packet() 295 tlp_rp_regdata.reg0 = headers[2]; in tlp_write_packet() 303 tlp_rp_regdata.reg0 = headers[2]; in tlp_write_packet() 311 static void s10_tlp_write_packet(struct altera_pcie *pcie, u32 *headers, in s10_tlp_write_packet() argument 314 s10_tlp_write_tx(pcie, headers[0], RP_TX_SOP); in s10_tlp_write_packet() 315 s10_tlp_write_tx(pcie, headers[1], 0); in s10_tlp_write_packet() 316 s10_tlp_write_tx(pcie, headers[2], 0); in s10_tlp_write_packet() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | wget.py | 191 headers = dict(req.unredirected_hdrs) 192 headers.update(dict((k, v) for k, v in list(req.headers.items()) 193 if k not in headers)) 204 headers["Connection"] = "close" 206 headers["Connection"] = "Keep-Alive" # Works for HTTP/1.0 208 headers = dict( 209 (name.title(), val) for name, val in list(headers.items())) 214 if proxy_auth_hdr in headers: 215 tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] 218 del headers[proxy_auth_hdr] [all …]
|
/openbmc/openbmc-tools/openbmctool/ |
H A D | openbmctool.py | 69 self.conn.request("GET",uri, headers={"X-Auth-Token":token}) 116 resp = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout) 130 …resp = mysess.post('https://'+args.host+'/login', headers=jsonHeader,json={"data":[args.user,args.… 132 cookie = resp.headers['Set-Cookie'] 405 resp = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout) 435 …r = mysess.post('https://'+host+'/login', headers=jsonHeader, json = {"data": [username, pw]}, ver… 437 cookie = r.headers['Set-Cookie'] 477 …r = session.post('https://'+host+'/logout', headers=jsonHeader,json = {"data": [username, pw]}, ve… 506 res = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout) 550 res = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout) [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt/ |
H A D | 720240501dca0b4eacc3295665d7ced8719e11d2.patch | 29 "headers": { 52 "headers": { 99 "headers": { 122 "headers": { 169 "headers": { 192 "headers": { 239 "headers": { 262 "headers": { 309 "headers": { 332 "headers": { [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtalloc/libtalloc/ |
H A D | 0001-talloc-Add-configure-options-for-packages.patch | 103 if not conf.CHECK_DECLS('malloc', headers='stdlib.h'): 124 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 132 - # headers to replace.h. 139 - conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h') 140 - if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'): 141 - conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h') 143 - conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h') 146 - conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h') 150 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 158 + # headers to replace.h. [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtevent/libtevent/ |
H A D | 0001-Add-configure-options-for-packages.patch | 119 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 127 - # headers to replace.h. 134 - conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h') 135 - if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'): 136 - conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h') 138 - conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h') 141 - conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h') 145 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 153 + # headers to replace.h. 160 + conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h') [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtdb/libtdb/ |
H A D | 0001-tdb-Add-configure-options-for-packages.patch | 115 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 123 - # headers to replace.h. 130 - conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h') 131 - if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'): 132 - conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h') 134 - conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h') 137 - conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h') 141 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 149 + # headers to replace.h. 156 + conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h') [all …]
|