Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 25 of 44) sorted by relevance

12

/linux-4.19.296/fs/ntfs/
Drunlist.c219 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_append() argument
228 if ((loc + 1) < dsize) in ntfs_rl_append()
229 right = ntfs_are_rl_mergeable(src + ssize - 1, dst + loc + 1); in ntfs_rl_append()
242 __ntfs_rl_merge(src + ssize - 1, dst + loc + 1); in ntfs_rl_append()
245 marker = loc + ssize + 1; in ntfs_rl_append()
248 ntfs_rl_mm(dst, marker, loc + 1 + right, dsize - (loc + 1 + right)); in ntfs_rl_append()
249 ntfs_rl_mc(dst, loc + 1, src, 0, ssize); in ntfs_rl_append()
252 dst[loc].length = dst[loc + 1].vcn - dst[loc].vcn; in ntfs_rl_append()
286 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_insert() argument
299 if (loc == 0) in ntfs_rl_insert()
[all …]
/linux-4.19.296/fs/ocfs2/
Dxattr.c148 int (*xlo_journal_access)(handle_t *handle, struct ocfs2_xa_loc *loc,
150 void (*xlo_journal_dirty)(handle_t *handle, struct ocfs2_xa_loc *loc);
156 void *(*xlo_offset_pointer)(struct ocfs2_xa_loc *loc, int offset);
159 int (*xlo_can_reuse)(struct ocfs2_xa_loc *loc,
163 int (*xlo_check_space)(struct ocfs2_xa_loc *loc,
170 int (*xlo_get_free_start)(struct ocfs2_xa_loc *loc);
176 void (*xlo_wipe_namevalue)(struct ocfs2_xa_loc *loc);
179 void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash);
182 void (*xlo_add_namevalue)(struct ocfs2_xa_loc *loc, int size);
188 void (*xlo_fill_value_buf)(struct ocfs2_xa_loc *loc,
[all …]
/linux-4.19.296/fs/jfs/
Djfs_types.h113 pxd_t loc; /* 8: address and length in unit of fsblksize */ member
125 #define DXDlength(dxd, len) PXDlength(&(dxd)->loc, len)
126 #define DXDaddress(dxd, addr) PXDaddress(&(dxd)->loc, addr)
127 #define lengthDXD(dxd) lengthPXD(&(dxd)->loc)
128 #define addressDXD(dxd) addressPXD(&(dxd)->loc)
Djfs_xtree.h36 pxd_t loc; /* 8: length and address in unit of fsblksize */ member
50 #define XADaddress(xad, address64) PXDaddress(&(xad)->loc, address64)
51 #define XADlength(xad, length32) PXDlength(&(xad)->loc, length32)
56 #define addressXAD(xad) addressPXD(&(xad)->loc)
57 #define lengthXAD(xad) lengthPXD(&(xad)->loc)
/linux-4.19.296/drivers/rtc/
Drtc-pcf8583.c25 unsigned int loc; member
152 if (mem->loc < 8) in pcf8583_read_mem()
155 addr[0] = mem->loc; in pcf8583_read_mem()
165 if (mem->loc < 8 || mem->nr > 8) in pcf8583_write_mem()
168 buf[0] = mem->loc; in pcf8583_write_mem()
180 .loc = CMOS_YEAR, in pcf8583_rtc_read_time()
230 .loc = CMOS_YEAR, in pcf8583_rtc_set_time()
235 .loc = CMOS_CHECKSUM, in pcf8583_rtc_set_time()
/linux-4.19.296/drivers/char/tpm/
Dtpm_i2c_infineon.c318 static bool check_locality(struct tpm_chip *chip, int loc) in check_locality() argument
323 rc = iic_tpm_read(TPM_ACCESS(loc), &buf, 1); in check_locality()
329 tpm_dev.locality = loc; in check_locality()
337 static void release_locality(struct tpm_chip *chip, int loc, int force) in release_locality() argument
340 if (iic_tpm_read(TPM_ACCESS(loc), &buf, 1) < 0) in release_locality()
346 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); in release_locality()
350 static int request_locality(struct tpm_chip *chip, int loc) in request_locality() argument
355 if (check_locality(chip, loc)) in request_locality()
356 return loc; in request_locality()
358 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); in request_locality()
[all …]
Dtpm_crb.c221 struct crb_priv *priv, int loc) in __crb_request_locality() argument
239 static int crb_request_locality(struct tpm_chip *chip, int loc) in crb_request_locality() argument
243 return __crb_request_locality(&chip->dev, priv, loc); in crb_request_locality()
247 struct crb_priv *priv, int loc) in __crb_relinquish_locality() argument
266 static int crb_relinquish_locality(struct tpm_chip *chip, int loc) in crb_relinquish_locality() argument
270 return __crb_relinquish_locality(&chip->dev, priv, loc); in crb_relinquish_locality()
/linux-4.19.296/fs/nfs/
Dnfs4namespace.c305 int loc, error; in nfs_follow_referral() local
327 for (loc = 0; loc < locations->nlocations; loc++) { in nfs_follow_referral()
328 const struct nfs4_fs_location *location = &locations->locations[loc]; in nfs_follow_referral()
485 int loc, error; in nfs4_replace_transport() local
499 for (loc = 0; loc < locations->nlocations; loc++) { in nfs4_replace_transport()
501 &locations->locations[loc]; in nfs4_replace_transport()
/linux-4.19.296/fs/
Dbinfmt_elf.c710 } *loc; in load_elf_binary() local
714 loc = kmalloc(sizeof(*loc), GFP_KERNEL); in load_elf_binary()
715 if (!loc) { in load_elf_binary()
721 loc->elf_ex = *((struct elfhdr *)bprm->buf); in load_elf_binary()
725 if (memcmp(loc->elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary()
728 if (loc->elf_ex.e_type != ET_EXEC && loc->elf_ex.e_type != ET_DYN) in load_elf_binary()
730 if (!elf_check_arch(&loc->elf_ex)) in load_elf_binary()
732 if (elf_check_fdpic(&loc->elf_ex)) in load_elf_binary()
737 elf_phdata = load_elf_phdrs(&loc->elf_ex, bprm->file); in load_elf_binary()
750 for (i = 0; i < loc->elf_ex.e_phnum; i++) { in load_elf_binary()
[all …]
/linux-4.19.296/fs/udf/
Dmisc.c48 uint32_t type, uint8_t loc) in udf_add_extendedattr() argument
68 if (loc & 0x01 && offset >= size) { in udf_add_extendedattr()
268 struct kernel_lb_addr *loc, in udf_read_ptagged() argument
271 return udf_read_tagged(sb, udf_get_lb_pblock(sb, loc, offset), in udf_read_ptagged()
272 loc->logicalBlockNum + offset, ident); in udf_read_ptagged()
286 uint32_t loc, int length) in udf_new_tag() argument
292 tptr->tagLocation = cpu_to_le32(loc); in udf_new_tag()
Dpartition.c52 uint32_t loc; in udf_get_pblock_virt15() local
68 loc = le32_to_cpu(((__le32 *)(iinfo->i_data + in udf_get_pblock_virt15()
82 loc = udf_block_map(sbi->s_vat_inode, newblock); in udf_get_pblock_virt15()
84 bh = sb_bread(sb, loc); in udf_get_pblock_virt15()
87 sb, block, partition, loc, index); in udf_get_pblock_virt15()
91 loc = le32_to_cpu(((__le32 *)bh->b_data)[index]); in udf_get_pblock_virt15()
101 return udf_get_pblock(sb, loc, in udf_get_pblock_virt15()
Dsuper.c1084 struct kernel_lb_addr loc = { in udf_fill_partdesc_info() local
1091 inode = udf_iget_special(sb, &loc); in udf_fill_partdesc_info()
1116 struct kernel_lb_addr loc = { in udf_fill_partdesc_info() local
1123 inode = udf_iget_special(sb, &loc); in udf_fill_partdesc_info()
1335 uint32_t loc; in udf_load_sparable_map() local
1364 loc = le32_to_cpu(spm->locSparingTable[i]); in udf_load_sparable_map()
1365 bh = udf_read_tagged(sb, loc, loc, &ident); in udf_load_sparable_map()
1529 static void udf_load_logicalvolint(struct super_block *sb, struct kernel_extent_ad loc) in udf_load_logicalvolint() argument
1540 while (loc.extLength > 0 && in udf_load_logicalvolint()
1541 (bh = udf_read_tagged(sb, loc.extLocation, in udf_load_logicalvolint()
[all …]
Dudfdecl.h216 udf_get_lb_pblock(struct super_block *sb, struct kernel_lb_addr *loc, in udf_get_lb_pblock() argument
219 return udf_get_pblock(sb, loc->logicalBlockNum, in udf_get_lb_pblock()
220 loc->partitionReferenceNum, offset); in udf_get_lb_pblock()
/linux-4.19.296/lib/reed_solomon/
Ddecode_rs.c38 uint16_t *loc = rsc->buffers + RS_DECODE_LOC * (nroots + 1); variable
203 loc[count] = k;
256 if (num1 != 0 && loc[j] >= pad) {
268 if (data && (loc[j] < (nn - nroots)))
269 data[loc[j] - pad] ^= cor;
277 eras_pos[i] = loc[i] - pad;
/linux-4.19.296/lib/
Dubsan.c52 struct source_location *loc) in print_source_location() argument
54 pr_err("%s %s:%d:%d\n", prefix, loc->file_name, in print_source_location()
55 loc->line & LINE_MASK, loc->column & COLUMN_MASK); in print_source_location()
58 static bool suppress_report(struct source_location *loc) in suppress_report() argument
60 return current->in_ubsan || was_reported(loc); in suppress_report()
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-dv-timings.c983 unsigned int loc = cec_get_edid_spa_location(edid, size); in v4l2_get_edid_phys_addr() local
986 *offset = loc; in v4l2_get_edid_phys_addr()
987 if (loc == 0) in v4l2_get_edid_phys_addr()
989 return (edid[loc] << 8) | edid[loc + 1]; in v4l2_get_edid_phys_addr()
1007 unsigned int loc = cec_get_edid_spa_location(edid, size); in v4l2_set_edid_phys_addr() local
1011 if (loc == 0) in v4l2_set_edid_phys_addr()
1013 edid[loc] = phys_addr >> 8; in v4l2_set_edid_phys_addr()
1014 edid[loc + 1] = phys_addr & 0xff; in v4l2_set_edid_phys_addr()
1015 loc &= ~0x7f; in v4l2_set_edid_phys_addr()
1018 for (i = loc; i < loc + 127; i++) in v4l2_set_edid_phys_addr()
/linux-4.19.296/include/linux/
Dtpm.h48 int (*request_locality)(struct tpm_chip *chip, int loc);
49 int (*relinquish_locality)(struct tpm_chip *chip, int loc);
Dvbox_utils.h28 struct vmmdev_hgcm_service_location *loc,
/linux-4.19.296/drivers/char/
Dapplicom.c131 static int ac_register_board(unsigned long physloc, void __iomem *loc, in ac_register_board() argument
136 if((readb(loc + CONF_END_TEST) != 0x00) || in ac_register_board()
137 (readb(loc + CONF_END_TEST + 1) != 0x55) || in ac_register_board()
138 (readb(loc + CONF_END_TEST + 2) != 0xAA) || in ac_register_board()
139 (readb(loc + CONF_END_TEST + 3) != 0xFF)) in ac_register_board()
143 boardno = readb(loc + NUMCARD_OWNER_TO_PC); in ac_register_board()
160 apbs[boardno].RamIO = loc; in ac_register_board()
163 byte_reset_it = readb(loc + RAM_IT_TO_PC); in ac_register_board()
/linux-4.19.296/fs/ufs/
Dufs_fs.h255 #define ufs_blkoff(loc) ((loc) & uspi->s_qbmask) argument
256 #define ufs_fragoff(loc) ((loc) & uspi->s_qfmask) argument
258 #define ufs_lblkno(loc) ((loc) >> uspi->s_bshift) argument
259 #define ufs_numfrags(loc) ((loc) >> uspi->s_fshift) argument
Dballoc.c810 unsigned start, length, loc; in ufs_bitmap_search() local
823 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff + start, length, in ufs_bitmap_search()
826 if (loc == 0) { in ufs_bitmap_search()
828 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff, length, in ufs_bitmap_search()
832 if (loc == 0) { in ufs_bitmap_search()
842 result = (start + length - loc) << 3; in ufs_bitmap_search()
/linux-4.19.296/include/linux/iio/common/
Dcros_ec_sensors_core.h71 enum motionsensor_location loc; member
/linux-4.19.296/drivers/cpufreq/
Dpmac64-cpufreq.c503 const char *loc = of_get_property(hwclock, in g5_pm72_cpufreq_init() local
505 if (loc == NULL) in g5_pm72_cpufreq_init()
507 if (strcmp(loc, "CPU CLOCK")) in g5_pm72_cpufreq_init()
/linux-4.19.296/drivers/isdn/hisax/
Dl3_1tr6.c362 pc->para.loc = p[3]; in l3_1tr6_rel()
364 pc->para.loc = 0; in l3_1tr6_rel()
367 pc->para.loc = 0; in l3_1tr6_rel()
428 pc->para.loc = p[3]; in l3_1tr6_disc()
430 pc->para.loc = 0; in l3_1tr6_disc()
433 pc->para.loc = 0; in l3_1tr6_disc()
659 pc->para.loc = 0; in l3_1tr6_dl_release()
/linux-4.19.296/drivers/virt/vboxguest/
Dvboxguest_utils.c123 struct vmmdev_hgcm_service_location *loc, in vbg_hgcm_connect() argument
135 memcpy(&hgcm_connect->loc, loc, sizeof(*loc)); in vbg_hgcm_connect()

12