Searched refs:i_mode (Results 1 – 17 of 17) sorted by relevance
/drivers/target/ |
D | target_core_file.c | 135 if (S_ISBLK(inode->i_mode)) { in fd_configure_device() 361 if (S_ISBLK(file_inode(fd)->i_mode)) { in fd_do_rw() 560 if (S_ISBLK(inode->i_mode)) { in fd_execute_unmap() 826 if (S_ISBLK(i->i_mode)) in fd_get_blocks() 849 if (S_ISBLK(inode->i_mode)) { in fd_init_prot()
|
D | target_core_configfs.c | 138 if (!S_ISDIR(file_inode(fp)->i_mode)) { in target_core_item_dbroot_store() 3520 if (!S_ISDIR(file_inode(fp)->i_mode)) { in target_init_dbroot()
|
/drivers/android/ |
D | binderfs.c | 257 if (!S_ISCHR(inode->i_mode) || !device) in binderfs_evict_inode() 477 ret->i_mode = mode; in binderfs_make_inode() 673 inode->i_mode = S_IFDIR | 0755; in binderfs_fill_super()
|
/drivers/usb/gadget/function/ |
D | storage_common.c | 208 if ((!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode))) { in fsg_lun_open()
|
D | f_fs.c | 1408 inode->i_mode = perms->mode; in ffs_sb_make_inode()
|
/drivers/oprofile/ |
D | oprofilefs.c | 33 inode->i_mode = mode; in oprofilefs_get_inode()
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dpp_cm.c | 917 uint32_t i_mode, i_enable_10bits, lut_size; in get3dlut_config() local 922 CM_3DLUT_CONFIG_STATUS, &i_mode, in get3dlut_config() 925 switch (i_mode) { in get3dlut_config()
|
/drivers/block/ |
D | loop.c | 657 return i && S_ISBLK(i->i_mode) && MAJOR(i->i_rdev) == LOOP_MAJOR; in is_loop_device() 678 if (!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode)) in loop_validate_file() 878 if (S_ISBLK(inode->i_mode) && !lo->lo_encrypt_key_size) { in loop_config_discard() 1164 set_blocksize(bdev, S_ISBLK(inode->i_mode) ? in loop_configure()
|
/drivers/nfc/pn544/ |
D | pn544.c | 340 u8 i_mode = 0x3f; /* Enable all supported modes */ in pn544_hci_start_poll() local 399 PN544_DEP_MODE, &i_mode, 1); in pn544_hci_start_poll()
|
/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dpp.c | 1124 uint32_t i_mode, i_enable_10bits, lut_size; in get3dlut_config() local 1131 CM_3DLUT_MODE_CURRENT, &i_mode); in get3dlut_config() 1133 switch (i_mode) { in get3dlut_config()
|
D | dcn30_mpc.c | 892 uint32_t i_mode, i_enable_10bits, lut_size; in get3dlut_config() local 897 MPC_RMU_3DLUT_MODE_CURRENT, &i_mode); in get3dlut_config() 902 switch (i_mode) { in get3dlut_config()
|
/drivers/misc/ibmasm/ |
D | ibmasmfs.c | 141 ret->i_mode = mode; in ibmasmfs_make_inode()
|
/drivers/infiniband/hw/qib/ |
D | qib_fs.c | 64 inode->i_mode = mode; in qibfs_mknod()
|
/drivers/dax/ |
D | super.c | 547 inode->i_mode = S_IFCHR; in dax_dev_get()
|
/drivers/usb/gadget/legacy/ |
D | inode.c | 1971 inode->i_mode = mode; in gadgetfs_make_inode()
|
/drivers/block/zram/ |
D | zram_drv.c | 491 if (!S_ISBLK(inode->i_mode)) { in backing_dev_store()
|
/drivers/md/ |
D | md.c | 7123 if (!S_ISREG(inode->i_mode)) { in set_bitmap_file()
|