/freebsd/contrib/ncurses/include/ |
H A D | nc_access.h | 60 #define safe_fopen(name,mode) fopen(name,mode) argument 61 #define safe_open2(name,flags) open(name,flags) argument 62 #define safe_open3(name,flags,mode) open(name,flags,mode) argument 66 #define safe_fopen(name,mode) _nc_safe_fopen(name,mode) argument 67 #define safe_open2(name,flags) _nc_safe_open3(name,flags,0) argument 68 #define safe_open3(name,flags,mode) _nc_safe_open3(name,flags,mode) argument
|
/freebsd/sys/compat/lindebugfs/ |
H A D | lindebugfs.c | 186 debugfs_create_file(const char *name, umode_t mode, in debugfs_create_file() 221 debugfs_create_file_size(const char *name, umode_t mode, in debugfs_create_file_size() 241 debugfs_create_file_unsafe(const char *name, umode_t mode, in debugfs_create_file_unsafe() 250 debugfs_create_mode_unsafe(const char *name, umode_t mode, in debugfs_create_mode_unsafe() 269 debugfs_create_dir(const char *name, struct dentry *parent) in debugfs_create_dir() 296 debugfs_create_symlink(const char *name, struct dentry *parent, in debugfs_create_symlink() 332 debugfs_lookup(const char *name, struct dentry *parent) in debugfs_lookup() 397 debugfs_create_bool(const char *name, umode_t mode, struct dentry *parent, bool *value) in debugfs_create_bool() 426 debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, uint8_t *value) in debugfs_create_u8() 438 debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, uint8_t *value) in debugfs_create_x8() [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | moduleparam.h | 52 #define LINUXKPI_PARAM_DESC(name) LINUXKPI_PARAM_CONCAT(linuxkpi_,LINUXKPI_PARAM_PREFIX,name,_desc) argument 53 #define LINUXKPI_PARAM_NAME(name) LINUXKPI_PARAM_CONCAT(LINUXKPI_PARAM_PREFIX,name,,) argument 55 #define LINUXKPI_PARAM_bool(name, var, perm) \ argument 61 #define LINUXKPI_PARAM_byte(name, var, perm) \ argument 67 #define LINUXKPI_PARAM_short(name, var, perm) \ argument 73 #define LINUXKPI_PARAM_ushort(name, var, perm) \ argument 79 #define LINUXKPI_PARAM_int(name, var, perm) \ argument 85 #define LINUXKPI_PARAM_uint(name, var, perm) \ argument 91 #define LINUXKPI_PARAM_bint(name, var, perm) \ argument 94 #define LINUXKPI_PARAM_hexint(name, var, perm) \ argument [all …]
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | mkdir.cc | 57 mode_t mode = 0755; in TEST_F() local 64 const char *name = (const char*)in.body.bytes + in TEST_F() local 84 mode_t mode = 0755; in TEST_F() local 99 const char *name = (const char*)in.body.bytes + in TEST_F() local 124 mode_t mode = 0755; in TEST_F() local 137 const char *name = (const char*)in.body.bytes + in TEST_F() local 163 mode_t mode = 0755; in TEST_F() local 175 const char *name = (const char*)in.body.bytes + in TEST_F() local 204 mode_t mode = 0755; in TEST_F() local 217 const char *name = (const char*)in.body.bytes + in TEST_F() local [all …]
|
H A D | mknod.cc | 72 mode_t mode, dev_t dev) in expect_mknod() 76 const char *name = (const char*)in.body.bytes + in expect_mknod() local 115 mode_t mode, dev_t dev) in expect_mknod() 119 const char *name = (const char*)in.body.bytes + in expect_mknod() local 149 mode_t mode = S_IFBLK | 0755; in TEST_F() local 164 mode_t mode = S_IFCHR | 0755; in TEST_F() local 183 mode_t mode = S_IFIFO | 0755; in TEST_F() local 190 const char *name = (const char*)in.body.bytes + in TEST_F() local 206 mode_t mode = S_IFIFO | 0755; in TEST_F() local 226 mode_t mode = S_IFSOCK | 0755; in TEST_F() local [all …]
|
H A D | create.cc | 43 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) in expect_create() 50 const char *name = (const char*)in.body.bytes + in expect_create() local 71 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) in expect_create() 75 const char *name = (const char*)in.body.bytes + in expect_create() local 95 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) in expect_create() 99 const char *name = (const char*)in.body.bytes + in expect_create() local 120 mode_t mode = S_IFREG | 0755; in TEST_F() local 153 mode_t mode = S_IFREG | 0755; in TEST_F() local 200 mode_t mode = S_IFREG | 0755; in TEST_F() local 217 mode_t mode = S_IFREG | 0755; in TEST_F() local [all …]
|
H A D | link.cc | 42 void expect_link(uint64_t ino, const char *relpath, mode_t mode, uint32_t nlink) in expect_link() 46 const char *name = (const char*)in.body.bytes in expect_link() local 76 void expect_link(uint64_t ino, const char *relpath, mode_t mode, uint32_t nlink) in expect_link() 80 const char *name = (const char*)in.body.bytes in expect_link() local 114 mode_t mode = S_IFREG | 0644; in TEST_F() local 164 const char *name = (const char*)in.body.bytes in TEST_F() local 189 mode_t mode = S_IFREG | 0644; in TEST_F() local 204 const char *name = (const char*)in.body.bytes in TEST_F() local 231 mode_t mode = S_IFREG | 0644; in TEST_F() local 260 mode_t mode = S_IFREG | 0644; in TEST_F() local
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/checksum/ |
H A D | sha2_test.c | 145 #define SHA2_ALGO_TEST(_m, mode, diglen, testdigest) \ in main() argument 162 #define SHA2_PERF_TEST(mode, diglen, name) \ in main() argument 204 const char *name = sha256->getname(); in main() local 210 const char *name = sha512->getname(); in main() local
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | port-net.c | 66 sys_set_rdomain(int fd, const char *name) in sys_set_rdomain() 78 sys_valid_rdomain(const char *name) in sys_valid_rdomain() 106 sys_set_rdomain(int fd, const char *name) in sys_set_rdomain() 112 valid_rdomain(const char *name) in valid_rdomain() 118 sys_set_process_rdomain(const char *name) in sys_set_process_rdomain() 144 sys_tun_open(int tun, int mode, char **ifname) in sys_tun_open() 148 const char *name = NULL; in sys_tun_open() local 209 sys_tun_open(int tun, int mode, char **ifname) in sys_tun_open() 212 char name[100]; in sys_tun_open() local
|
/freebsd/sys/dev/videomode/ |
H A D | edid.c | 71 const char *name; member 77 const char *name; member 291 edid_mode_lookup_list(const char *name) in edid_mode_lookup_list() 302 edid_search_mode(struct edid_info *edid, const struct videomode *mode) in edid_search_mode() 325 char name[80]; in edid_std_timing() local 424 struct videomode mode, *exist_mode; in edid_block() local 514 const char *name; in edid_parse() local 595 struct videomode mode, *exist_mode; in edid_parse() local
|
/freebsd/usr.bin/tftp/ |
H A D | tftp.c | 64 xmitfile(int peer, char *port, int fd, char *name, char *mode) in xmitfile() 166 recvfile(int peer, char *port, int fd, char *name, char *mode) in recvfile()
|
/freebsd/lib/libcasper/services/cap_fileargs/ |
H A D | cap_fileargs.c | 60 fileargs_get_lstat_cache(fileargs_t *fa, const char *name, struct stat *sb) in fileargs_get_lstat_cache() 89 fileargs_get_fd_cache(fileargs_t *fa, const char *name) in fileargs_get_fd_cache() 138 fileargs_fetch(fileargs_t *fa, const char *name, const char *cmd) in fileargs_fetch() 166 mode_t mode, cap_rights_t *rightsp, int operations) in fileargs_create_limit() 213 fileargs_init(int argc, char *argv[], int flags, mode_t mode, in fileargs_init() 232 mode_t mode, cap_rights_t *rightsp, int operations) in fileargs_cinit() 314 fileargs_open(fileargs_t *fa, const char *name) in fileargs_open() 353 fileargs_fopen(fileargs_t *fa, const char *name, const char *mode) in fileargs_fopen() 365 fileargs_lstat(fileargs_t *fa, const char *name, struct stat *sb) in fileargs_lstat() 509 open_file(const char *name) in open_file() [all …]
|
/freebsd/usr.bin/proccontrol/ |
H A D | proccontrol.c | 38 enum mode { enum 58 enum mode mode; member 59 const char *name; member 109 int arg, ch, error, mode; in main() local
|
/freebsd/sys/dev/ipmi/ |
H A D | ipmi_isa.c | 100 const char *mode, *name; in ipmi_hint_identify() local 175 const char *mode; ipmi_isa_attach() local [all...] |
/freebsd/contrib/lib9p/ |
H A D | utils.c | 93 #define X(NAME, name) [L9P_T##NAME - L9P__FIRST] = "T" name, \ argument 191 l9p_getgrlist(const char *name, gid_t basegid, int *angroups) in l9p_getgrlist() 329 l9p_describe_mode(const char *str, uint32_t mode, struct sbuf *sb) in l9p_describe_mode() 389 l9p_describe_name(const char *str, char *name, struct sbuf *sb) in l9p_describe_name() 411 l9p_describe_perm(const char *str, uint32_t mode, struct sbuf *sb) in l9p_describe_perm() 427 l9p_describe_ext_perm(const char *str, uint32_t mode, struct sbuf *sb) in l9p_describe_ext_perm() 458 l9p_describe_lperm(const char *str, uint32_t mode, struct sbuf *sb) in l9p_describe_lperm() 716 #define X0(name) [name] = name ## _STR in lookup_linux_errno() argument 717 #define X(name) [name] = name ## _STR in lookup_linux_errno() argument
|
/freebsd/contrib/bc/gen/ |
H A D | strgen.c | 102 open_file(FILE** f, const char* filename, const char* mode) in open_file() argument 125 bc_read_open(const char* path, int mode) in bc_read_open() argument 240 output_label(FILE * out,const char * label,const char * name) output_label() argument 342 char* name; main() local [all...] |
/freebsd/sys/cddl/dev/dtrace/x86/ |
H A D | dis_tables.c | 312 #define TNS(name, amode) {TERM, amode, name, 0, 0, 0, 0, 0, 0} argument 313 #define TNSu(name, amode) {TERM, amode, name, 0, 0, 0, 0, 1, 0} argument 314 #define TNSx(name, amode) {TERM, amode, name, 0, 0, 1, 0, 0, 0} argument 315 #define TNSy(name, amode) {TERM, amode, name, 0, 0, 0, 1, 0, 0} argument 316 #define TNSyp(name, amode) {TERM, amode, name, 0, 0, 0, 1, 0, 1} argument 317 #define TNSZ(name, amode, sz) {TERM, amode, name, 0, sz, 0, 0, 0, 0} argument 318 #define TNSZy(name, amode, sz) {TERM, amode, name, 0, sz, 0, 1, 0, 0} argument 319 #define TNSZvr(name, amode, sz) {TERM, amode, name, 0, sz, 0, 0, 0, 0, 1} argument 320 #define TSvo(name, amode) {TERM, amode, name, 1, 0, 0, 0, 0, 0, 0, 0, 1} argument 321 #define TS(name, amode) {TERM, amode, name, 1, 0, 0, 0, 0, 0} argument [all …]
|
/freebsd/contrib/sendmail/src/ |
H A D | map.c | 1158 extract_canonname(name, dot, line, cbuf, cbuflen) in extract_canonname() argument 1231 dns_map_open(map, mode) in dns_map_open() argument 1470 dns_map_lookup(map, name, av, statp) in dns_map_lookup() argument 1680 ndbm_map_open(map, mode) in ndbm_map_open() argument 1922 ndbm_map_lookup(map, name, av, statp) in ndbm_map_lookup() argument 2193 bt_map_open(map, mode) in bt_map_open() argument 2222 hash_map_open(map, mode) in hash_map_open() argument 2542 db_map_lookup(map, name, av, statp) in db_map_lookup() argument 2869 cdb_map_open(map, mode) in cdb_map_open() argument 3039 cdb_map_lookup(map, name, av, statp) in cdb_map_lookup() argument [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_posix.c | 174 mode_t mode; member 188 char *name; member 254 char *name; /* Name of entry, possibly edited. */ member 277 mode_t mode; member 416 mode_t mode; in la_mktemp() local 468 la_verify_filetype(mode_t mode, __LA_MODE_T filetype) { in la_verify_filetype() 1965 archive_write_disk_gid(struct archive *_a, const char *name, la_int64_t id) in archive_write_disk_gid() 1976 archive_write_disk_uid(struct archive *_a, const char *name, la_int64_t id) in archive_write_disk_uid() 2275 mode_t final_mode, mode; in create_filesystem_object() local 3360 mode_t mode_final, mode; in create_dir() local [all …]
|
/freebsd/tools/tools/switch_tls/ |
H A D | switch_tls.c | 72 int ch, mode; in main() local 152 getxpcblist(const char *name) in getxpcblist() 190 tcpswitch(const struct sockaddr *lsa, const struct sockaddr *fsa, int mode) in tcpswitch() 224 tcpswitchall(const char *stack, int mode) in tcpswitchall() 271 const char *fport, int mode) in tcpswitchbyname() 325 tcpswitchconn(const struct in_conninfo *inc, int mode) in tcpswitchconn()
|
/freebsd/sys/contrib/dev/iwlwifi/fw/ |
H A D | debugfs.c | 12 #define FWRT_DEBUGFS_OPEN_WRAPPER(name, buflen, argtype) \ argument 35 #define FWRT_DEBUGFS_READ_WRAPPER(name) \ argument 62 #define _FWRT_DEBUGFS_READ_FILE_OPS(name, buflen, argtype) \ argument 72 FWRT_DEBUGFS_WRITE_WRAPPER(name,buflen,argtype) global() argument 88 _FWRT_DEBUGFS_READ_WRITE_FILE_OPS(name,buflen,argtype) global() argument 100 _FWRT_DEBUGFS_WRITE_FILE_OPS(name,buflen,argtype) global() argument 110 FWRT_DEBUGFS_READ_FILE_OPS(name,bufsz) global() argument 113 FWRT_DEBUGFS_WRITE_FILE_OPS(name,bufsz) global() argument 116 FWRT_DEBUGFS_READ_WRITE_FILE_OPS(name,bufsz) global() argument 119 FWRT_DEBUGFS_ADD_FILE_ALIAS(alias,name,parent,mode) global() argument 123 FWRT_DEBUGFS_ADD_FILE(name,parent,mode) global() argument [all...] |
/freebsd/contrib/wpa/src/common/ |
H A D | hw_features_common.c | 19 struct hostapd_channel_data * hw_get_channel_chan(struct hostapd_hw_modes *mode, in hw_get_channel_chan() 44 hw_mode_get_channel(struct hostapd_hw_modes *mode, int freq, int *chan) in hw_mode_get_channel() 63 hw_get_channel_freq(enum hostapd_hw_mode mode, int freq, int *chan, in hw_get_channel_freq() 90 int hw_get_freq(struct hostapd_hw_modes *mode, int chan) in hw_get_freq() 100 int hw_get_chan(enum hostapd_hw_mode mode, int freq, in hw_get_chan() 111 int allowed_ht40_channel_pair(enum hostapd_hw_mode mode, in allowed_ht40_channel_pair() 299 int check_40mhz_2g4(struct hostapd_hw_modes *mode, in check_40mhz_2g4() 454 enum hostapd_hw_mode mode, in hostapd_set_freq_params() 830 const char *name) in _ieee80211ac_cap_check() 851 const char *name) in ieee80211ac_cap_check_max()
|
/freebsd/sys/dev/drm2/ |
H A D | drm_dp_iic_helper.c | 33 iic_dp_aux_transaction(device_t idev, int mode, uint8_t write_byte, in iic_dp_aux_transaction() 59 int mode, ret; in iic_dp_aux_address() local 81 int mode; in iic_dp_aux_stop() local 219 iic_dp_aux_add_bus(device_t dev, const char *name, in iic_dp_aux_add_bus() 220 int (*ch)(device_t idev, int mode, uint8_t write_byte, uint8_t *read_byte), in iic_dp_aux_add_bus()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/ |
H A D | largest_file.c | 67 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main() local 137 usage(char *name) in usage()
|
/freebsd/sys/kern/ |
H A D | tty_tty.c | 51 cttyopen(struct cdev *dev, int flag, int mode, struct thread *td) in cttyopen() 58 ctty_clone(void *arg, struct ucred *cred, char *name, int namelen, in ctty_clone()
|