| /fs/adfs/ |
| A D | dir_fplus.c | 24 if (h->bigdirversion[0] != 0 || h->bigdirversion[1] != 0 || in adfs_fplus_validate_header() 25 h->bigdirversion[2] != 0 || in adfs_fplus_validate_header() 41 len = le32_to_cpu(h->bigdirnamesize); in adfs_fplus_validate_header() 51 len = le32_to_cpu(h->bigdirentries); in adfs_fplus_validate_header() 78 end = adfs_fplus_offset(h, le32_to_cpu(h->bigdirentries)) + in adfs_fplus_checkbyte() 79 le32_to_cpu(h->bigdirnamesize); in adfs_fplus_checkbyte() 106 struct adfs_bigdirheader *h; in adfs_fplus_read() local 117 ret = adfs_fplus_validate_header(h); in adfs_fplus_read() 123 dirsize = le32_to_cpu(h->bigdirsize); in adfs_fplus_read() 196 offset = adfs_fplus_offset(h, le32_to_cpu(h->bigdirentries)); in adfs_fplus_getnext() [all …]
|
| /fs/nls/ |
| A D | nls_euc-jp.c | 19 #define IS_SJIS_JISX0208(h, l) ((((0x81 <= (h)) && ((h) <= 0x9F)) \ argument 20 || ((0xE0 <= (h)) && ((h) <= 0xEA))) \ 23 #define IS_SJIS_UDC_LOW(h, l) (((0xF0 <= (h)) && ((h) <= 0xF4)) \ argument 25 #define IS_SJIS_UDC_HI(h, l) (((0xF5 <= (h)) && ((h) <= 0xF9)) \ argument 27 #define IS_SJIS_IBM(h, l) (((0xFA <= (h)) && ((h) <= 0xFC)) \ argument 29 #define IS_SJIS_NECIBM(h, l) (((0xED <= (h)) && ((h) <= 0xEE)) \ argument 44 #define IS_EUC_JISX0208(h, l) (IS_EUC_BYTE(h) && IS_EUC_BYTE(l)) argument 45 #define IS_EUC_JISX0201KANA(h, l) (((h) == SS2) && (0xA1 <= (l) && (l) <= 0xDF)) argument 46 #define IS_EUC_UDC_LOW(h, l) (((0xF5 <= (h)) && ((h) <= 0xFE)) \ argument 48 #define IS_EUC_UDC_HI(h, l) IS_EUC_UDC_LOW(h, l) /* G3 block */ argument [all …]
|
| /fs/nfs/ |
| A D | dns_resolve.c | 60 struct cache_head h; member 129 return &item->h; in nfs_dns_ent_alloc() 177 struct cache_head *h) in nfs_dns_show() argument 182 if (h == NULL) { in nfs_dns_show() 186 item = container_of(h, struct nfs_dns_ent, h); in nfs_dns_show() 208 &key->h, in nfs_dns_lookup() 222 &new->h, &key->h, in nfs_dns_update() 254 memset(&key.h, 0, sizeof(key.h)); in nfs_dns_parse() 268 set_bit(CACHE_NEGATIVE, &key.h.flags); in nfs_dns_parse() 275 cache_put(&item->h, cd); in nfs_dns_parse() [all …]
|
| /fs/nfsd/ |
| A D | nfs4idmap.c | 64 struct cache_head h; member 102 return &e->h; in ent_alloc() 162 if (h == NULL) { in idtoname_show() 166 ent = container_of(h, struct ent, h); in idtoname_show() 266 cache_put(&res->h, cd); in idtoname_parse() 287 struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h, in idtoname_update() 340 if (h == NULL) { in nametoid_show() 344 ent = container_of(h, struct ent, h); in nametoid_show() 430 cache_put(&res->h, cd); in nametoid_parse() 452 struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h, in nametoid_update() [all …]
|
| A D | export.c | 64 struct svc_expkey *ek = container_of(h, struct svc_expkey, h); in expkey_request() 123 key.h.flags = 0; in expkey_parse() 182 if (h ==NULL) { in expkey_show() 186 ek = container_of(h, struct svc_expkey, h); in expkey_show() 239 return &i->h; in expkey_alloc() 304 ch = sunrpc_cache_update(cd, &new->h, &old->h, hash); in svc_expkey_update() 387 struct svc_export *exp = container_of(h, struct svc_export, h); in svc_export_request() 773 if (h == NULL) { in svc_export_show() 780 exp = container_of(h, struct svc_export, h); in svc_export_show() 888 return &i->h; in svc_export_alloc() [all …]
|
| A D | Makefile | 32 xdrgen: ../../include/linux/sunrpc/xdrgen/nfs4_1.h nfs4xdr_gen.h nfs4xdr_gen.c 34 ../../include/linux/sunrpc/xdrgen/nfs4_1.h: ../../Documentation/sunrpc/xdr/nfs4_1.x 37 nfs4xdr_gen.h: ../../Documentation/sunrpc/xdr/nfs4_1.x
|
| A D | export.h | 64 struct cache_head h; member 88 struct cache_head h; member 124 cache_put(&exp->h, exp->cd); in exp_put() 129 cache_get(&exp->h); in exp_get()
|
| /fs/bcachefs/ |
| A D | ec.c | 1568 s->h = h; in ec_new_stripe_alloc() 1575 h->blocksize, h->disk_label); in ec_new_stripe_alloc() 1595 h->blocksize = pick_blocksize(c, &h->devs); in ec_stripe_head_devs_update() 1607 h->insufficient_devs = h->nr_active_devs < h->redundancy + 2; in ec_stripe_head_devs_update() 1621 h->nr_active_devs, h->redundancy + 2, err); in ec_stripe_head_devs_update() 1640 h = kzalloc(sizeof(*h), GFP_KERNEL); in ec_new_stripe_head_alloc() 1641 if (!h) in ec_new_stripe_head_alloc() 1661 h->s->nr_data) == h->s->nr_data) in bch2_ec_stripe_head_put() 2026 h->s = ec_new_stripe_alloc(c, h); in bch2_ec_stripe_head_get() 2305 h->disk_label, h->algo, h->redundancy, in bch2_new_stripes_to_text() [all …]
|
| A D | subvolume.c | 541 struct btree_trans_commit_hook h; member 548 struct subvolume_unlink_hook *h = container_of(_h, struct subvolume_unlink_hook, h); in bch2_subvolume_wait_for_pagecache_and_delete_hook() local 553 if (!snapshot_list_has_id(&c->snapshots_unlinked, h->subvol)) in bch2_subvolume_wait_for_pagecache_and_delete_hook() 554 ret = snapshot_list_add(c, &c->snapshots_unlinked, h->subvol); in bch2_subvolume_wait_for_pagecache_and_delete_hook() 572 struct subvolume_unlink_hook *h; in bch2_subvolume_unlink() local 575 h = bch2_trans_kmalloc(trans, sizeof(*h)); in bch2_subvolume_unlink() 576 ret = PTR_ERR_OR_ZERO(h); in bch2_subvolume_unlink() 580 h->h.fn = bch2_subvolume_wait_for_pagecache_and_delete_hook; in bch2_subvolume_unlink() 581 h->subvol = subvolid; in bch2_subvolume_unlink() 582 bch2_trans_commit_hook(trans, &h->h); in bch2_subvolume_unlink()
|
| A D | mean_and_variance.h | 127 u64 h = i >> 32, l = i & U32_MAX; in u128_square() local 129 r = u128_shl(u64_to_u128(h*h), 64); in u128_square() 130 r = u128_add(r, u128_shl(u64_to_u128(h*l), 32)); in u128_square() 131 r = u128_add(r, u128_shl(u64_to_u128(l*h), 32)); in u128_square()
|
| /fs/hugetlbfs/ |
| A D | inode.c | 249 nr = huge_page_size(h); in hugetlbfs_read_iter() 662 end = huge_page_size(h); in hugetlbfs_zero_partial_page() 1299 struct hstate *h; in hugetlbfs_parse_param() local 1340 h = size_to_hstate(ps); in hugetlbfs_parse_param() 1341 if (!h) { in hugetlbfs_parse_param() 1345 ctx->hstate = h; in hugetlbfs_parse_param() 1513 if (!h) in get_hstate_idx() 1515 return hstate_index(h); in get_hstate_idx() 1587 ctx->hstate = h; in mount_one_hugetlbfs() 1600 struct hstate *h; in init_hugetlbfs_fs() local [all …]
|
| /fs/smb/server/ |
| A D | smb2misc.c | 265 return le32_to_cpu(h->InputBufferLength) + in smb2_query_info_req_len() 266 le32_to_cpu(h->OutputBufferLength); in smb2_query_info_req_len() 271 return le32_to_cpu(h->BufferLength); in smb2_set_info_req_len() 274 static inline int smb2_read_req_len(struct smb2_read_req *h) in smb2_read_req_len() argument 276 return le32_to_cpu(h->Length); in smb2_read_req_len() 281 return le32_to_cpu(h->Length); in smb2_write_req_len() 286 return le32_to_cpu(h->OutputBufferLength); in smb2_query_dir_req_len() 291 return le32_to_cpu(h->InputCount) + in smb2_ioctl_req_len() 292 le32_to_cpu(h->OutputCount); in smb2_ioctl_req_len() 297 return le32_to_cpu(h->MaxInputResponse) + in smb2_ioctl_resp_len() [all …]
|
| A D | Makefile | 15 $(obj)/asn1.o: $(obj)/ksmbd_spnego_negtokeninit.asn1.h $(obj)/ksmbd_spnego_negtokentarg.asn1.h 17 …egtokeninit.asn1.o: $(obj)/ksmbd_spnego_negtokeninit.asn1.c $(obj)/ksmbd_spnego_negtokeninit.asn1.h 18 …egtokentarg.asn1.o: $(obj)/ksmbd_spnego_negtokentarg.asn1.c $(obj)/ksmbd_spnego_negtokentarg.asn1.h
|
| /fs/btrfs/ |
| A D | props.c | 37 struct hlist_head *h; in find_prop_handlers_by_hash() local 40 if (hlist_empty(h)) in find_prop_handlers_by_hash() 43 return h; in find_prop_handlers_by_hash() 50 struct prop_handler *h; in find_prop_handler() local 60 hlist_for_each_entry(h, handlers, node) in find_prop_handler() 61 if (!strcmp(h->xattr_name, name)) in find_prop_handler() 62 return h; in find_prop_handler() 406 if (!h->inheritable) in btrfs_inode_inherit_props() 409 if (h->ignore(inode)) in btrfs_inode_inherit_props() 412 value = h->extract(parent); in btrfs_inode_inherit_props() [all …]
|
| A D | transaction.c | 616 h = current->journal_info; in start_transaction() 619 h->orig_rsv = h->block_rsv; in start_transaction() 620 h->block_rsv = NULL; in start_transaction() 683 if (!h) { in start_transaction() 720 h->transaction = cur_trans; in start_transaction() 722 h->fs_info = root->fs_info; in start_transaction() 724 h->type = type; in start_transaction() 739 h->block_rsv = trans_rsv; in start_transaction() 744 h->transid, in start_transaction() 786 btrfs_end_transaction(h); in start_transaction() [all …]
|
| /fs/unicode/ |
| A D | utf8-norm.c | 264 unsigned char *h; in utf8hangul() local 273 h = hangul; in utf8hangul() 274 LEAF_GEN(h) = 2; in utf8hangul() 275 LEAF_CCC(h) = DECOMPOSE; in utf8hangul() 276 h += 2; in utf8hangul() 279 h += utf8encode3((char *)h, li + LB); in utf8hangul() 282 h += utf8encode3((char *)h, vi + VB); in utf8hangul() 286 h += utf8encode3((char *)h, ti + TB); in utf8hangul() 289 h[0] = '\0'; in utf8hangul()
|
| /fs/netfs/ |
| A D | fscache_volume.c | 176 struct hlist_bl_head *h; in fscache_hash_volume() local 181 h = &fscache_volume_hash[bucket]; in fscache_hash_volume() 183 hlist_bl_lock(h); in fscache_hash_volume() 197 hlist_bl_unlock(h); in fscache_hash_volume() 205 hlist_bl_unlock(h); in fscache_hash_volume() 354 struct hlist_bl_head *h) in fscache_wake_pending_volume() argument 374 struct hlist_bl_head *h; in fscache_unhash_volume() local 378 h = &fscache_volume_hash[bucket]; in fscache_unhash_volume() 380 hlist_bl_lock(h); in fscache_unhash_volume() 383 fscache_wake_pending_volume(volume, h); in fscache_unhash_volume() [all …]
|
| /fs/fuse/ |
| A D | fuse_trace.h | 94 __entry->unique = req->in.h.unique; 95 __entry->opcode = req->in.h.opcode; 96 __entry->len = req->in.h.len; 118 __entry->unique = req->in.h.unique; 119 __entry->len = req->out.h.len; 120 __entry->error = req->out.h.error;
|
| A D | dev.c | 382 req->out.h.error = -ENOTCONN; in fuse_dev_queue_req() 517 req->out.h.error = -EINTR; in fuse_remove_pending_req() 674 ret = req->out.h.error; in __fuse_simple_request() 774 req->in.h.unique = unique; in fuse_simple_notify_reply() 1452 reqsize = req->in.h.len; in fuse_dev_do_read() 1456 req->out.h.error = -EIO; in fuse_dev_do_read() 1459 req->out.h.error = -E2BIG; in fuse_dev_do_read() 1476 err = fuse_copy_one(cs, &req->in.h, sizeof(req->in.h)); in fuse_dev_do_read() 1488 req->out.h.error = -EIO; in fuse_dev_do_read() 2197 req->out.h = oh; in fuse_dev_do_write() [all …]
|
| /fs/befs/ |
| A D | ChangeLog | 84 Uses the functions from endian.h [WD] 107 dir.c, namei.c befs_fs.h to account for it. [WD] 170 * Fixed a couple of compile warnings due to use of malloc.h, when slab.h 173 * Fixed erronous includes of linux/befs_fs_i.h and linux/befs_fs_sb.h 201 (befs_fs.h) [WD]. 349 (include/linux/befs_fs.h) 351 * Moved type definitions from befs_fs.h to a new file, befs_fs_types.h 352 Because befs_fs_i.h and befs_fs_sb.h were including befs_fs.h for the 356 (include/linux/befs_fs.h) 407 Accommodate changed NLS interface (util.h) [all …]
|
| /fs/afs/ |
| A D | security.c | 126 unsigned long h = permits->nr_permits; in afs_hash_permits() local 130 h += (unsigned long)permits->permits[i].key / sizeof(void *); in afs_hash_permits() 131 h += permits->permits[i].access; in afs_hash_permits() 134 permits->h = h; in afs_hash_permits() 252 hash_for_each_possible(afs_permits_cache, xpermits, hash_node, new->h) { in afs_cache_permit() 253 if (xpermits->h != new->h || in afs_cache_permit() 270 hash_add_rcu(afs_permits_cache, &new->hash_node, new->h); in afs_cache_permit()
|
| /fs/orangefs/ |
| A D | xattr.c | 67 struct hlist_head *h; in find_cached_xattr() local 69 h = &orangefs_inode->xattr_cache[xattr_key(key)]; in find_cached_xattr() 70 if (hlist_empty(h)) in find_cached_xattr() 72 hlist_for_each_entry_safe(cx, tmp, h, node) { in find_cached_xattr() 250 struct hlist_head *h; in orangefs_inode_removexattr() local 294 h = &orangefs_inode->xattr_cache[xattr_key(name)]; in orangefs_inode_removexattr() 295 hlist_for_each_entry_safe(cx, tmp, h, node) { in orangefs_inode_removexattr() 321 struct hlist_head *h; in orangefs_inode_setxattr() local 385 h = &orangefs_inode->xattr_cache[xattr_key(name)]; in orangefs_inode_setxattr() 386 hlist_for_each_entry_safe(cx, tmp, h, node) { in orangefs_inode_setxattr()
|
| /fs/ubifs/ |
| A D | lpt.c | 1458 int err, h, iip, shft; in ubifs_pnode_lookup() local 1469 for (h = 1; h < c->lpt_hght; h++) { in ubifs_pnode_lookup() 1620 for (h = 1; h < c->lpt_hght; h++) { in ubifs_lpt_lookup_dirty() 2114 for (h = 1; h < c->lpt_hght; h++) { in ubifs_lpt_scan_nolock() 2143 for (h = 1; h < c->lpt_hght; h++) { in ubifs_lpt_scan_nolock() 2147 if (path[h].in_tree) in ubifs_lpt_scan_nolock() 2157 path[h].in_tree = 1; in ubifs_lpt_scan_nolock() 2160 if (path[h].in_tree) in ubifs_lpt_scan_nolock() 2212 h -= 1; in ubifs_lpt_scan_nolock() 2222 h += 1; in ubifs_lpt_scan_nolock() [all …]
|
| /fs/erofs/ |
| A D | zmap.c | 631 struct z_erofs_map_header *h; in z_erofs_fill_inode() local 651 if (IS_ERR(h)) { in z_erofs_fill_inode() 652 err = PTR_ERR(h); in z_erofs_fill_inode() 660 if (h->h_clusterbits >> Z_EROFS_FRAGMENT_INODE_BIT) { in z_erofs_fill_inode() 666 vi->z_advise = le16_to_cpu(h->h_advise); in z_erofs_fill_inode() 670 vi->z_extents = le32_to_cpu(h->h_extents_lo) | in z_erofs_fill_inode() 671 ((u64)le16_to_cpu(h->h_extents_hi) << 32); in z_erofs_fill_inode() 675 vi->z_algorithmtype[0] = h->h_algorithmtype & 15; in z_erofs_fill_inode() 676 vi->z_algorithmtype[1] = h->h_algorithmtype >> 4; in z_erofs_fill_inode() 678 vi->z_fragmentoff = le32_to_cpu(h->h_fragmentoff); in z_erofs_fill_inode() [all …]
|
| /fs/ceph/ |
| A D | quota.c | 45 struct ceph_mds_quota *h = msg->front.iov_base; in ceph_handle_quota() local 54 if (msg->front.iov_len < sizeof(*h)) { in ceph_handle_quota() 62 vino.ino = le64_to_cpu(h->ino); in ceph_handle_quota() 72 ci->i_rbytes = le64_to_cpu(h->rbytes); in ceph_handle_quota() 73 ci->i_rfiles = le64_to_cpu(h->rfiles); in ceph_handle_quota() 74 ci->i_rsubdirs = le64_to_cpu(h->rsubdirs); in ceph_handle_quota() 75 __ceph_update_quota(ci, le64_to_cpu(h->max_bytes), in ceph_handle_quota() 76 le64_to_cpu(h->max_files)); in ceph_handle_quota()
|