Home
last modified time | relevance | path

Searched refs:gd (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/sys/rpc/rpcsec_gss/
H A Drpcsec_gss.c197 struct rpc_gss_data *gd, *tgd; in rpc_gss_secfind() local
220 TAILQ_FOREACH(gd, &rpc_gss_cache[h], gd_link) { in rpc_gss_secfind()
221 if (gd->gd_ucred->cr_uid == cred->cr_uid in rpc_gss_secfind()
222 && !strcmp(gd->gd_principal, principal) in rpc_gss_secfind()
223 && gd->gd_mech == mech_oid in rpc_gss_secfind()
224 && gd->gd_cred.gc_svc == service) { in rpc_gss_secfind()
225 refcount_acquire(&gd->gd_refs); in rpc_gss_secfind()
230 TAILQ_REMOVE(&rpc_gss_all, gd, gd_alllink); in rpc_gss_secfind()
231 TAILQ_INSERT_TAIL(&rpc_gss_all, gd, in rpc_gss_secfind()
244 if (gd->gd_state != RPCSEC_GSS_ESTABLISHED) { in rpc_gss_secfind()
[all …]
/freebsd/lib/librpcsec_gss/
H A Drpcsec_gss.c128 struct rpc_gss_data *gd; in rpc_gss_seccreate() local
170 gd = mem_alloc(sizeof(*gd)); in rpc_gss_seccreate()
171 if (gd == NULL) { in rpc_gss_seccreate()
179 auth->ah_private = (caddr_t) gd; in rpc_gss_seccreate()
185 GSS_C_NT_HOSTBASED_SERVICE, &gd->gd_name); in rpc_gss_seccreate()
193 gd->gd_options = *options_req; in rpc_gss_seccreate()
195 gd->gd_options.req_flags = GSS_C_MUTUAL_FLAG; in rpc_gss_seccreate()
196 gd->gd_options.time_req = 0; in rpc_gss_seccreate()
197 gd->gd_options.my_cred = GSS_C_NO_CREDENTIAL; in rpc_gss_seccreate()
198 gd->gd_options.input_channel_bindings = NULL; in rpc_gss_seccreate()
[all …]
/freebsd/contrib/wpa/src/rsn_supp/
H A Dwpa.c1330 const struct wpa_gtk_data *gd, in wpa_supplicant_install_gtk() argument
1333 const u8 *_gtk = gd->gtk; in wpa_supplicant_install_gtk()
1337 if ((sm->gtk.gtk_len == (size_t) gd->gtk_len && in wpa_supplicant_install_gtk()
1338 os_memcmp(sm->gtk.gtk, gd->gtk, sm->gtk.gtk_len) == 0) || in wpa_supplicant_install_gtk()
1339 (sm->gtk_wnm_sleep.gtk_len == (size_t) gd->gtk_len && in wpa_supplicant_install_gtk()
1340 os_memcmp(sm->gtk_wnm_sleep.gtk, gd->gtk, in wpa_supplicant_install_gtk()
1344 gd->keyidx, gd->tx, gd->gtk_len); in wpa_supplicant_install_gtk()
1348 wpa_hexdump_key(MSG_DEBUG, "WPA: Group Key", gd->gtk, gd->gtk_len); in wpa_supplicant_install_gtk()
1351 gd->keyidx, gd->tx, gd->gtk_len); in wpa_supplicant_install_gtk()
1352 wpa_hexdump(MSG_DEBUG, "WPA: RSC", key_rsc, gd->key_rsc_len); in wpa_supplicant_install_gtk()
[all …]
/freebsd/sys/fs/ext2fs/
H A Dext2_alloc.c495 e2fs_gd_get_b_bitmap(struct ext2_gd *gd) in e2fs_gd_get_b_bitmap() argument
498 return (((uint64_t)(le32toh(gd->ext4bgd_b_bitmap_hi)) << 32) | in e2fs_gd_get_b_bitmap()
499 le32toh(gd->ext2bgd_b_bitmap)); in e2fs_gd_get_b_bitmap()
503 e2fs_gd_get_i_bitmap(struct ext2_gd *gd) in e2fs_gd_get_i_bitmap() argument
506 return (((uint64_t)(le32toh(gd->ext4bgd_i_bitmap_hi)) << 32) | in e2fs_gd_get_i_bitmap()
507 le32toh(gd->ext2bgd_i_bitmap)); in e2fs_gd_get_i_bitmap()
511 e2fs_gd_get_i_tables(struct ext2_gd *gd) in e2fs_gd_get_i_tables() argument
514 return (((uint64_t)(le32toh(gd->ext4bgd_i_tables_hi)) << 32) | in e2fs_gd_get_i_tables()
515 le32toh(gd->ext2bgd_i_tables)); in e2fs_gd_get_i_tables()
519 e2fs_gd_get_nbfree(struct ext2_gd *gd) in e2fs_gd_get_nbfree() argument
[all …]
H A Dext2_csum.c673 ext2_gd_csum(struct m_ext2fs *fs, uint32_t block_group, struct ext2_gd *gd) in ext2_gd_csum() argument
686 csum32 = calculate_crc32c(csum32, (uint8_t *)gd, offset); in ext2_gd_csum()
692 csum32 = calculate_crc32c(csum32, (uint8_t *)gd + offset, in ext2_gd_csum()
702 crc = crc16(crc, (uint8_t *)gd, offset); in ext2_gd_csum()
703 offset += sizeof(gd->ext4bgd_csum); /* skip checksum */ in ext2_gd_csum()
706 crc = crc16(crc, (uint8_t *)gd + offset, in ext2_gd_csum()
H A Dext2_extern.h104 uint32_t e2fs_gd_get_ndirs(struct ext2_gd *gd);
/freebsd/usr.bin/mkimg/
H A Dvmdk.c109 uint32_t *gt, *gd, *rgd; in vmdk_write() local
148 gd = calloc(1, gdsz); in vmdk_write()
149 if (gd == NULL) { in vmdk_write()
156 le32enc(gd + n, sec); in vmdk_write()
162 free(gd); in vmdk_write()
185 free(gd); in vmdk_write()
206 if (!error && sparse_write(fd, gd, gdsz) < 0) in vmdk_write()
216 free(gd); in vmdk_write()
/freebsd/sys/dev/mana/
H A Dgdma_main.c632 struct gdma_dev *gd = queue->gdma_dev; in mana_gd_register_irq() local
639 gc = gd->gdma_context; in mana_gd_register_irq()
686 struct gdma_dev *gd = queue->gdma_dev; in mana_gd_deregiser_irq() local
692 gc = gd->gdma_context; in mana_gd_deregiser_irq()
786 static int mana_gd_create_eq(struct gdma_dev *gd, in mana_gd_create_eq() argument
790 struct gdma_context *gc = gd->gdma_context; in mana_gd_create_eq()
861 int mana_gd_create_hwc_queue(struct gdma_dev *gd, in mana_gd_create_hwc_queue() argument
865 struct gdma_context *gc = gd->gdma_context; in mana_gd_create_hwc_queue()
882 queue->gdma_dev = gd; in mana_gd_create_hwc_queue()
885 err = mana_gd_create_eq(gd, spec, false, queue); in mana_gd_create_hwc_queue()
[all …]
H A Dgdma.h441 static inline bool mana_gd_is_mana(struct gdma_dev *gd) in mana_gd_is_mana() argument
443 return gd->dev_id.type == GDMA_DEVICE_MANA; in mana_gd_is_mana()
446 static inline bool mana_gd_is_hwc(struct gdma_dev *gd) in mana_gd_is_hwc() argument
448 return gd->dev_id.type == GDMA_DEVICE_HWC; in mana_gd_is_hwc()
456 int mana_gd_create_hwc_queue(struct gdma_dev *gd,
460 int mana_gd_create_mana_eq(struct gdma_dev *gd,
464 int mana_gd_create_mana_wq_cq(struct gdma_dev *gd,
840 int mana_gd_register_device(struct gdma_dev *gd);
841 int mana_gd_deregister_device(struct gdma_dev *gd);
H A Dmana_en.c354 struct gdma_dev *gd = apc->ac->gdma_dev; in mana_tx_map_mbuf() local
382 tp->wqe_req.sgl[i].mem_key = gd->gpa_mkey; in mana_tx_map_mbuf()
496 struct gdma_dev *gd = apc->ac->gdma_dev; in mana_xmit() local
644 mana_gd_wq_ring_doorbell(gd->gdma_context, gdma_sq); in mana_xmit()
1311 struct gdma_dev *gd = ac->gdma_dev; in mana_create_eq() local
1312 struct gdma_context *gc = gd->gdma_context; in mana_create_eq()
1328 err = mana_gd_create_mana_eq(gd, &spec, &ac->eqs[i].eq); in mana_create_eq()
1915 struct gdma_dev *gd = apc->ac->gdma_dev; in mana_deinit_cq() local
1931 mana_gd_destroy_queue(gd->gdma_context, cq->gdma_cq); in mana_deinit_cq()
1937 struct gdma_dev *gd = apc->ac->gdma_dev; in mana_deinit_txq() local
[all …]
H A Dhw_channel.c150 struct gdma_dev *gd = hwc->gdma_dev; in mana_hwc_init_event_handler() local
159 gd->doorbell = eq_db.doorbell; in mana_hwc_init_event_handler()
193 gd->gdma_context->max_num_cqs = val; in mana_hwc_init_event_handler()
764 struct gdma_dev *gd = &gc->hwc; in mana_hwc_create_channel() local
771 gd->gdma_context = gc; in mana_hwc_create_channel()
772 gd->driver_data = hwc; in mana_hwc_create_channel()
773 hwc->gdma_dev = gd; in mana_hwc_create_channel()
777 gd->dev_id.as_uint32 = 0; in mana_hwc_create_channel()
778 gd->dev_id.type = GDMA_DEVICE_HWC; in mana_hwc_create_channel()
780 gd->pdid = INVALID_PDID; in mana_hwc_create_channel()
[all …]
H A Dmana.h546 int mana_probe(struct gdma_dev *gd);
547 void mana_remove(struct gdma_dev *gd);
/freebsd/contrib/ntp/libntp/
H A Dntp_calgps.c301 TcGpsDatum * gd, in gpsntp_from_gpscal_ex() argument
308 TGpsDatum date = *gd; in gpsntp_from_gpscal_ex()
320 retv.frac = gd->frac; in gpsntp_from_gpscal_ex()
600 TcNtpDatum * gd in gpscal_from_gpsntp() argument
607 ts64 = ntpcal_dayjoin(gd->days, gd->secs); in gpscal_from_gpsntp()
611 retv.frac = gd->frac; in gpscal_from_gpsntp()
622 TcGpsDatum * gd in ntpfp_from_gpsdatum() argument
627 retv.l_uf = gd->frac; in ntpfp_from_gpsdatum()
628 retv.l_ui = gd->weeks * (uint32_t)SECSPERWEEK in ntpfp_from_gpsdatum()
629 + (uint32_t)gd->wsecs in ntpfp_from_gpsdatum()
/freebsd/sys/contrib/libsodium/packaging/nuget/
H A Dpackage.gsl55 …t="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversio…
59 …t="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversio…
63 …t="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversio…
67 …t="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversio…
79 …t="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversio…
83 …t="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversio…
87 …t="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversio…
91 …t="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversio…
190 …<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversi…
200 …<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversi…
[all …]
/freebsd/sys/x86/include/
H A Dsegments.h115 struct gate_descriptor gd; member
139 struct gate_descriptor gd; member
/freebsd/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dblkdev_compat.h288 struct gendisk *gd = bdev->bd_disk; in zfs_check_media_change() local
289 const struct block_device_operations *bdo = gd->fops; in zfs_check_media_change()
301 bdo->revalidate_disk(gd); in zfs_check_media_change()
/freebsd/contrib/bc/tests/dc/
H A Derrors.txt29 gd
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_sp_commands.c517 #define FW_GD_RESOLUTION(gd) (64 * 1024 / (gd)) argument
524 static u16 ecore_sp_rl_gd_denom(u32 gd) in ecore_sp_rl_gd_denom() argument
526 return gd ? (u16)OSAL_MIN_T(u32, (u16)(~0U), FW_GD_RESOLUTION(gd)) : 0; in ecore_sp_rl_gd_denom()
/freebsd/lib/libc/tests/resolv/
H A Dmach19 gd.tuwien.ac.at
/freebsd/sys/amd64/vmm/intel/
H A Dvmx.c992 struct gate_descriptor *gd; in vmx_trigger_hostintr() local
994 gd = &idt[vector]; in vmx_trigger_hostintr()
998 KASSERT(gd->gd_p == 1, ("gate descriptor for vector %d not present", in vmx_trigger_hostintr()
1000 KASSERT(gd->gd_type == SDT_SYSIGT, ("gate descriptor for vector %d " in vmx_trigger_hostintr()
1001 "has invalid type %d", vector, gd->gd_type)); in vmx_trigger_hostintr()
1002 KASSERT(gd->gd_dpl == SEL_KPL, ("gate descriptor for vector %d " in vmx_trigger_hostintr()
1003 "has invalid dpl %d", vector, gd->gd_dpl)); in vmx_trigger_hostintr()
1004 KASSERT(gd->gd_selector == GSEL(GCODE_SEL, SEL_KPL), ("gate descriptor " in vmx_trigger_hostintr()
1005 "for vector %d has invalid selector %d", vector, gd->gd_selector)); in vmx_trigger_hostintr()
1006 KASSERT(gd->gd_ist == 0, ("gate descriptor for vector %d has invalid " in vmx_trigger_hostintr()
[all …]
/freebsd/contrib/dialog/po/
H A Dgd.po13 "Language: gd\n"
/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dd_mach34 gd.tuwien.ac.at
/freebsd/contrib/ntp/ntpd/
H A Drefclock_gpsdjson.c2092 struct tm gd; in convert_ascii_time() local
2101 ep = strptime(gps_time, "%Y-%m-%dT%H:%M:%S", &gd); in convert_ascii_time()
2118 ts.tv_sec = (ntpcal_tm_to_rd(&gd) - DAY_NTP_STARTS) * SECSPERDAY in convert_ascii_time()
2119 + ntpcal_tm_to_daysec(&gd); in convert_ascii_time()
/freebsd/contrib/bearssl/
H A DDoxyfile2309 # Possible values are: png, png:cairo, png:cairo:cairo, png:cairo:gd, png:gd,
2310 # png:gd:gd, jpg, jpg:cairo, jpg:cairo:gd, jpg:gd, jpg:gd:gd, gif, gif:cairo,
2311 # gif:cairo:gd, gif:gd, gif:gd:gd, svg, png:gd, png:gd:gd, png:cairo,
2312 # png:cairo:gd, png:cairo:cairo, png:cairo:gdiplus, png:gdiplus and
/freebsd/contrib/ldns/
H A Dlibdns.doxygen.in2484 # Possible values are: png, png:cairo, png:cairo:cairo, png:cairo:gd, png:gd,
2485 # png:gd:gd, jpg, jpg:cairo, jpg:cairo:gd, jpg:gd, jpg:gd:gd, gif, gif:cairo,
2486 # gif:cairo:gd, gif:gd, gif:gd:gd, svg, png:gd, png:gd:gd, png:cairo,
2487 # png:cairo:gd, png:cairo:cairo, png:cairo:gdiplus, png:gdiplus and

12