Home
last modified time | relevance | path

Searched refs:i_mode (Results 1 – 17 of 17) sorted by relevance

/drivers/target/
Dtarget_core_file.c135 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()
Dtarget_core_configfs.c138 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/
Dbinderfs.c257 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/
Dstorage_common.c208 if ((!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode))) { in fsg_lun_open()
Df_fs.c1408 inode->i_mode = perms->mode; in ffs_sb_make_inode()
/drivers/oprofile/
Doprofilefs.c33 inode->i_mode = mode; in oprofilefs_get_inode()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp_cm.c917 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/
Dloop.c657 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/
Dpn544.c340 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/
Ddcn30_dpp.c1124 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()
Ddcn30_mpc.c892 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/
Dibmasmfs.c141 ret->i_mode = mode; in ibmasmfs_make_inode()
/drivers/infiniband/hw/qib/
Dqib_fs.c64 inode->i_mode = mode; in qibfs_mknod()
/drivers/dax/
Dsuper.c547 inode->i_mode = S_IFCHR; in dax_dev_get()
/drivers/usb/gadget/legacy/
Dinode.c1971 inode->i_mode = mode; in gadgetfs_make_inode()
/drivers/block/zram/
Dzram_drv.c491 if (!S_ISBLK(inode->i_mode)) { in backing_dev_store()
/drivers/md/
Dmd.c7123 if (!S_ISREG(inode->i_mode)) { in set_bitmap_file()