/kernel/linux/linux-6.6/fs/ |
H A D | file_table.c | 47 /* Container for backing file with optional real path */ 50 struct path real_path; 58 struct path *backing_file_real_path(struct file *f) in backing_file_real_path() 284 * @path: the (dentry, vfsmount) pair for the new file 288 static struct file *alloc_file(const struct path *path, int flags, in alloc_file() argument 297 file->f_path = *path; in alloc_file() 298 file->f_inode = path->dentry->d_inode; in alloc_file() 299 file->f_mapping = path->dentry->d_inode->i_mapping; in alloc_file() 314 i_readcount_inc(path in alloc_file() 326 struct path path; alloc_file_pseudo() local [all...] |
H A D | utimes.c | 20 int vfs_utimes(const struct path *path, struct timespec64 *times) in vfs_utimes() argument 24 struct inode *inode = path->dentry->d_inode; in vfs_utimes() 36 error = mnt_want_write(path->mnt); in vfs_utimes() 66 error = notify_change(mnt_idmap(path->mnt), path->dentry, &newattrs, in vfs_utimes() 75 mnt_drop_write(path->mnt); in vfs_utimes() 83 struct path path; in do_utimes_path() local 95 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes_path() [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | link.c | 207 const unsigned char *path) in check_mf_symlink() 225 cifs_sb, path, buf, &bytes_read); in check_mf_symlink() 263 struct cifs_sb_info *cifs_sb, const unsigned char *path, in cifs_query_mf_symlink() 280 .path = path, in cifs_query_mf_symlink() 308 struct cifs_sb_info *cifs_sb, const unsigned char *path, in cifs_create_mf_symlink() 323 .path = path, in cifs_create_mf_symlink() 348 struct cifs_sb_info *cifs_sb, const unsigned char *path, in smb3_query_mf_symlink() 363 .path in smb3_query_mf_symlink() 205 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, struct cifs_fattr *fattr, const unsigned char *path) check_mf_symlink() argument 262 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const unsigned char *path, char *pbuf, unsigned int *pbytes_read) cifs_query_mf_symlink() argument 307 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const unsigned char *path, char *pbuf, unsigned int *pbytes_written) cifs_create_mf_symlink() argument 347 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const unsigned char *path, char *pbuf, unsigned int *pbytes_read) smb3_query_mf_symlink() argument 410 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const unsigned char *path, char *pbuf, unsigned int *pbytes_written) smb3_create_mf_symlink() argument [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-ps-historical-service-time.c | 10 * num_paths. If a path is stale and unused, we will send a single 11 * request to probe in case the path has improved. This situation 12 * generally arises if the path is so much worse than others that it 14 * multipath device is unused. If a path is stale and in use, limit the 15 * number of requests it can receive with the assumption that the path 25 #include "dm-path-selector.h" 56 struct dm_path *path; member 188 * be considered different. That is, a path is in hst_create() 190 * is the path with higher service time. A threshold in hst_create() 237 static int hst_status(struct path_selector *ps, struct dm_path *path, in hst_status() argument 267 hst_add_path(struct path_selector *ps, struct dm_path *path, int argc, char **argv, char **error) hst_add_path() argument 319 hst_fail_path(struct path_selector *ps, struct dm_path *path) hst_fail_path() argument 331 hst_reinstate_path(struct path_selector *ps, struct dm_path *path) hst_reinstate_path() argument 461 hst_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) hst_start_io() argument 492 hst_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes, u64 start_time) hst_end_io() argument [all...] |
H A D | dm-ps-io-affinity.c | 7 #include "dm-path-selector.h" 15 struct dm_path *path; member 43 static int ioa_add_path(struct path_selector *ps, struct dm_path *path, in ioa_add_path() argument 58 *error = "io-affinity ps: Error allocating path context"; in ioa_add_path() 62 pi->path = path; in ioa_add_path() 63 path->pscontext = pi; in ioa_add_path() 153 static int ioa_status(struct path_selector *ps, struct dm_path *path, in ioa_status() argument 160 if (!path) { in ioa_status() 170 pi = path in ioa_status() [all...] |
/kernel/linux/linux-5.10/fs/notify/fanotify/ |
H A D | fanotify.c | 20 static bool fanotify_path_equal(struct path *p1, struct path *p2) in fanotify_path_equal() 240 const struct path *path = fsnotify_data_path(data, data_type); in fanotify_group_event_mask() local 249 /* Do we have path to open a file descriptor? */ in fanotify_group_event_mask() 250 if (!path) in fanotify_group_event_mask() 253 if (!d_is_reg(path->dentry) && !d_can_lookup(path->dentry)) in fanotify_group_event_mask() 433 static struct fanotify_event *fanotify_alloc_path_event(const struct path *path, in fanotify_alloc_path_event() argument 449 fanotify_alloc_perm_event(const struct path *path, gfp_t gfp) fanotify_alloc_perm_event() argument 537 const struct path *path = fsnotify_data_path(data, data_type); fanotify_alloc_event() local [all...] |
H A D | fanotify_user.c | 128 static int create_fd(struct fsnotify_group *group, struct path *path, in create_fd() argument 142 new_file = dentry_open(path, in create_fd() 328 struct path *path = fanotify_event_path(event); in copy_event_to_user() local 345 if (path && path->mnt && path->dentry) { in copy_event_to_user() 346 fd = create_fd(group, path, &f); in copy_event_to_user() 666 struct path *pat in fanotify_find_path() 665 fanotify_find_path(int dfd, const char __user *filename, struct path *path, unsigned int flags, __u64 mask, unsigned int obj_type) fanotify_find_path() argument 1052 fanotify_test_fid(struct path *path, __kernel_fsid_t *fsid) fanotify_test_fid() argument 1093 fanotify_events_supported(struct path *path, __u64 mask, unsigned int flags) fanotify_events_supported() argument 1134 struct path path; do_fanotify_mark() local [all...] |
/kernel/linux/linux-5.10/fs/ecryptfs/ |
H A D | main.c | 108 struct path *path = ecryptfs_dentry_to_lower_path(dentry); in ecryptfs_init_lower_file() local 111 rc = ecryptfs_privileged_open(lower_file, path->dentry, path->mnt, in ecryptfs_init_lower_file() 116 "rc = [%d]\n", path->dentry, path->mnt, rc); in ecryptfs_init_lower_file() 473 * @dev_name: The path to mount over 485 struct path path; in ecryptfs_mount() local 527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount() [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | stat.c | 56 * @path: file to get attributes from 67 int vfs_getattr_nosec(const struct path *path, struct kstat *stat, in vfs_getattr_nosec() argument 70 struct inode *inode = d_backing_inode(path->dentry); in vfs_getattr_nosec() 95 return inode->i_op->getattr(path, stat, request_mask, in vfs_getattr_nosec() 105 * @path: The file of interest 124 int vfs_getattr(const struct path *path, struct kstat *stat, in vfs_getattr() argument 129 retval = security_inode_getattr(path); in vfs_getattr() 132 return vfs_getattr_nosec(path, sta in vfs_getattr() 177 struct path path; vfs_statx() local 405 struct path path; do_readlinkat() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/ |
H A D | hal_com_phycfg.c | 68 u8 path, base; in phy_StoreTxPowerByRateBase() local 70 for (path = RF_PATH_A; path <= RF_PATH_B; ++path) { in phy_StoreTxPowerByRateBase() 71 base = PHY_GetTxPowerByRate(padapter, path, MGN_11M); in phy_StoreTxPowerByRateBase() 72 phy_SetTxPowerByRateBase(padapter, path, CCK, base); in phy_StoreTxPowerByRateBase() 74 base = PHY_GetTxPowerByRate(padapter, path, MGN_54M); in phy_StoreTxPowerByRateBase() 75 phy_SetTxPowerByRateBase(padapter, path, OFDM, base); in phy_StoreTxPowerByRateBase() 77 base = PHY_GetTxPowerByRate(padapter, path, MGN_MCS7); in phy_StoreTxPowerByRateBase() 78 phy_SetTxPowerByRateBase(padapter, path, HT_MCS0_MCS in phy_StoreTxPowerByRateBase() 378 u8 base = 0, i = 0, value = 0, path = 0; phy_ConvertTxPowerByRateInDbmToRelativeValues() local 613 PHY_SetTxPowerLevelByPath(struct adapter *Adapter, u8 channel, u8 path) PHY_SetTxPowerLevelByPath() argument [all...] |
/kernel/liteos_m/components/fs/fatfs/ |
H A D | fatfs.c | 72 static int FsChangeDrive(const char *path)
in FsChangeDrive() argument 76 UINT16 pathLen = strlen((char const *)path);
in FsChangeDrive() 80 /* make sure the path begin with "/", the path like /xxx/yyy/... */
in FsChangeDrive() 86 retErr = strncpy_s(tmpPath + 1, (FS_DRIVE_NAME_MAX_LEN - 1), (char const *)path, pathLen);
in FsChangeDrive() 371 int FatfsOpen(struct File *file, const char *path, int oflag)
in FatfsOpen() argument 378 if (path == NULL) {
in FatfsOpen() 392 ret = FsChangeDrive(path);
in FatfsOpen() 400 res = f_open(fp, path, fmode);
in FatfsOpen() 530 int FatfsUnlink(struct MountPoint *mp, const char *path)
in FatfsUnlink() argument 562 FatfsStat(struct MountPoint *mp, const char *path, struct stat *buf) FatfsStat() argument 624 FatfsMkdir(struct MountPoint *mp, const char *path) FatfsMkdir() argument 750 FatfsRmdir(struct MountPoint *mp, const char *path) FatfsRmdir() argument 814 FatfsStatfs(const char *path, struct statfs *buf) FatfsStatfs() argument [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | volumes.c | 777 static noinline struct btrfs_device *device_list_add(const char *path, in device_list_add() argument 793 error = lookup_bdev(path, &path_devt); in device_list_add() 795 btrfs_err(NULL, "failed to lookup block device for path %s: %d", in device_list_add() 796 path, error); in device_list_add() 856 path, fs_devices->fsid, current->comm, in device_list_add() 864 disk_super->dev_item.uuid, path); in device_list_add() 883 disk_super->label, devid, found_transid, path, in device_list_add() 888 disk_super->fsid, devid, found_transid, path, in device_list_add() 891 } else if (!device->name || strcmp(device->name->str, path)) { in device_list_add() 897 * from 'path' tha in device_list_add() 1361 btrfs_scan_one_device(const char *path, blk_mode_t flags) btrfs_scan_one_device() argument 1593 struct btrfs_path *path; find_free_dev_extent() local 1736 struct btrfs_path *path; btrfs_free_dev_extent() local 1808 struct btrfs_path *path; find_next_devid() local 1853 struct btrfs_path *path; btrfs_add_dev_item() local 1913 struct path path; update_dev_time() local 1929 struct btrfs_path *path; btrfs_rm_dev_item() local 2361 btrfs_get_dev_args_from_path(struct btrfs_fs_info *fs_info, struct btrfs_dev_lookup_args *args, const char *path) btrfs_get_dev_args_from_path() argument 2542 struct btrfs_path *path; btrfs_finish_sprout() local 2863 struct btrfs_path *path; btrfs_update_device() local 2953 struct btrfs_path *path; btrfs_free_chunk() local 3329 struct btrfs_path *path; btrfs_relocate_sys_chunks() local 3449 struct btrfs_path *path; insert_balance_item() local 3500 struct btrfs_path *path; del_balance_item() local 3868 struct btrfs_path *path = NULL; __btrfs_balance() local 4495 struct btrfs_path *path; btrfs_recover_balance() local 4645 struct btrfs_path *path = NULL; btrfs_uuid_scan_kthread() local 4828 struct btrfs_path *path; btrfs_shrink_device() local 6606 btrfs_alloc_device(struct btrfs_fs_info *fs_info, const u64 *devid, const u8 *uuid, const char *path) btrfs_alloc_device() argument 7233 struct btrfs_path *path; btrfs_read_chunk_tree() local 7405 btrfs_device_init_dev_stats(struct btrfs_device *device, struct btrfs_path *path) btrfs_device_init_dev_stats() argument 7453 struct btrfs_path *path = NULL; btrfs_init_dev_stats() local 7485 struct btrfs_path *path; update_dev_stat_item() local 7841 struct btrfs_path *path; btrfs_verify_dev_extents() local [all...] |
/kernel/linux/linux-6.6/net/iucv/ |
H A D | af_iucv.c | 160 * Always returns true if the socket is not connected (no iucv path for 170 return (atomic_read(&iucv->skbs_in_xmit) < iucv->path->msglim); in iucv_below_msglim() 331 /* Terminate an IUCV path */ 336 struct iucv_path *path = iucv->path; in iucv_sever_path() local 338 if (iucv->path) { in iucv_sever_path() 339 iucv->path = NULL; in iucv_sever_path() 344 pr_iucv->path_sever(path, user_data); in iucv_sever_path() 346 pr_iucv->path_sever(path, NULL); in iucv_sever_path() 347 iucv_path_free(path); in iucv_sever_path() 887 iucv_send_iprm(struct iucv_path *path, struct iucv_message *msg, struct sk_buff *skb) iucv_send_iprm() argument 1141 iucv_process_message(struct sock *sk, struct sk_buff *skb, struct iucv_path *path, struct iucv_message *msg) iucv_process_message() argument 1578 iucv_callback_connreq(struct iucv_path *path, u8 ipvmid[8], u8 ipuser[16]) iucv_callback_connreq() argument 1675 iucv_callback_connack(struct iucv_path *path, u8 ipuser[16]) iucv_callback_connack() argument 1683 iucv_callback_rx(struct iucv_path *path, struct iucv_message *msg) iucv_callback_rx() argument 1727 iucv_callback_txdone(struct iucv_path *path, struct iucv_message *msg) iucv_callback_txdone() argument 1772 iucv_callback_connrej(struct iucv_path *path, u8 ipuser[16]) iucv_callback_connrej() argument 1790 iucv_callback_shutdown(struct iucv_path *path, u8 ipuser[16]) iucv_callback_shutdown() argument [all...] |
/kernel/linux/linux-5.10/net/iucv/ |
H A D | af_iucv.c | 175 * Always returns true if the socket is not connected (no iucv path for 185 return (skb_queue_len(&iucv->send_skb_q) < iucv->path->msglim); in iucv_below_msglim() 355 /* Terminate an IUCV path */ 360 struct iucv_path *path = iucv->path; in iucv_sever_path() local 362 /* Whoever resets the path pointer, must sever and free it. */ in iucv_sever_path() 363 if (xchg(&iucv->path, NULL)) { in iucv_sever_path() 368 pr_iucv->path_sever(path, user_data); in iucv_sever_path() 370 pr_iucv->path_sever(path, NULL); in iucv_sever_path() 371 iucv_path_free(path); in iucv_sever_path() 910 iucv_send_iprm(struct iucv_path *path, struct iucv_message *msg, struct sk_buff *skb) iucv_send_iprm() argument 1159 iucv_process_message(struct sock *sk, struct sk_buff *skb, struct iucv_path *path, struct iucv_message *msg) iucv_process_message() argument 1597 iucv_callback_connreq(struct iucv_path *path, u8 ipvmid[8], u8 ipuser[16]) iucv_callback_connreq() argument 1694 iucv_callback_connack(struct iucv_path *path, u8 ipuser[16]) iucv_callback_connack() argument 1702 iucv_callback_rx(struct iucv_path *path, struct iucv_message *msg) iucv_callback_rx() argument 1746 iucv_callback_txdone(struct iucv_path *path, struct iucv_message *msg) iucv_callback_txdone() argument 1784 iucv_callback_connrej(struct iucv_path *path, u8 ipuser[16]) iucv_callback_connrej() argument 1802 iucv_callback_shutdown(struct iucv_path *path, u8 ipuser[16]) iucv_callback_shutdown() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | sysctl.h | 195 const char *path, struct ctl_table *table); 198 const struct ctl_path *path, struct ctl_table *table); 199 struct ctl_table_header *register_sysctl(const char *path, struct ctl_table *table); 201 struct ctl_table_header *register_sysctl_paths(const struct ctl_path *path, 207 extern void __register_sysctl_init(const char *path, struct ctl_table *table, 209 #define register_sysctl_init(path, table) __register_sysctl_init(path, table, #table) 229 const struct ctl_path *path, struct ctl_table *table) in register_sysctl_paths() 234 static inline struct ctl_table_header *register_sysctl(const char *path, struct ctl_table *table) in register_sysctl() argument 228 register_sysctl_paths( const struct ctl_path *path, struct ctl_table *table) register_sysctl_paths() argument
|
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | mount.c | 40 * tomoyo_check_mount_acl - Check permission for path path path number operation. 69 * @dir: Pointer to "struct path". 79 const struct path *dir, const char *type, in tomoyo_mount_acl() 83 struct path path; in tomoyo_mount_acl() local 136 if (!dev_name || kern_path(dev_name, LOOKUP_FOLLOW, &path)) { in tomoyo_mount_acl() 140 obj.path1 = path; in tomoyo_mount_acl() 141 requested_dev_name = tomoyo_realpath_from_path(&path); in tomoyo_mount_acl() 191 tomoyo_mount_permission(const char *dev_name, const struct path *path, const char *type, unsigned long flags, void *data_page) tomoyo_mount_permission() argument [all...] |
/kernel/linux/linux-5.10/scripts/kconfig/tests/ |
H A D | conftest.py | 18 CONF_PATH = os.path.abspath(os.path.join('scripts', 'kconfig', 'conf')) 36 self._test_dir = os.path.dirname(str(request.fspath)) 62 shutil.copyfile(os.path.join(self._test_dir, dot_config), 63 os.path.join(temp_dir, '.config')) 90 with open(os.path.join(temp_dir, out_file)) as f: 150 defconfig_path = os.path.join(self._test_dir, defconfig) 155 all_config_path = os.path.join(self._test_dir, all_config) 226 with open(os.path.join(self._test_dir, expected)) as f:
|
/kernel/linux/linux-5.10/tools/cgroup/ |
H A D | iocost_coef_gen.py | 59 # determine ('DEVNAME', 'MAJ:MIN') for @path 60 def dir_to_dev(path): 62 devname = subprocess.run(f'findmnt -nvo SOURCE -T{path}', 64 devname = os.path.basename(devname).decode('utf-8').strip() 69 devname = os.path.basename(os.path.dirname(parents[0])) 73 def create_testfile(path, size): 76 if os.path.isfile(path) and os.stat(path) [all...] |
/kernel/linux/linux-5.10/fs/btrfs/tests/ |
H A D | extent-buffer-tests.c | 15 struct btrfs_path *path = NULL; in test_btrfs_split_item() local 44 path = btrfs_alloc_path(); in test_btrfs_split_item() 45 if (!path) { in test_btrfs_split_item() 51 path->nodes[0] = eb = alloc_dummy_extent_buffer(fs_info, nodesize); in test_btrfs_split_item() 57 path->slots[0] = 0; in test_btrfs_split_item() 63 setup_items_for_insert(root, path, &key, &value_len, 1); in test_btrfs_split_item() 75 ret = btrfs_split_item(NULL, root, path, &key, 17); in test_btrfs_split_item() 136 ret = btrfs_split_item(NULL, root, path, &key, 4); in test_btrfs_split_item() 214 btrfs_free_path(path); in test_btrfs_split_item()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | eeprom.c | 151 u8 path, nss, band_idx = phy->mt76->band_idx; in mt7996_eeprom_parse_hw_cap() local 158 path = FIELD_GET(MT_EE_WIFI_CONF2_TX_PATH_BAND1, in mt7996_eeprom_parse_hw_cap() 164 path = FIELD_GET(MT_EE_WIFI_CONF2_TX_PATH_BAND2, in mt7996_eeprom_parse_hw_cap() 170 path = FIELD_GET(MT_EE_WIFI_CONF1_TX_PATH_BAND0, in mt7996_eeprom_parse_hw_cap() 177 if (!path || path > 4) in mt7996_eeprom_parse_hw_cap() 178 path = 4; in mt7996_eeprom_parse_hw_cap() 180 nss = min_t(u8, min_t(u8, 4, nss), path); in mt7996_eeprom_parse_hw_cap() 183 mphy->chainmask = (BIT(path) - 1) << dev->chainshift[band_idx]; in mt7996_eeprom_parse_hw_cap()
|
/kernel/linux/linux-6.6/scripts/kconfig/tests/ |
H A D | conftest.py | 18 CONF_PATH = os.path.abspath(os.path.join('scripts', 'kconfig', 'conf')) 36 self._test_dir = os.path.dirname(str(request.fspath)) 66 shutil.copyfile(os.path.join(self._test_dir, dot_config), 67 os.path.join(temp_dir, '.config')) 94 with open(os.path.join(temp_dir, out_file)) as f: 154 defconfig_path = os.path.join(self._test_dir, defconfig) 159 all_config_path = os.path.join(self._test_dir, all_config) 230 with open(os.path.join(self._test_dir, expected)) as f:
|
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | mount.c | 40 * tomoyo_check_mount_acl - Check permission for path path path number operation. 69 * @dir: Pointer to "struct path". 79 const struct path *dir, const char *type, in tomoyo_mount_acl() 83 struct path path; in tomoyo_mount_acl() local 136 if (!dev_name || kern_path(dev_name, LOOKUP_FOLLOW, &path)) { in tomoyo_mount_acl() 140 obj.path1 = path; in tomoyo_mount_acl() 141 requested_dev_name = tomoyo_realpath_from_path(&path); in tomoyo_mount_acl() 191 tomoyo_mount_permission(const char *dev_name, const struct path *path, const char *type, unsigned long flags, void *data_page) tomoyo_mount_permission() argument [all...] |
/kernel/linux/linux-6.6/tools/cgroup/ |
H A D | iocost_coef_gen.py | 59 # determine ('DEVNAME', 'MAJ:MIN') for @path 60 def dir_to_dev(path): 62 devname = subprocess.run(f'findmnt -nvo SOURCE -T{path}', 64 devname = os.path.basename(devname).decode('utf-8').strip() 69 devname = os.path.basename(os.path.dirname(parents[0])) 73 def create_testfile(path, size): 76 if os.path.isfile(path) and os.stat(path) [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | inode.c | 441 struct path path; in bpf_obj_do_pin() local 445 dentry = user_path_create(path_fd, pathname, &path, 0); in bpf_obj_do_pin() 449 dir = d_inode(path.dentry); in bpf_obj_do_pin() 456 ret = security_path_mknod(&path, dentry, mode, 0); in bpf_obj_do_pin() 474 done_path_create(&path, dentry); in bpf_obj_do_pin() 499 struct path path; in bpf_obj_do_get() local 503 ret = user_path_at(path_fd, pathname, LOOKUP_FOLLOW, &path); in bpf_obj_do_get() 507 inode = d_backing_inode(path in bpf_obj_do_get() 586 struct path path; bpf_prog_get_type_path() local [all...] |
/kernel/linux/linux-6.6/fs/notify/fanotify/ |
H A D | fanotify.c | 21 static bool fanotify_path_equal(const struct path *p1, const struct path *p2) in fanotify_path_equal() 26 static unsigned int fanotify_hash_path(const struct path *path) in fanotify_hash_path() argument 28 return hash_ptr(path->dentry, FANOTIFY_EVENT_HASH_BITS) ^ in fanotify_hash_path() 29 hash_ptr(path->mnt, FANOTIFY_EVENT_HASH_BITS); in fanotify_hash_path() 302 const struct path *path = fsnotify_data_path(data, data_type); in fanotify_group_event_mask() local 312 /* Do we have path to open a file descriptor? */ in fanotify_group_event_mask() 313 if (!path) in fanotify_group_event_mask() 538 fanotify_alloc_path_event(const struct path *path, unsigned int *hash, gfp_t gfp) fanotify_alloc_path_event() argument 556 fanotify_alloc_perm_event(const struct path *path, gfp_t gfp) fanotify_alloc_perm_event() argument 722 const struct path *path = fsnotify_data_path(data, data_type); fanotify_alloc_event() local [all...] |