/freebsd/crypto/heimdal/lib/kafs/ |
H A D | common.c | 2 * Copyright (c) 1997 - 2005 Kungliga Tekniska Högskolan 10 * 1. Redistributions of source code must retain the above copyright 44 #define ToAsciiUpper(c) ((c) - 'a' + 'A') 70 kafs_settoken_rxkad(const char *cell, struct ClearToken *ct, in kafs_settoken_rxkad() argument 96 * do *not* mark as primary cell in kafs_settoken_rxkad() 102 * follow with cell name in kafs_settoken_rxkad() 104 sizeof_x = strlen(cell) + 1; in kafs_settoken_rxkad() 105 memcpy(t, cell, sizeof_x); in kafs_settoken_rxkad() 112 parms.in_size = t - buf; in kafs_settoken_rxkad() 122 #define ODD(x) ((x) & 1) in _kafs_fixup_viceid() [all …]
|
H A D | kafs.3 | 1 .\" Copyright (c) 1998 - 2006 Kungliga Tekniska Högskolan 9 .\" 1. Redistributions of source code must retain the above copyright 34 .Dd May 1, 2006 54 AFS cache manager access library (libkafs, -lkafs) 58 .Fn k_afs_cell_of_file "const char *path" "char *cell" "int len" 72 .Fn kafs_settoken_rxkad "const char *cell" "struct ClearToken *token" "void *ticket" "size_t ticket… 74 .Fn kafs_settoken "const char *cell" "uid_t uid" "CREDENTIALS *c" 75 .Fn krb_afslog "char *cell" "char *realm" 77 .Fn krb_afslog_uid "char *cell" "char *realm" "uid_t uid" 79 .Fn krb5_afslog_uid "krb5_context context" "krb5_ccache id" "const char *cell" "krb5_const_realm re… [all …]
|
H A D | afskrb5.c | 2 * Copyright (c) 1995-2003 Kungliga Tekniska Högskolan 10 * 1. Redistributions of source code must retain the above copyright 52 kt->ticket = NULL; in v5_to_kt() 55 if (cred->session.keyvalue.length != 8) in v5_to_kt() 66 ret = decode_Ticket(cred->ticket.data, cred->ticket.length, &t, &len); in v5_to_kt() 70 return -1; in v5_to_kt() 82 kt->ticket = buf; in v5_to_kt() 83 kt->ticket_len = buf_len; in v5_to_kt() 87 kt->ticket = malloc(cred->ticket.length); in v5_to_kt() 88 if (kt->ticket == NULL) in v5_to_kt() [all …]
|
/freebsd/crypto/heimdal/appl/afsutil/ |
H A D | afslog.c | 2 * Copyright (c) 1997-2003 Kungliga Tekniska Högskolan 10 * 1. Redistributions of source code must retain the above copyright 57 static int use_krb5 = 1; 61 { "cell", 'c', arg_strings, &cells, "cells to get tokens for", "cell" }, 63 { "realm", 'k', arg_string, &realm, "realm for afs cell", "realm" }, 83 expand_one_file(FILE *f, const char *cell) in expand_one_file() argument 93 if(strncmp(buf + 1, cell, strlen(cell)) == 0) in expand_one_file() 94 return buf + 1; in expand_one_file() 102 expand_cell_name(const char *cell) in expand_cell_name() argument 115 c = expand_one_file(f, cell); in expand_cell_name() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | ibm,emac.txt | 8 correct clock-frequency property. 13 - device_type : "network" 15 - compatible : compatible list, contains 2 entries, first is 16 "ibm,emac-CHIP" where CHIP is the host ASIC (440gx, 18 "ibm,emac4". For Axon, thus, we have: "ibm,emac-axon", 20 - interrupts : <interrupt mapping for EMAC IRQ and WOL IRQ> 21 - reg : <registers mapping> 22 - local-mac-address : 6 bytes, MAC address 23 - mal-device : phandle of the associated McMAL node 24 - mal-tx-channel : 1 cell, index of the tx channel on McMAL associated [all …]
|
H A D | fsl-fman.txt | 5 - FMan Node 6 - FMan Port Node 7 - FMan MURAM Node 8 - FMan dTSEC/XGEC/mEMAC Node 9 - FMan IEEE 1588 Node 10 - FMan MDIO Node 11 - Example 18 Due to the fact that the FMan is an aggregation of sub-engines (ports, MACs, 23 - compatible 32 - cell-index [all …]
|
/freebsd/contrib/mandoc/ |
H A D | tbl.7 | 36 .Xr mandoc 1 51 All input must be 7-bit ASCII. 54 case-insensitive options separated by spaces, tabs, or commas. 61 .Bl -tag -width Ds 63 Draw a single-line box around each table cell. 65 Draw a single-line box around the table. 69 Center the table instead of left-adjusting it. 73 Use the single-character argument as the decimal point with the 83 Draw a double-line box around the table. 102 Use the single-character argument as a delimiter between data cells. [all …]
|
/freebsd/sys/dts/powerpc/ |
H A D | p3041si.dtsi | 4 * Copyright 2010-2011 Freescale Semiconductor Inc. 35 /dts-v1/; 39 #address-cells = <2>; 40 #size-cells = <2>; 41 interrupt-parent = <&mpic>; 102 #address-cells = <1>; 103 #size-cells = <0>; 108 bus-frequency = <749999996>; 109 next-level-cache = <&L2_0>; 110 L2_0: l2-cache { [all …]
|
H A D | p2041si.dtsi | 35 /dts-v1/; 39 #address-cells = <2>; 40 #size-cells = <2>; 41 interrupt-parent = <&mpic>; 101 #address-cells = <1>; 102 #size-cells = <0>; 107 bus-frequency = <749999996>; 108 next-level-cache = <&L2_0>; 109 L2_0: l2-cache { 110 next-level-cache = <&cpc>; [all …]
|
H A D | p5020si.dtsi | 4 * Copyright 2010-2011 Freescale Semiconductor Inc. 35 /dts-v1/; 39 #address-cells = <2>; 40 #size-cells = <2>; 41 interrupt-parent = <&mpic>; 108 #address-cells = <1>; 109 #size-cells = <0>; 114 bus-frequency = <799999998>; 115 next-level-cache = <&L2_0>; 116 L2_0: l2-cache { [all …]
|
/freebsd/contrib/jemalloc/src/ |
H A D | ckh.c | 3 * Implementation of (2^1+,2) cuckoo hashing, where 2^1+ indicates that each 4 * hash bucket contains 2^n cells, for n >= 1, and 2 indicates that two hash 9 * 51(2):122-144. 20 * burden. Here is a reproduction of Figure 1 from Erlingsson et al. (2006) 25 * #hashes | 1 | 2 | 4 | 8 | 26 * --------+-------+-------+-------+-------+ 27 * 1 | 0.006 | 0.006 | 0.03 | 0.12 | 33 * line. So, on 32- and 64-bit systems, we use (8,2) and (4,2) cuckoo hashing, 51 /* Function prototypes for non-inline static functions. */ 59 * Search bucket for key and return the cell number if found; SIZE_T_MAX [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/powerpc/fsl/ |
H A D | mpic.txt | 14 - compatible 22 - reg 24 Value type: <prop-encoded-array> 29 - interrupt-controller 35 - #interrupt-cells 39 specifiers do not contain the interrupt-type or type-specific 42 - #address-cells 47 - pic-no-reset 53 configuration registers to a sane state-- masked or 60 - big-endian [all …]
|
H A D | dma.txt | 4 This is a little-endian 4-channel DMA controller, used in Freescale mpc83xx 9 - compatible : must include "fsl,elo-dma" 10 - reg : DMA General Status Register, i.e. DGSR which contains 12 - ranges : describes the mapping between the address space of the 14 - cell-index : controller index. 0 for controller @ 0x8100 15 - interrupts : interrupt specifier for DMA IRQ 17 - DMA channel nodes: 18 - compatible : must include "fsl,elo-dma-channel" 20 - reg : DMA channel specific registers 21 - cell-index : DMA channel index starts at 0. [all …]
|
/freebsd/sys/dev/nvmem/ |
H A D | nvmem.c | 1 /*- 7 * 1. Redistributions of source code must retain the above copyright 40 nvmem_get_cell_node(phandle_t node, int idx, phandle_t *cell) in nvmem_get_cell_node() argument 46 if (!OF_hasprop(node, "nvmem-cells") || in nvmem_get_cell_node() 47 !OF_hasprop(node, "nvmem-cell-names")) in nvmem_get_cell_node() 50 ncell = OF_getencprop_alloc_multi(node, "nvmem-cells", sizeof(*p_cell), (void **)&p_cell); in nvmem_get_cell_node() 64 *cell = cell_node; in nvmem_get_cell_node() 76 rv = ofw_bus_find_string_index(node, "nvmem-cell-names", name, &idx); in nvmem_get_cell_len() 86 printf("nvmem_get_cell_len: Cannot parse reg property of cell %s\n", in nvmem_get_cell_len() 91 return (reg[1]); in nvmem_get_cell_len() [all …]
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_subr.c | 1 /*- 9 * 1. Redistributions of source code must retain the above copyright 54 res = OF_getencprop(node, "#address-cells", &addr, sizeof(addr)); in get_addr_props() 55 if (res == -1) in get_addr_props() 57 res = OF_getencprop(node, "#size-cells", &size, sizeof(size)); in get_addr_props() 58 if (res == -1) in get_addr_props() 59 size = 1; in get_addr_props() 63 if (res != -1) { in get_addr_props() 64 type[sizeof(type) - 1] = '\0'; in get_addr_props() 67 pci = 1; in get_addr_props() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mips/cavium/ |
H A D | bootbus.txt | 7 - compatible: "cavium,octeon-3860-bootbus" 11 - reg: The base address of the Boot Bus' register bank. 13 - #address-cells: Must be <2>. The first cell is the chip select 14 within the bootbus. The second cell is the offset from the chip select. 16 - #size-cells: Must be <1>. 18 - ranges: There must be one one triplet of (child-bus-address, 19 parent-bus-address, length) for each active chip select. If the 27 - compatible: "cavium,octeon-3860-bootbus-config" 29 - cavium,cs-index: A single cell indicating the chip select that 32 - cavium,t-adr: A cell specifying the ADR timing (in nS). [all …]
|
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/ |
H A D | t4240si-post.dtsi | 4 * Copyright 2012 - 2015 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10000 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10000 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10000 0>; 51 #address-cells = <2>; 52 #size-cells = <1>; 53 compatible = "fsl,ifc", "simple-bus"; [all …]
|
/freebsd/share/man/man9/ |
H A D | nvmem.9 | 6 .\" 1. Redistributions of source code must retain the above copyright 40 .Fn nvmem_read_cell_by_name "phandle_t node" "const char *name" "void *cell" "size_t buflen" 42 .Fn nvmem_read_cell_by_idx "phandle_t node" "int idx" "void *cell" "size_t buflen" 44 .Fn nvmem_write_cell_by_name "phandle_t node" "const char *name" "void *cell" "size_t buflen" 46 .Fn nvmem_write_cell_by_idx "phandle_t node" "int idx" "void *cell" "size_t buflen" 49 (Non-Volatile Memory), this is generally stored in some eeprom or fuses. 56 .Bl -tag -width indent 58 Get the size of the cell base on the reg property on the node. 59 Return the size or ENOENT if the cell name wasn't found 60 .It Fn nvmem_read_cell_by_name "phandle_t node" "const char *name" "void *cell" "size_t buflen" [all …]
|
/freebsd/contrib/one-true-awk/ |
H A D | awk.h | 42 * We sometimes cheat writing read-only pointers to NUL-terminate them 47 #define NN(p) ((p) ? (p) : "(null)") /* guaranteed non-null for DPRINTF 67 extern size_t awk_mb_cur_max; /* max size of a multi-byte character */ 69 extern char EMPTY[]; /* this avoid -Wwritable-strings issues */ 87 extern int errorflag; /* 1 if error has occurred */ 95 /* Cell: all information about a variable or constant */ 97 typedef struct Cell { struct 105 struct Cell *cnext; /* ptr to next if chained */ argument 106 } Cell; typedef 111 Cell **tab; /* hash table pointers */ [all …]
|
H A D | tran.c | 50 Awkfloat *RSTART; /* start of re matched with ~; origin 1 (!) */ 53 Cell *fsloc; /* FS */ 54 Cell *nrloc; /* NR */ 55 Cell *nfloc; /* NF */ 56 Cell *fnrloc; /* FNR */ 57 Cell *ofsloc; /* OFS */ 58 Cell *orsloc; /* ORS */ 59 Cell *rsloc; /* RS */ 60 Cell *ARGVcell; /* cell with symbol table containing ARGV[...] */ 61 Cell *rstartloc; /* RSTART */ [all …]
|
H A D | run.c | 47 #if 1 50 void tempfree(Cell *p) { in tempfree() 51 if (p->ctype == OCELL && (p->csub < CUNK || p->csub > CFREE)) { in tempfree() 52 WARNING("bad csub %d in Cell %d %s", in tempfree() 53 p->csub, p->ctype, p->sval); in tempfree() 80 Cell *tmps; /* free temporary cells for execution */ 82 static Cell truecell ={ OBOOL, BTRUE, 0, 0, 1.0, NUM, NULL, NULL }; 83 Cell *True = &truecell; 84 static Cell falsecell ={ OBOOL, BFALSE, 0, 0, 0.0, NUM, NULL, NULL }; 85 Cell *False = &falsecell; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | qoriq-qman-portals.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 5 * Copyright 2011-2016 Freescale Semiconductor Inc. 10 #address-cells = <1>; 11 #size-cells = <1>; 12 compatible = "simple-bus"; 14 qportal0: qman-portal@0 { 16 * bootloader fix-ups are expected to provide the 17 * "fsl,bman-portal-<hardware revision>" compatible 19 compatible = "fsl,qman-portal"; 22 cell-index = <0>; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ |
H A D | stericsson,u8500-clks.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/stericsson,u8500-clks.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson DB8500 (U8500) clocks 10 - Ulf Hansson <ulf.hansson@linaro.org> 11 - Linus Walleij <linus.walleij@linaro.org> 14 DB8500 digital baseband system-on-chip and its siblings such as 16 itself, not off-chip clocks. There are four different on-chip 17 clocks - RTC (32 kHz), CPU clock (SMP TWD), PRCMU (power reset and [all …]
|
/freebsd/sys/powerpc/ofw/ |
H A D | ofw_initrd.c | 1 /*- 7 * 1. Redistributions of source code must retain the above copyright 58 pcell_t cell[2]; in ofw_initrd_probe_and_attach() local 70 if (!OF_hasprop(chosen, "linux,initrd-start") || in ofw_initrd_probe_and_attach() 71 !OF_hasprop(chosen, "linux,initrd-end")) in ofw_initrd_probe_and_attach() 74 size = OF_getencprop(chosen, "linux,initrd-start", cell, sizeof(cell)); in ofw_initrd_probe_and_attach() 76 start = cell[0]; in ofw_initrd_probe_and_attach() 78 start = (uint64_t)cell[0] << 32 | cell[1]; in ofw_initrd_probe_and_attach() 80 printf("ofw_initrd: Wrong linux,initrd-start size\n"); in ofw_initrd_probe_and_attach() 84 size = OF_getencprop(chosen, "linux,initrd-end", cell, sizeof(cell)); in ofw_initrd_probe_and_attach() [all …]
|
/freebsd/sys/contrib/device-tree/src/powerpc/ |
H A D | fsp2.dts | 12 /dts-v1/; 15 #address-cells = <2>; 16 #size-cells = <1>; 19 dcr-parent = <&{/cpus/cpu@0}>; 28 #address-cells = <1>; 29 #size-cells = <0>; 35 clock-frequency = <0>; /* Filled in by cuboot */ 36 timebase-frequency = <0>; /* Filled in by cuboot */ 37 i-cache-line-size = <32>; 38 d-cache-line-size = <32>; [all …]
|