/freebsd-11-stable/lib/libc/posix1e/ |
H A D | acl_from_text.c | 87 uid_t id; local 145 id = 0; 150 error = _acl_name_to_id(t, qualifier, &id); 160 error = _posix1e_acl_add_entry(aclp, t, id, p); 274 _acl_name_to_id(acl_tag_t tag, char *name, uid_t *id) argument 290 *id = (uid_t)l; 293 *id = p->pw_uid; 304 *id = (gid_t)l; 307 *id = g->gr_gid;
|
/freebsd-11-stable/usr.bin/numactl/ |
H A D | numactl.c | 136 set_numa_domain_cpuaffinity(int cpu_domain, cpuwhich_t which, id_t id) argument 145 error = cpuset_setaffinity(CPU_LEVEL_WHICH, which, id, sizeof(set), 160 id_t id; local 167 id = -1; 242 id = tid; 245 id = pid; 264 error = numa_getaffinity(which, id, &vd); 276 error = numa_setaffinity(which, id, &vd); 282 (void) set_numa_domain_cpuaffinity(cpu_domain, which, id);
|
/freebsd-11-stable/lib/libutil/ |
H A D | quotafile.c | 281 quota_read32(struct quotafile *qf, struct dqblk *dqb, int id) argument 286 off = id * sizeof(struct dqblk32); 309 quota_read64(struct quotafile *qf, struct dqblk *dqb, int id) argument 314 off = sizeof(struct dqhdr64) + id * sizeof(struct dqblk64); 337 quota_read(struct quotafile *qf, struct dqblk *dqb, int id) argument 343 return (quotactl(qf->fsname, qcmd, id, dqb)); 347 return (quota_read32(qf, dqb, id)); 349 return (quota_read64(qf, dqb, id)); 360 quota_write32(struct quotafile *qf, const struct dqblk *dqb, int id) argument 374 off = id * sizeo 383 quota_write64(struct quotafile *qf, const struct dqblk *dqb, int id) argument 406 quota_write_usage(struct quotafile *qf, struct dqblk *dqb, int id) argument 454 quota_write_limits(struct quotafile *qf, struct dqblk *dqb, int id) argument 521 int serrno, maxid, id, fd; local [all...] |
/freebsd-11-stable/contrib/tcsh/ |
H A D | vms.termcap.c | 145 * to id. Returns the value, -1 if invalid. 148 tgetnum(char *id) argument 153 if ((cp = capab) == NULL || id == NULL) 160 if (strncmp(cp, id, CAPABLEN) == 0) { 176 * tgetflag - get the boolean flag corresponding to id. Returns -1 181 tgetflag(char *id) argument 185 if ((cp = capab) == NULL || id == NULL) 192 if (strncmp(cp, id, CAPABLEN) == 0) 201 * tgetstr - get the string capability corresponding to id and place 206 tgetstr(char *id, cha argument [all...] |
/freebsd-11-stable/sys/contrib/ncsw/inc/Peripherals/ |
H A D | dpaa_ext.h | 62 volatile uint32_t id; /**< FD id */ member in struct:t_DpaaFD 98 #define DPAA_FD_GET_DD(fd) ((((t_DpaaFD *)fd)->id & DPAA_FD_DD_MASK) >> (31-1)) /**< Macro to get FD DD field */ 99 #define DPAA_FD_GET_PID(fd) (((((t_DpaaFD *)fd)->id & DPAA_FD_PID_MASK) >> (31-7)) | \ 100 ((((t_DpaaFD *)fd)->id & DPAA_FD_ELIODN_MASK) >> (31-19-6))) /**< Macro to get FD PID field */ 101 #define DPAA_FD_GET_BPID(fd) ((((t_DpaaFD *)fd)->id & DPAA_FD_BPID_MASK) >> (31-15)) /**< Macro to get FD BPID field */ 102 #define DPAA_FD_GET_ADDRH(fd) (((t_DpaaFD *)fd)->id & DPAA_FD_ADDRH_MASK) /**< Macro to get FD ADDRH field */ 111 #define DPAA_FD_SET_DD(fd,val) (((t_DpaaFD *)fd)->id = ((((t_DpaaFD *)fd)->id & ~DPAA_FD_DD_MASK) | (((val) << (31-1)) & DPAA_FD_DD_MASK ))) /**< Macro to set FD DD field */ 113 #define DPAA_FD_SET_PID(fd,val) (((t_DpaaFD *)fd)->id [all...] |
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | keytab_any.c | 57 any_resolve(krb5_context context, const char *name, krb5_keytab id) argument 91 id->data = a0; 100 krb5_keytab id, 104 struct any_data *a = id->data; 111 krb5_keytab id) 113 struct any_data *a = id->data; 126 krb5_keytab id, 129 struct any_data *a = id->data; 155 krb5_keytab id, 187 krb5_keytab id, 99 any_get_name(krb5_context context, krb5_keytab id, char *name, size_t namesize) argument 110 any_close(krb5_context context, krb5_keytab id) argument 125 any_start_seq_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *c) argument 154 any_next_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor) argument 186 any_end_seq_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor) argument 202 any_add_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry) argument 222 any_remove_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry) argument [all...] |
/freebsd-11-stable/lib/libc/net/ |
H A D | eui64.c | 202 eui64_ntoa(const struct eui64 *id, char *a, size_t len) argument 207 id->octet[0], id->octet[1], id->octet[2], id->octet[3], 208 id->octet[4], id->octet[5], id->octet[6], id->octet[7]); 218 eui64_ntohost(char *hostname, size_t len, const struct eui64 *id) argument 269 eui64_hostton(const char *hostname, struct eui64 *id) argument [all...] |
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | mp_machdep.c | 357 cpu_init_fdt(u_int id, phandle_t node, u_int addr_size, pcell_t *reg) argument 363 if (id > mp_maxid) 366 KASSERT(id < MAXCPU, ("Too many CPUs")); 370 cpu_reg[id][0] = reg[0]; 372 cpu_reg[id][1] = reg[1]; 381 pcpup = &__pcpu[id]; 384 if (id == 0) { 389 pcpu_init(pcpup, id, sizeof(struct pcpu)); 392 dpcpu[id - 1] = (void *)kmem_malloc(kernel_arena, DPCPU_SIZE, 394 dpcpu_init(dpcpu[id [all...] |
/freebsd-11-stable/sys/dev/sfxge/common/ |
H A D | efx_sram.c | 40 __in uint32_t id, 45 uint32_t start = id; 78 for (id = start; id != stop; id++) { 88 id, &qword); 101 EFSYS_ASSERT3U(id, ==, stop); 112 id - 1, &qword); 127 while (--id != start) { 132 id 38 efx_sram_buf_tbl_set( __in efx_nic_t *enp, __in uint32_t id, __in efsys_mem_t *esmp, __in size_t n) argument 165 efx_sram_buf_tbl_clear( __in efx_nic_t *enp, __in uint32_t id, __in size_t n) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/x509v3/ |
H A D | v3_sxnet.c | 111 SXNETID *id; 116 id = sk_SXNETID_value(sx->ids, i); 117 tmp = i2s_ASN1_INTEGER(NULL, id->zone); 120 M_ASN1_OCTET_STRING_print(out, id->user); 151 /* Add an id given the zone as an ASCII number */ 163 /* Add an id given the zone as an unsigned long */ 179 * Add an id given the zone as an ASN1_INTEGER. Note this version uses the 187 SXNETID *id = NULL; 212 if (!(id = SXNETID_new())) 217 if (!M_ASN1_OCTET_STRING_set(id [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_report.cpp | 59 static void DescribeOrigin(u32 id) { argument 60 VPrintf(1, " raw origin id: %d\n", id); 62 Origin o = Origin::FromRawId(id); 158 int id = next_id_++; local 159 origins_[id] = o; 160 return id; 163 u32 get(int id) { return origins_[id]; } argument 164 static char asChar(int id) { argument 227 int id = OriginSet::MISSING; local [all...] |
H A D | msan_chained_origin_depot.cpp | 25 u32 id; member in struct:__msan::ChainedOriginDepotNode 45 * (8 bits) Part id = bits 13..20 of the hash value of here_id's key. 92 u32 id() { return node_->id; } function in struct:__msan::ChainedOriginDepotNode::Handle 112 *new_id = h.valid() ? h.id() : 0; 116 // Retrieves a stored stack trace by the id. 117 u32 ChainedOriginDepotGet(u32 id, u32 *other) { argument 118 ChainedOriginDepotDesc desc = chainedOriginDepot.Get(id);
|
/freebsd-11-stable/contrib/unbound/util/ |
H A D | module.h | 233 /** module id */ 234 int id; member in struct:inplace_cb 240 * region, id, python_callback) 254 * id: module id. 261 struct timeval* start_time, int id, void* callback); 266 * id, python_callback) 278 * id: module id. 284 int id, voi [all...] |
H A D | fptr_wlist.h | 270 int fptr_whitelist_mod_init(int (*fptr)(struct module_env* env, int id)); 278 int fptr_whitelist_mod_deinit(void (*fptr)(struct module_env* env, int id)); 287 enum module_ev event, int id, struct outbound_entry* outbound)); 296 struct module_qstate* qstate, int id, struct module_qstate* super)); 305 int id)); 313 int fptr_whitelist_mod_get_mem(size_t (*fptr)(struct module_env* env, int id)); 316 * Check function pointer whitelist for alloc clear on id overflow call values.
|
/freebsd-11-stable/usr.bin/id/ |
H A D | id.c | 38 static char sccsid[] = "@(#)id.c 8.2 (Berkeley) 2/16/94"; 79 int Gflag, Mflag, Pflag, ch, gflag, id, nflag, pflag, rflag, uflag; local 178 id = pw ? pw->pw_gid : rflag ? getgid() : getegid(); 179 if (nflag && (gr = getgrgid(id))) 182 (void)printf("%u\n", id); 187 id = pw ? pw->pw_uid : rflag ? getuid() : geteuid(); 188 if (nflag && (pw = getpwuid(id))) 191 (void)printf("%u\n", id); 219 id = getuid(); 220 pw = getpwuid(id); 381 int cnt, id, lastid, ngroups; local 445 long id; local [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | cred.h | 140 * Private interface for setting project id in credential. 164 #define VALID_UID(id, zn) \ 165 ((id) <= MAXUID || valid_ephemeral_uid((zn), (id))) 167 #define VALID_GID(id, zn) \ 168 ((id) <= MAXUID || valid_ephemeral_gid((zn), (id)))
|
/freebsd-11-stable/sys/dev/bwn/ |
H A D | bwn_mac.c | 73 const struct bwn_device *id; local 75 for (id = bwn_devices; id->device != BHND_COREID_INVALID; id++) 77 if (bhnd_get_vendor(dev) == id->vendor && 78 bhnd_get_device(dev) == id->device)
|
/freebsd-11-stable/tools/tools/net80211/w00t/redir/ |
H A D | buddy.c | 56 unsigned short id; local 73 id = ih->ip_id; 76 printf("Got %d bytes [%d]\n", len, ntohs(id)); 82 memcpy(tmp, &id, 2); 83 id = htons(len); 84 memcpy(&tmp[2], &id, 2);
|
/freebsd-11-stable/sys/arm/nvidia/tegra124/ |
H A D | tegra124_pmc.c | 185 enum tegra_powergate_id id, int ena) 192 reg = RD4(sc, PMC_PWRGATE_STATUS) & PMC_PWRGATE_STATUS_PARTID(id); 209 PMC_PWRGATE_TOGGLE_START | PMC_PWRGATE_TOGGLE_PARTID(id)); 225 tegra_powergate_remove_clamping(enum tegra_powergate_id id) argument 234 if (id == TEGRA_POWERGATE_3D) { 240 if ((reg & PMC_PWRGATE_STATUS_PARTID(id)) == 0) 243 if (id == TEGRA_POWERGATE_PCX) 245 else if (id == TEGRA_POWERGATE_VDE) 248 swid = id; 261 if ((reg & PMC_CLAMP_STATUS_PARTID(id)) ! 184 tegra124_pmc_set_powergate(struct tegra124_pmc_softc *sc, enum tegra_powergate_id id, int ena) argument 268 tegra_powergate_is_powered(enum tegra_powergate_id id) argument 280 tegra_powergate_power_on(enum tegra_powergate_id id) argument 305 tegra_powergate_power_off(enum tegra_powergate_id id) argument 329 tegra_powergate_sequence_power_up(enum tegra_powergate_id id, clk_t clk, hwreset_t rst) argument [all...] |
/freebsd-11-stable/contrib/unbound/respip/ |
H A D | respip.h | 195 int respip_init(struct module_env* env, int id); 198 void respip_deinit(struct module_env* env, int id); 201 void respip_operate(struct module_qstate* qstate, enum module_ev event, int id, 205 void respip_inform_super(struct module_qstate* qstate, int id, 209 void respip_clear(struct module_qstate* qstate, int id); 230 size_t respip_get_mem(struct module_env* env, int id);
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/ |
H A D | dag.c | 41 #include "id.h" 76 never change, like its 'id' or 'kind'. Our best bet is to 84 svn_fs_id_t *id; 106 return node->id; 135 const svn_fs_id_t *id, 145 new_node->id = svn_fs_base__id_copy(id, pool); 148 SVN_ERR(svn_fs_bdb__get_node_revision(&noderev, fs, id, trail, pool)); 166 /* Use the txn ID from the NODE's id to look up the transaction and 182 SVN_ERR(svn_fs_bdb__get_node_revision(&noderev, node->fs, node->id, 83 svn_fs_id_t *id; member in struct:dag_node_t 131 svn_fs_base__dag_get_node(dag_node_t **node, svn_fs_t *fs, const svn_fs_id_t *id, trail_t *trail, apr_pool_t *pool) argument 371 set_entry(dag_node_t *parent, const char *name, const svn_fs_id_t *id, const char *txn_id, trail_t *trail, apr_pool_t *pool) argument 518 svn_fs_base__dag_set_entry(dag_node_t *node, const char *entry_name, const svn_fs_id_t *id, const char *txn_id, trail_t *trail, apr_pool_t *pool) argument 853 svn_fs_id_t *id = NULL; local 955 svn_fs_base__dag_remove_node(svn_fs_t *fs, const svn_fs_id_t *id, const char *txn_id, trail_t *trail, apr_pool_t *pool) argument 998 svn_fs_base__dag_delete_if_mutable(svn_fs_t *fs, const svn_fs_id_t *id, const char *txn_id, trail_t *trail, apr_pool_t *pool) argument 1400 const svn_fs_id_t *id; local 1685 const svn_fs_id_t *id = svn_fs_base__dag_get_id(node); local 1706 const svn_fs_id_t *id = svn_fs_base__dag_get_id(node); local 1746 const svn_fs_id_t *id = svn_fs_base__dag_get_id(node); local [all...] |
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_netgraph/ |
H A D | snmp_netgraph.c | 93 ng_ID_t id; member in struct:msgreg 141 ng_register_cookie(const struct lmodule *mod, u_int32_t cookie, ng_ID_t id, argument 150 d->id = id; 245 u_int id; local 248 if (sscanf(path, "[%x]:%n", &id, &len) != 1 || 251 id = 0; 258 (d->id == 0 || d->id == id || i 429 ng_dialog_id(ng_ID_t id, u_int cookie, u_int opcode, const void *arg, size_t arglen) argument 557 ng_ID_t id; local 570 ng_ID_t id; local 580 ng_node_name(ng_ID_t id, char *name) argument 593 ng_node_type(ng_ID_t id, char *type) argument 620 ng_connect_id(ng_ID_t id, const char *ourhook, const char *peerhook) argument 632 ng_connect2_id(ng_ID_t id, ng_ID_t peer, const char *ourhook, const char *peerhook) argument 648 ng_connect2_tee_id(ng_ID_t id, ng_ID_t peer, const char *ourhook, const char *peerhook) argument 730 ng_mkpeer_id(ng_ID_t id, const char *nodename, const char *type, const char *hook, const char *peerhook) argument 763 ng_shutdown_id(ng_ID_t id) argument 789 ng_rmhook_id(ng_ID_t id, const char *hook) argument 1198 int id; local 1345 ng_ID_t id = oid->subs[sub]; local 1376 ng_ID_t id; local 1471 find_hook(int32_t id, const u_char *hook, size_t hooklen, struct linkinfo *info) argument [all...] |
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | notify.c | 113 "id=%d state=%d BSSID=" MACSTR " SSID=%s", 114 wpa_s->current_ssid ? wpa_s->current_ssid->id : -1, 239 wpas_dbus_signal_network_selected(wpa_s, ssid->id); 371 wpas_dbus_unregister_persistent_group(wpa_s, ssid->id); 385 wpas_dbus_unregister_network(wpa_s, ssid->id); 394 u8 bssid[], unsigned int id) 399 wpas_dbus_register_bss(wpa_s, bssid, id); 401 id, MAC2STR(bssid)); 406 u8 bssid[], unsigned int id) 411 wpas_dbus_unregister_bss(wpa_s, bssid, id); 393 wpas_notify_bss_added(struct wpa_supplicant *wpa_s, u8 bssid[], unsigned int id) argument 405 wpas_notify_bss_removed(struct wpa_supplicant *wpa_s, u8 bssid[], unsigned int id) argument 417 wpas_notify_bss_freq_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 427 wpas_notify_bss_signal_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 438 wpas_notify_bss_privacy_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 449 wpas_notify_bss_mode_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 459 wpas_notify_bss_wpaie_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 469 wpas_notify_bss_rsnie_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 479 wpas_notify_bss_wps_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 491 wpas_notify_bss_ies_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 501 wpas_notify_bss_rates_changed(struct wpa_supplicant *wpa_s, unsigned int id) argument 511 wpas_notify_bss_seen(struct wpa_supplicant *wpa_s, unsigned int id) argument 723 wpas_notify_p2p_invitation_received(struct wpa_supplicant *wpa_s, const u8 *sa, const u8 *go_dev_addr, const u8 *bssid, int id, int op_freq) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/ |
H A D | cryptlib.c | 427 void CRYPTO_THREADID_set_numeric(CRYPTO_THREADID *id, unsigned long val) argument 429 memset(id, 0, sizeof(*id)); 430 id->val = val; 435 void CRYPTO_THREADID_set_pointer(CRYPTO_THREADID *id, void *ptr) argument 437 unsigned char *dest = (void *)&id->val; 439 unsigned char dnum = sizeof(id->val); 441 memset(id, 0, sizeof(*id)); 442 id 491 CRYPTO_THREADID_current(CRYPTO_THREADID *id) argument 527 CRYPTO_THREADID_hash(const CRYPTO_THREADID *id) argument 568 CRYPTO_THREADID id; local 619 CRYPTO_THREADID id; local 632 CRYPTO_THREADID id; local [all...] |
/freebsd-11-stable/usr.sbin/repquota/ |
H A D | repquota.c | 98 static int nflag; /* display user/group by id */ 202 u_long id, maxid; local 226 for (id = 0; id <= maxid; id++) { 227 if (quota_read(qf, &dqbuf, id) != 0) 231 if ((fup = lookup(id, type)) == 0) 232 fup = addid(id, type, (char *)0); 297 * Lookup an id of a specific type. 300 lookup(u_long id, in argument 314 addid(u_long id, int type, char *name) argument [all...] |