Home
last modified time | relevance | path

Searched refs:dip (Results 1 – 25 of 62) sorted by relevance

123

/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_as.c50 dt_irnode_t *dip, *nip; in dt_irlist_destroy() local
52 for (dip = dlp->dl_list; dip != NULL; dip = nip) { in dt_irlist_destroy()
53 nip = dip->di_next; in dt_irlist_destroy()
54 free(dip); in dt_irlist_destroy()
59 dt_irlist_append(dt_irlist_t *dlp, dt_irnode_t *dip) in dt_irlist_append() argument
62 dlp->dl_last->di_next = dip; in dt_irlist_append()
64 dlp->dl_list = dip; in dt_irlist_append()
66 dlp->dl_last = dip; in dt_irlist_append()
68 if (dip->di_label == DT_LBL_NONE || dip->di_instr != DIF_INSTR_NOP) in dt_irlist_append()
214 dt_irnode_t *dip; in dt_as() local
[all …]
H A Ddt_cg.c52 dt_irnode_t *dip = malloc(sizeof (dt_irnode_t)); in dt_cg_node_alloc() local
54 if (dip == NULL) in dt_cg_node_alloc()
57 dip->di_label = label; in dt_cg_node_alloc()
58 dip->di_instr = instr; in dt_cg_node_alloc()
59 dip->di_extern = NULL; in dt_cg_node_alloc()
60 dip->di_next = NULL; in dt_cg_node_alloc()
62 return (dip); in dt_cg_node_alloc()
828 dt_irnode_t *dip; in dt_cg_ternary_op() local
840 dip = dt_cg_node_alloc(DT_LBL_NONE, instr); /* save dip for below */ in dt_cg_ternary_op()
841 dt_irlist_append(dlp, dip); in dt_cg_ternary_op()
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzfs_ctldir.h63 extern int zfsctl_root_lookup(struct inode *dip, const char *name,
68 extern int zfsctl_snapdir_lookup(struct inode *dip, const char *name,
73 extern int zfsctl_snapdir_remove(struct inode *dip, const char *name,
75 extern int zfsctl_snapdir_mkdir(struct inode *dip, const char *dirname,
85 extern int zfsctl_shares_lookup(struct inode *dip, char *name,
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_ctldir.c131 zpl_root_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) in zpl_root_lookup() argument
138 error = -zfsctl_root_lookup(dip, dname(dentry), &ip, 0, cr, NULL, NULL); in zpl_root_lookup()
218 zpl_snapdir_lookup(struct inode *dip, struct dentry *dentry, in zpl_snapdir_lookup() argument
228 error = -zfsctl_snapdir_lookup(dip, dname(dentry), &ip, in zpl_snapdir_lookup()
330 zpl_snapdir_rmdir(struct inode *dip, struct dentry *dentry) in zpl_snapdir_rmdir() argument
336 error = -zfsctl_snapdir_remove(dip, dname(dentry), cr, 0); in zpl_snapdir_rmdir()
345 zpl_snapdir_mkdir(struct user_namespace *user_ns, struct inode *dip, in zpl_snapdir_mkdir() argument
348 zpl_snapdir_mkdir(struct mnt_idmap *user_ns, struct inode *dip, in zpl_snapdir_mkdir()
351 zpl_snapdir_mkdir(struct inode *dip, struct dentry *dentry, umode_t mode) in zpl_snapdir_mkdir()
362 zpl_vap_init(vap, dip, mode | S_IFDIR, cr, user_ns); in zpl_snapdir_mkdir()
[all …]
H A Dzfs_ctldir.c805 zfsctl_root_lookup(struct inode *dip, const char *name, struct inode **ipp, in zfsctl_root_lookup() argument
808 zfsvfs_t *zfsvfs = ITOZSB(dip); in zfsctl_root_lookup()
817 *ipp = dip->i_sb->s_root->d_inode; in zfsctl_root_lookup()
841 zfsctl_snapdir_lookup(struct inode *dip, const char *name, struct inode **ipp, in zfsctl_snapdir_lookup() argument
844 zfsvfs_t *zfsvfs = ITOZSB(dip); in zfsctl_snapdir_lookup()
952 zfsctl_snapdir_remove(struct inode *dip, const char *name, cred_t *cr, in zfsctl_snapdir_remove() argument
955 zfsvfs_t *zfsvfs = ITOZSB(dip); in zfsctl_snapdir_remove()
978 error = zfsctl_snapshot_name(ITOZSB(dip), name, in zfsctl_snapdir_remove()
1002 zfsctl_snapdir_mkdir(struct inode *dip, const char *dirname, vattr_t *vap, in zfsctl_snapdir_mkdir() argument
1005 zfsvfs_t *zfsvfs = ITOZSB(dip); in zfsctl_snapdir_mkdir()
[all …]
/freebsd/tests/sys/common/
H A Ddivert.py50 packet = sc.IP(dst=args.dip) / sc.ICMP(type='echo-request')
57 packet = sc.IPv6(dst=args.dip) / sc.ICMPv6EchoRequest()
65 packet = sc.IP(dst=args.dip,src=args.sip) / sc.ICMP(type='echo-request')
68 s.sendto(bytes(packet), (args.dip, 0))
H A Dsender.py95 ip = sc.IP(src=args.sip, dst=args.dip)
130 ip = sc.IP(src=args.sip, dst=args.dip,
174 ip = sc.IPv6(src=args.sip, dst=args.dip)
/freebsd/sys/contrib/device-tree/src/riscv/canaan/
H A Dcanaan_kd233.dts85 <K210_FPIOA(20, K210_PCF_GPIOHS4)>, /* Rot. dip sw line 8 */
86 <K210_FPIOA(21, K210_PCF_GPIOHS5)>, /* Rot. dip sw line 4 */
87 <K210_FPIOA(22, K210_PCF_GPIOHS6)>, /* Rot. dip sw line 2 */
88 <K210_FPIOA(23, K210_PCF_GPIOHS7)>, /* Rot. dip sw line 1 */
/freebsd/tests/sys/netinet6/
H A Dredirect.py59 def construct_icmp6_redirect(smac, dmac, sip, dip, route_dst, route_gw): argument
61 l3 = sc.IPv6(src=sip, dst=dip)
79 pkt = construct_icmp6_redirect(args.smac, args.dmac, args.sip, args.dip,
H A Dforward6.sh90 --sip ${src_ip} --dip ${ip6a} \
164 --sip ${src_ip} --dip ${dst_ip} \
239 --sip ${src_ip} --dip ${dst_ip} \
308 --sip ${src_ip} --dip ${ip6a} \
382 --sip ${src_ip} --dip ${dst_ip} \
457 --sip ${src_ip} --dip ${dst_ip} \
H A Ddivert.sh82 --dip ${ip6b} --test_name ipdivert_ip6_output_remote_success
/freebsd/tests/sys/netinet/
H A Dredirect.py59 def construct_icmp_redirect(smac, dmac, sip, dip, route_dst, route_gw): argument
61 l3 = sc.IP(src=sip, dst=dip)
80 pkt = construct_icmp_redirect(args.smac, args.dmac, args.sip, args.dip,
H A Dforward.sh76 --sip ${src_ip} --dip ${ip4a} \
136 --sip ${src_ip} --dip ${dst_ip} \
190 --sip ${src_ip} --dip ${ip4a} \
250 --sip ${src_ip} --dip ${dst_ip} \
H A Ddivert.sh82 --dip ${ip4b} --test_name ipdivert_ip_output_remote_success
137 --sip ${ip4a} --dip ${ip4b} \
H A Dredirect.sh90 --sip ${remote_rtr_ip} --dip ${local_ip} \
/freebsd/sys/ufs/ffs/
H A Dffs_subr.c82 ffs_verify_dinode_ckhash(struct fs *fs, struct ufs2_dinode *dip) in ffs_verify_dinode_ckhash() argument
89 if (dip->di_mode == 0 || (fs->fs_metackhash & CK_INODE) == 0) in ffs_verify_dinode_ckhash()
95 save_ckhash = dip->di_ckhash; in ffs_verify_dinode_ckhash()
96 dip->di_ckhash = 0; in ffs_verify_dinode_ckhash()
97 ckhash = calculate_crc32c(~0L, (void *)dip, sizeof(*dip)); in ffs_verify_dinode_ckhash()
98 dip->di_ckhash = save_ckhash; in ffs_verify_dinode_ckhash()
108 ffs_update_dinode_ckhash(struct fs *fs, struct ufs2_dinode *dip) in ffs_update_dinode_ckhash() argument
111 if (dip->di_mode == 0 || (fs->fs_metackhash & CK_INODE) == 0) in ffs_update_dinode_ckhash()
117 dip->di_ckhash = 0; in ffs_update_dinode_ckhash()
118 dip->di_ckhash = calculate_crc32c(~0L, (void *)dip, sizeof(*dip)); in ffs_update_dinode_ckhash()
H A Dffs_snapshot.c1047 struct ufs1_dinode *dip; in expunge_ufs1() local
1087 dip = (struct ufs1_dinode *)bp->b_data + in expunge_ufs1()
1090 dip->di_mode = 0; in expunge_ufs1()
1091 dip->di_size = 0; in expunge_ufs1()
1092 dip->di_blocks = 0; in expunge_ufs1()
1093 dip->di_flags &= ~SF_SNAPSHOT; in expunge_ufs1()
1094 bzero(dip->di_db, UFS_NDADDR * sizeof(ufs1_daddr_t)); in expunge_ufs1()
1095 bzero(dip->di_ib, UFS_NIADDR * sizeof(ufs1_daddr_t)); in expunge_ufs1()
1329 struct ufs2_dinode *dip; in expunge_ufs2() local
1369 dip in expunge_ufs2()
[all...]
/freebsd/sys/contrib/openzfs/config/
H A Dkernel-security-inode-init.m413 struct inode *dip __attribute__ ((unused)) = NULL;
17 security_inode_init_security(ip, dip, str, func, NULL);
/freebsd/sys/fs/nfsclient/
H A Dnfs_clstate.c1770 struct nfscldevinfo *dip, *ndip; in nfscl_cleanclient() local
1775 LIST_FOREACH_SAFE(dip, &clp->nfsc_devinfo, nfsdi_list, ndip) in nfscl_cleanclient()
1776 nfscl_freedevinfo(dip); in nfscl_cleanclient()
2734 struct nfscldevinfo *dip, *ndip; in nfscl_renewthread() local
3005 LIST_FOREACH_SAFE(dip, &clp->nfsc_devinfo, nfsdi_list, ndip) { in nfscl_renewthread()
3006 if (dip->nfsdi_layoutrefs == 0 && in nfscl_renewthread()
3007 dip->nfsdi_refcnt == 0) { in nfscl_renewthread()
3009 LIST_REMOVE(dip, nfsdi_list); in nfscl_renewthread()
3010 nfscl_freedevinfo(dip); in nfscl_renewthread()
5559 struct nfscldevinfo *dip) in nfscl_getdevinfo() argument
[all …]
/freebsd/sys/dev/cxgbe/
H A Dt4_filter.c92 hash = fnv_32_buf(&ft->dip[0], 16, hash); in hf_hashfn_4t()
95 hash = fnv_32_buf(&ft->dip[0], 4, hash); in hf_hashfn_4t()
226 bcmp(&fs1->val.dip[0], &fs2->val.dip[0], n) || in filter_eq()
765 bcopy(f->fs.val.dip, fwr->lip, sizeof (fwr->lip)); in set_tcamfilter()
766 bcopy(f->fs.mask.dip, fwr->lipm, sizeof (fwr->lipm)); in set_tcamfilter()
899 if (fs->mask.dip[i] != 0xff) in is_4tuple_specified()
1529 cpl->local_ip_hi = *(uint64_t *)(&f->fs.val.dip); in mk_act_open_req6()
1530 cpl->local_ip_lo = *(((uint64_t *)&f->fs.val.dip) + 1); in mk_act_open_req6()
1573 cpl->local_ip = f->fs.val.dip[0] | f->fs.val.dip[1] << 8 | in mk_act_open_req()
1574 f->fs.val.dip[2] << 16 | f->fs.val.dip[3] << 24; in mk_act_open_req()
[all …]
/freebsd/sys/dev/cxgb/
H A Dcxgb_ioctl.h154 uint32_t dip; member
222 uint32_t dip; member
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Dsunddi.h60 #define ddi_log_sysevent(dip, vendor, class_name, subclass_name, \ argument
/freebsd/sbin/fsck_ffs/
H A Dsuj.c554 union dinode *dip; in ino_clrat() local
571 dip = ip.i_dp; in ino_clrat()
572 blk = ino_blkatoff(dip, parent, lbn, &frags, NULL); in ino_clrat()
573 blksize = sblksize(fs, DIP(dip, di_size), lbn); in ino_clrat()
599 union dinode *dip; in ino_isat() local
611 dip = ip.i_dp; in ino_isat()
612 *mode = DIP(dip, di_mode); in ino_isat()
631 blksize = sblksize(fs, DIP(dip, di_size), lbn); in ino_isat()
632 if (diroff + DIRECTSIZ(1) > DIP(dip, di_size) || doff >= blksize) { in ino_isat()
637 DIP(dip, di_size)); in ino_isat()
[all …]
/freebsd/tools/tools/netmap/
H A Dpkt_hash.c112 sym_hash_fn(uint32_t sip, uint32_t dip, uint16_t sp, uint32_t dp) in sym_hash_fn() argument
118 *dip_b = (uint8_t *)&dip, in sym_hash_fn()
/freebsd/tools/tools/net80211/wesside/dics/
H A Ddics.c185 struct in_addr *dip) { in udp_checksum() argument
198 memcpy(&ph->ippseudo_dst, dip, 4); in udp_checksum()

123