Searched refs:fileid (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-head/sbin/kldunload/
H A Dkldunload.c58 int c, fileid, force, opt; local
94 fileid = atoi(filename);
95 if (fileid < 0)
98 if ((fileid = kldfind(filename)) < 0)
104 if (kldstat(fileid, &stat) < 0)
107 fileid);
114 if (kldunloadf(fileid, force) < 0)
/freebsd-head/sys/compat/linuxkpi/common/include/linux/
H A Dkmod.h44 int fileid; \
46 kern_kldload(curthread, modname, &fileid); \
/freebsd-head/sbin/kldstat/
H A Dkldstat.c66 printfile(int fileid, int verbose, int humanized) argument
73 if (kldstat(fileid, &stat) < 0) {
74 err(1, "can't stat file id %d", fileid);
94 for (modid = kldfirstmod(fileid); modid > 0;
115 int fileid = 0; local
130 fileid = (int)strtoul(optarg, &p, 10);
185 if ((fileid = kldfind(filename)) < 0) {
198 if (fileid != 0)
199 printfile(fileid, verbose, humanized);
201 for (fileid
[all...]
/freebsd-head/lib/libprocstat/
H A Dmsdosfs.c87 int fileid; local
136 * The following computation of the fileid must be the same as that
142 fileid = cntobn(&mnt->data, denode.de_StartCluster)
145 fileid = 1;
147 fileid = cntobn(&mnt->data, denode.de_dirclust) * dirsperblk;
149 fileid = roottobn(&mnt->data, 0) * dirsperblk;
150 fileid += denode.de_diroffset / sizeof(struct direntry);
153 vn->vn_fileid = fileid;
/freebsd-head/sys/security/mac_veriexec/
H A Dveriexec_metadata.c85 * @p fileid in the file system identified by @p fsid
93 * @param fileid file to look for
101 get_veriexec_file(struct veriexec_devhead *head, dev_t fsid, long fileid, argument
114 " files=%d\n", (uintmax_t)fileid, gen, (uintmax_t)fsid,
136 if (ip->fileid == fileid) {
171 "%02x %02x %02x...]\n", ip->fileid, ip->flags, ip->gen,
224 * @param fileid file to look for
230 mac_veriexec_metadata_has_file(dev_t fsid, long fileid, unsigned long gen) argument
233 return (mac_veriexec_metadata_get_file_info(fsid, fileid, ge
437 mac_veriexec_metadata_get_file_flags(dev_t fsid, long fileid, unsigned long gen, int *flags, int check_files) argument
607 mac_veriexec_metadata_add_file(int file_dev, dev_t fsid, long fileid, unsigned long gen, unsigned char fingerprint[MAXFINGERPRINTLEN], char *label, size_t labellen, int flags, const char *fp_type, int override) argument
749 mac_veriexec_metadata_get_file_info(dev_t fsid, long fileid, unsigned long gen, int *found_dev, int check_files) argument
[all...]
H A Dmac_veriexec_internal.h53 long fileid; member in struct:mac_veriexec_file_info
79 int mac_veriexec_metadata_get_file_flags(dev_t fsid, long fileid,
82 mac_veriexec_metadata_get_file_info(dev_t fsid, long fileid,
H A Dmac_veriexec.h154 int mac_veriexec_metadata_add_file(int file_dev, dev_t fsid, long fileid,
158 int mac_veriexec_metadata_has_file(dev_t fsid, long fileid,
H A Dveriexec_fingerprint.c111 log(LOG_ERR, MAC_VERIEXEC_FULLNAME ": %s (file=%s fsid=%ju fileid=%ju "
222 (uintmax_t)ip->fileid, ip->gen,
/freebsd-head/sbin/kldload/
H A Dkldload.c133 int fileid; local
167 fileid = kldload(argv[0]);
168 if (fileid < 0) {
195 fileid);
/freebsd-head/contrib/amd/conf/nfs_prot/
H A Dnfs_prot_freebsd2.h65 #define na_fileid fileid
73 #define ne_fileid fileid
H A Dnfs_prot_freebsd3.h100 #define na_fileid fileid
111 #define ne_fileid fileid
/freebsd-head/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c187 getthefile(askname,fileid,buffer,blen)
189 char *fileid, *buffer;
230 if (strstr(result, fileid) == NULL) {
234 "%s",strchr(strstr(result,fileid), '=') + 1);
259 fid_len = strlen(fileid);
265 if (! strncmp(info, fileid, fid_len) && *(info + fid_len) == '=') {
/freebsd-head/usr.bin/fstat/
H A Dfuser.c96 uint64_t fileid; member in struct:reqfile
155 reqfile->fileid = sb.st_ino;
311 reqfiles[i].fileid == vn.vn_fileid) {
317 vn.vn_fsid == reqfiles[i].fileid) {
/freebsd-head/sys/kern/
H A Dkern_linker.c575 linker_find_file_by_id(int fileid) argument
581 if (lf->id == fileid && lf->flags & LINKER_FILE_LINKED)
1057 kern_kldload(struct thread *td, const char *file, int *fileid) argument
1095 if (fileid != NULL)
1096 *fileid = lf->id;
1108 int error, fileid; local
1115 error = kern_kldload(td, pathname, &fileid);
1117 td->td_retval[0] = fileid;
1124 kern_kldunload(struct thread *td, int fileid, int flags) argument
1137 lf = linker_find_file_by_id(fileid);
1274 kern_kldstat(struct thread *td, int fileid, struct kld_file_stat *stat) argument
[all...]
H A Dvfs_init.c143 int fileid, loaded; local
150 *error = kern_kldload(td, fstype, &fileid);
161 (void)kern_kldunload(td, fileid, LINKER_UNLOAD_FORCE);
/freebsd-head/contrib/amd/amd/
H A Dreaddir.c229 * 4byte fileid
387 * 4byte fileid
604 chain[num_entries].fileid = last_cookie;
628 * (8byte fileid
685 ep[0].fileid = mp->am_gen;
692 ep[1].fileid = mp->am_parent->am_gen;
694 ep[1].fileid = mp->am_gen;
737 j++, ne->name, (long unsigned) ne->fileid, (long unsigned) ne->cookie);
830 ep[0].fileid = mp->am_gen;
837 ep[1].fileid
[all...]
/freebsd-head/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_swrun_tbl.c362 int fileid; local
366 for (fileid = kldnext(0); fileid > 0; fileid = kldnext(fileid)) {
368 if (kldstat(fileid, &stat) < 0) {
/freebsd-head/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dmpidebug.c442 * fileid---^ ^------funcid
452 * @param fileid
463 bit32 fileid,
487 bPtr[pos++] = (bit8)fileid;
529 * fileid---^ ^------funcid
539 * @param fileid
545 GLOBAL void siTraceFuncExit( agsaRoot_t *agRoot, bit32 mask, char fileid, char * funcid, char exitId ) argument
568 bPtr[pos++] = (bit8)fileid;
461 siTraceFuncEnter( agsaRoot_t *agRoot, bit32 mask, bit32 fileid, char * funcid) argument
H A Dmpidebug.h180 void siTraceFuncEnter(agsaRoot_t *agRoot, bit32 mask, bit32 fileid, char *funcid);
183 GLOBAL void siTraceFuncExit( agsaRoot_t *agRoot, bit32 mask, char fileid, char * funcid, char exitId );
/freebsd-head/include/rpcsvc/
H A Dnfs_prot.x130 unsigned fileid; /* inode # */
267 unsigned fileid;
410 fileid3 fileid; /* inode # */
946 fileid3 fileid;
986 fileid3 fileid;
/freebsd-head/sbin/gvinum/
H A Dgvinum.c1220 int err, fileid; local
1222 fileid = kldfind(GVINUMKLD);
1223 if (fileid == -1) {
1237 if ((err = kldunload(fileid)) != 0 && (errno == EAGAIN)) {
1239 err = kldunload(fileid);
/freebsd-head/sys/sys/
H A Dsyscallsubr.h159 int kern_kldload(struct thread *td, const char *file, int *fileid);
160 int kern_kldstat(struct thread *td, int fileid, struct kld_file_stat *stat);
161 int kern_kldunload(struct thread *td, int fileid, int flags);
/freebsd-head/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_sys.c84 int fileid, modid; local
90 for (fileid = kldnext(0); fileid > 0; fileid = kldnext(fileid)) {
92 for (modid = kldfirstmod(fileid); modid > 0;
/freebsd-head/sbin/ifconfig/
H A Difconfig.c1450 int i, fileid, modid; local
1489 for (fileid = kldnext(0); fileid > 0; fileid = kldnext(fileid)) {
1491 for (modid = kldfirstmod(fileid); modid > 0;
/freebsd-head/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c265 uint64_t fileid; local
271 * The following computation of the fileid must be the same as that
276 fileid = (uint64_t)cntobn(pmp, dep->de_StartCluster) *
279 fileid = 1;
281 fileid = (uint64_t)cntobn(pmp, dep->de_dirclust) *
284 fileid = (uint64_t)roottobn(pmp, 0) * dirsperblk;
285 fileid += (uoff_t)dep->de_diroffset / sizeof(struct direntry);
287 vap->va_fileid = fileid;

Completed in 383 milliseconds

12